A plugin for Sprint-Layout, Import footprint from Kicad/EasyEDA

cdhigh
Beiträge: 11
Registriert: Samstag 28. Mai 2022, 13:57

A plugin for Sprint-Layout, Import footprint from Kicad/EasyEDA

Beitrag von cdhigh » Montag 30. Mai 2022, 13:01

As Sprint-Layout v6.0 2022 version have already supported plugin interface, I developed a plugin named sprintFont which features includes:
1. Import footprint from Kicad/EasyEDA
2. Insert text of other fonts (any chars in ttf/otf font files)
3. Insert simple svg image
4. Inser Qrcode
5. Auto-routing (added in v1.3)

1. Install plugin
1.1 Just decompress sprintFont to a directory
1.2 open Sprint-Layout v6.0 2022 version, click menu "Extras" | "Define Plugin" , locate the sprintFont.exe
1.3 by clicking menu "Extras"|"Run Plugin" to execute the plugin.



Screenshots of plugin:
font_main.png
font_main.png (38.92 KiB) 7035 mal betrachtet
footprint_main.png
footprint_main.png (37.38 KiB) 7035 mal betrachtet
svg_main.png
svg_main.png (38.09 KiB) 7035 mal betrachtet

Download link:
https://github.com/cdhigh/sprintFontRel ... t_v1.2.rar
Zuletzt geändert von cdhigh am Sonntag 12. Juni 2022, 14:29, insgesamt 1-mal geändert.

cdhigh
Beiträge: 11
Registriert: Samstag 28. Mai 2022, 13:57

Re: A plugin for Sprint-Layout, Import footprint from Kicad/EasyEDA

Beitrag von cdhigh » Montag 30. Mai 2022, 13:04

define_plugin.png
define_plugin.png (70.68 KiB) 7034 mal betrachtet
locate_plugin.png
locate_plugin.png (22.89 KiB) 7034 mal betrachtet
svg_main.png
svg_main.png (42.2 KiB) 7034 mal betrachtet

abacom
Site Admin
Beiträge: 3917
Registriert: Dienstag 23. September 2008, 10:54
Kontaktdaten:

Re: A plugin for Sprint-Layout, Import footprint from Kicad/EasyEDA

Beitrag von abacom » Dienstag 31. Mai 2022, 12:32

The FONT section works great.
Very impressive!
ABACOM support

burhan
Beiträge: 24
Registriert: Freitag 1. Februar 2019, 19:20

Re: A plugin for Sprint-Layout, Import footprint from Kicad/EasyEDA

Beitrag von burhan » Samstag 4. Juni 2022, 22:23

Thanks @cdhigh

effective development for plugin system

Best regards

burhan
Beiträge: 24
Registriert: Freitag 1. Februar 2019, 19:20

Re: A plugin for Sprint-Layout, Import footprint from Kicad/EasyEDA

Beitrag von burhan » Sonntag 5. Juni 2022, 11:36

@cdhigh

Is it possible to develop for Turkish characters?



Setting SVG size larger would be nice Height (mm) 1.0.......50.0 between

Tkans
Dateianhänge
Untitled 1.png
Untitled 1.png (32.66 KiB) 6957 mal betrachtet

cdhigh
Beiträge: 11
Registriert: Samstag 28. Mai 2022, 13:57

Re: A plugin for Sprint-Layout, Import footprint from Kicad/EasyEDA

Beitrag von cdhigh » Sonntag 5. Juni 2022, 18:09

If you encounter problems, you can submit it on github (https://github.com/cdhigh/sprintFontRelease).
I can't read German and rarely come here.

first of all.
Would answer the issue about the height of SVG image, you can digit any size you want in combox, sprintFont will save the value you digited to config file.
In the next release, I can add more preset values for it, that is fine.

second.
About characters,

I exported the content of font "Agency FB" to human-readable xml format (refers to attachment),
the xml file show that the font contains two cmap tables (character map)

line 1583: cmap_format_0 platformID="1" platEncID="0" language="0"
line 1813: cmap_format_4 platformID="3" platEncID="1" language="0"

In these two cmap tables, I cannot found these chars (by char code), for this reason, sprintFont cannot draw them too. (A clever woman cannot cook without rice).
0x11E Ğ Uppercase "G" with breve accent gh1
0x130 İ Uppercase dotted "I"² i (as in "tree")
0x15E Ş Uppercase "S" with cedilla sh
0x11F ğ Lowercase "g" with breve accent gh1
0x131 ı Lowercase dotless "i"³ ou (as in "in")
0x15F ş Lowercase "s" with cedilla sh

You have to change to a font that contains these characters, for example Calibri or Consolas or others.
Turkish.png
Turkish.png (20.97 KiB) 6950 mal betrachtet

PS: you cannot use "microsoft word" to verify if a font contains a character or not, "microsoft word" would fallback to other fonts if a special code is missing in font file you selected.
agency-fb.xml.rar
(61.54 KiB) 97-mal heruntergeladen

burhan
Beiträge: 24
Registriert: Freitag 1. Februar 2019, 19:20

Re: A plugin for Sprint-Layout, Import footprint from Kicad/EasyEDA

Beitrag von burhan » Sonntag 5. Juni 2022, 20:56

Thank you so much @cdhigh

Best regards.

cdhigh
Beiträge: 11
Registriert: Samstag 28. Mai 2022, 13:57

Re: A plugin for Sprint-Layout, Import footprint from Kicad/EasyEDA

Beitrag von cdhigh » Sonntag 12. Juni 2022, 14:22

Release v1.3, successfully added auto-routing functionality to Sprint-Layout.
autorouter_main.png
autorouter_main.png (40.04 KiB) 6842 mal betrachtet
Download link:
https://github.com/cdhigh/sprintFontRel ... t_v1.3.rar

jotha
Beiträge: 2
Registriert: Dienstag 20. August 2019, 00:30

Re: A plugin for Sprint-Layout, Import footprint from Kicad/EasyEDA

Beitrag von jotha » Montag 11. Juli 2022, 19:43

Thank you so much @cdhigh

Very good this plugin, congratulations for the initiative

Best regards.

burhan
Beiträge: 24
Registriert: Freitag 1. Februar 2019, 19:20

Re: A plugin for Sprint-Layout, Import footprint from Kicad/EasyEDA

Beitrag von burhan » Mittwoch 13. Juli 2022, 11:51

cdhigh hat geschrieben:
Sonntag 12. Juni 2022, 14:22
Release v1.3, successfully added auto-routing functionality to Sprint-Layout.

autorouter_main.png

Download link:
https://github.com/cdhigh/sprintFontRel ... t_v1.3.rar
Hello @cdhigh,

Thanks for the update and your efforts.

cdhigh
Beiträge: 11
Registriert: Samstag 28. Mai 2022, 13:57

Re: A plugin for Sprint-Layout, Import footprint from Kicad/EasyEDA

Beitrag von cdhigh » Mittwoch 13. Juli 2022, 18:08

v1.4 released
Add teardrop pads
teardrop_main.png
teardrop_main.png (40.81 KiB) 6550 mal betrachtet
teardrops.png
teardrops.png (14.15 KiB) 6550 mal betrachtet


https://github.com/cdhigh/sprintFontRel ... t_v1.4.zip

burhan
Beiträge: 24
Registriert: Freitag 1. Februar 2019, 19:20

Re: A plugin for Sprint-Layout, Import footprint from Kicad/EasyEDA

Beitrag von burhan » Mittwoch 13. Juli 2022, 19:33

cdhigh hat geschrieben:
Mittwoch 13. Juli 2022, 18:08
v1.4 released
Add teardrop pads

https://github.com/cdhigh/sprintFontRel ... t_v1.4.zip

Great developments are happening. Thanks a lot @cdhigh

Can the "Rounded tracks" feature be added? Or with a different plugin?
Dateianhänge
wXT9F.png
wXT9F.png (22.7 KiB) 6547 mal betrachtet

cdhigh
Beiträge: 11
Registriert: Samstag 28. Mai 2022, 13:57

Re: A plugin for Sprint-Layout, Import footprint from Kicad/EasyEDA

Beitrag von cdhigh » Mittwoch 13. Juli 2022, 20:35


cdhigh
Beiträge: 11
Registriert: Samstag 28. Mai 2022, 13:57

Re: A plugin for Sprint-Layout, Import footprint from Kicad/EasyEDA

Beitrag von cdhigh » Samstag 16. Juli 2022, 18:46

V1.5 released, feature of Rounded-track is added
rounded_track.png
rounded_track.png (15.16 KiB) 6510 mal betrachtet
rounded_track_main.png
rounded_track_main.png (44.69 KiB) 6510 mal betrachtet
https://github.com/cdhigh/sprintFontRel ... t_v1.5.zip

burhan
Beiträge: 24
Registriert: Freitag 1. Februar 2019, 19:20

Re: A plugin for Sprint-Layout, Import footprint from Kicad/EasyEDA

Beitrag von burhan » Samstag 16. Juli 2022, 21:42

This was great thank you so much @cdhigh

Many features with one plugin 👍👍👍

cdhigh
Beiträge: 11
Registriert: Samstag 28. Mai 2022, 13:57

Re: A plugin for Sprint-Layout, Import footprint from Kicad/EasyEDA

Beitrag von cdhigh » Dienstag 26. Juli 2022, 15:33

I released the source code of SprintFont.

https://github.com/cdhigh/sprintFont

Don't complain, the comments are all in Chinese! :o

burhan
Beiträge: 24
Registriert: Freitag 1. Februar 2019, 19:20

Re: A plugin for Sprint-Layout, Import footprint from Kicad/EasyEDA

Beitrag von burhan » Freitag 29. Juli 2022, 21:41

cdhigh hat geschrieben:
Dienstag 26. Juli 2022, 15:33
I released the source code of SprintFont.

https://github.com/cdhigh/sprintFont

Don't complain, the comments are all in Chinese! :o
Hello,

a great contribution thank you @cdhigh

will inspire developers.

plugin support was great thank you @abacom

K-B-L
Beiträge: 42
Registriert: Freitag 20. August 2021, 08:37

Re: A plugin for Sprint-Layout, Import footprint from Kicad/EasyEDA

Beitrag von K-B-L » Freitag 19. August 2022, 10:12

Hey,
it looks very well.

but I can not test. I can not find the exe file at https://github.com/cdhigh/sprintFontRelease

thx
k-b-l


K-B-L
Beiträge: 42
Registriert: Freitag 20. August 2021, 08:37

Re: A plugin for Sprint-Layout, Import footprint from Kicad/EasyEDA

Beitrag von K-B-L » Freitag 19. August 2022, 14:11

Thank you.

It work but something with QR-Code ist not working (he make other code like the SVG)

But very good job ! NICE :mrgreen:


I generate a QRCode svg
import this SVG its upper QR in Sprintlayout

the lower I type the URL in your tool but its still other code

maybe I make something wrong?
Dateianhänge
qr.PNG
qr.PNG (54.62 KiB) 6203 mal betrachtet

Antworten

Zurück zu „Thema: Makros und Bauteile“