Seite 1 von 2

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

Verfasst: Montag 30. Mai 2022, 13:01
von cdhigh
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) 48801 mal betrachtet
footprint_main.png
footprint_main.png (37.38 KiB) 48801 mal betrachtet
svg_main.png
svg_main.png (38.09 KiB) 48801 mal betrachtet

Download link:
https://github.com/cdhigh/sprintFontRel ... t_v1.2.rar

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

Verfasst: Montag 30. Mai 2022, 13:04
von cdhigh
define_plugin.png
define_plugin.png (70.68 KiB) 48800 mal betrachtet
locate_plugin.png
locate_plugin.png (22.89 KiB) 48800 mal betrachtet
svg_main.png
svg_main.png (42.2 KiB) 48800 mal betrachtet

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

Verfasst: Dienstag 31. Mai 2022, 12:32
von abacom
The FONT section works great.
Very impressive!

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

Verfasst: Samstag 4. Juni 2022, 22:23
von burhan
Thanks @cdhigh

effective development for plugin system

Best regards

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

Verfasst: Sonntag 5. Juni 2022, 11:36
von burhan
@cdhigh

Is it possible to develop for Turkish characters?



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

Tkans

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

Verfasst: Sonntag 5. Juni 2022, 18:09
von cdhigh
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) 48716 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) 3163-mal heruntergeladen

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

Verfasst: Sonntag 5. Juni 2022, 20:56
von burhan
Thank you so much @cdhigh

Best regards.

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

Verfasst: Sonntag 12. Juni 2022, 14:22
von cdhigh
Release v1.3, successfully added auto-routing functionality to Sprint-Layout.
autorouter_main.png
autorouter_main.png (40.04 KiB) 48608 mal betrachtet
Download link:
https://github.com/cdhigh/sprintFontRel ... t_v1.3.rar

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

Verfasst: Montag 11. Juli 2022, 19:43
von jotha
Thank you so much @cdhigh

Very good this plugin, congratulations for the initiative

Best regards.

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

Verfasst: Mittwoch 13. Juli 2022, 11:51
von burhan
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.

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

Verfasst: Mittwoch 13. Juli 2022, 18:08
von cdhigh
v1.4 released
Add teardrop pads
teardrop_main.png
teardrop_main.png (40.81 KiB) 48316 mal betrachtet
teardrops.png
teardrops.png (14.15 KiB) 48316 mal betrachtet


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

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

Verfasst: Mittwoch 13. Juli 2022, 19:33
von burhan
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?

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

Verfasst: Mittwoch 13. Juli 2022, 20:35
von cdhigh

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

Verfasst: Samstag 16. Juli 2022, 18:46
von cdhigh
V1.5 released, feature of Rounded-track is added
rounded_track.png
rounded_track.png (15.16 KiB) 48276 mal betrachtet
rounded_track_main.png
rounded_track_main.png (44.69 KiB) 48276 mal betrachtet
https://github.com/cdhigh/sprintFontRel ... t_v1.5.zip

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

Verfasst: Samstag 16. Juli 2022, 21:42
von burhan
This was great thank you so much @cdhigh

Many features with one plugin 👍👍👍

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

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

https://github.com/cdhigh/sprintFont

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

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

Verfasst: Freitag 29. Juli 2022, 21:41
von burhan
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

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

Verfasst: Freitag 19. August 2022, 10:12
von K-B-L
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

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

Verfasst: Freitag 19. August 2022, 12:15
von cdhigh

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

Verfasst: Freitag 19. August 2022, 14:11
von K-B-L
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?