Hi all, sorry for my bad language… I’m very new to Kicad. I would like to make a bash script that helps me to create dynamically some libraries of connectors. I have made a connector of 2 pins and another one with 3 pins, I have opened the files and I have seen that is simple to continue the series with a script that generates all the files dynamically without the editor. I have only a problem with the “tstamp” value, I don’t know how to generate it.
Example:
2 PIN
(fp_rect (start -1.85 -3.5) (end 5.35 3.5) (layer "F.SilkS") (width 0.12) (fill none) (tstamp 2e5bc288-17c8-49e5-b46b-145030236d60))
(fp_rect (start -1.95 -3.6) (end 5.45 3.6) (layer "F.CrtYd") (width 0.12) (fill none) (tstamp 8b27eec4-0a1c-4bb7-9862-97051ab9ba69))
(fp_rect (start -1.75 -3.4) (end 5.25 3.4) (layer "F.Fab") (width 0.12) (fill none) (tstamp 046db72a-11cf-4a78-a04d-5d7a2f30a1e1))
(pad "1" thru_hole roundrect (at 0 0) (size 1.34 2.68) (drill 1.09) (layers *.Cu *.Mask) (roundrect_rratio 0.45) (tstamp ca018f44-972d-4483-965b-00cc1c25bcd5))
(pad "2" thru_hole roundrect (at 3.5 0) (size 1.34 2.68) (drill 1.09) (layers *.Cu *.Mask) (roundrect_rratio 0.45) (tstamp 35320c85-bd8c-4804-b5a6-e0be56b15352))
3 PIN
(fp_rect (start -1.85 -3.5) (end 8.85 3.5) (layer "F.SilkS") (width 0.12) (fill none) (tstamp 2e5bc288-17c8-49e5-b46b-145030236d60))
(fp_rect (start -1.95 -3.6) (end 8.95 3.6) (layer "F.CrtYd") (width 0.12) (fill none) (tstamp 8b27eec4-0a1c-4bb7-9862-97051ab9ba69))
(fp_rect (start -1.75 -3.4) (end 8.75 3.4) (layer "F.Fab") (width 0.12) (fill none) (tstamp 046db72a-11cf-4a78-a04d-5d7a2f30a1e1))
(pad "1" thru_hole roundrect (at 0 0) (size 1.34 2.68) (drill 1.09) (layers *.Cu *.Mask) (roundrect_rratio 0.45) (tstamp ca018f44-972d-4483-965b-00cc1c25bcd5))
(pad "2" thru_hole roundrect (at 3.5 0) (size 1.34 2.68) (drill 1.09) (layers *.Cu *.Mask) (roundrect_rratio 0.45) (tstamp 35320c85-bd8c-4804-b5a6-e0be56b15352))
(pad "3" thru_hole roundrect (at 7 0) (size 1.34 2.68) (drill 1.09) (layers *.Cu *.Mask) (roundrect_rratio 0.45) (tstamp ??????????????????????))
How I can generate the tstamp value?