1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-18 02:36:17 +02:00
Commit Graph

794 Commits

Author SHA1 Message Date
Werner Almesberger
d63d183198 sch2fig/: support hierarchical labels (with new geometry approach) 2016-07-29 19:30:32 -03:00
Werner Almesberger
ab59b4f952 sch2fig/fig.c: more high-level drawing (labels, etc.) functions to dwg.c 2016-07-28 23:09:38 -03:00
Werner Almesberger
8830b9a223 sch2fig/lib.c (draw_text): also support mirroring
test.sch now renders correctly.
2016-07-28 15:49:14 -03:00
Werner Almesberger
7efb3e7e7e sch2fig/lib.c (draw_text): flipping affects both alignments 2016-07-28 15:42:03 -03:00
Werner Almesberger
538f362b0a sch2fig/lib.c (draw_arc): handle mirroring 2016-07-28 15:25:00 -03:00
Werner Almesberger
ff12e388e2 sch2fig/lib.c (draw_pin_num): correct pin number flipping 2016-07-26 20:56:43 -03:00
Werner Almesberger
e5ba111258 sch2fig/Makefile (test): one negation too many 2016-07-26 20:40:39 -03:00
Werner Almesberger
58cd498ded sch2fig/lib.c (draw_text): support horizontal and vertical alignment 2016-07-26 20:39:08 -03:00
Werner Almesberger
76013a5b04 sch2fig/sch.c, sch.h (decode_alignment): prepare for future sharing with lib.c 2016-07-26 20:34:54 -03:00
Werner Almesberger
fb19aeae0a sch2fig/Makefile: add regression testing based on test.fig 2016-07-26 20:27:12 -03:00
Werner Almesberger
3c73ad6521 sch2fig/test.sch: s/Text, Left, Normal, 100 mil/Text, Left, Bold, 100 mil/ 2016-07-26 18:37:35 -03:00
Werner Almesberger
8db4055882 sch2fig/sch.c (draw_text, sch_parse): support text left, down; ignore busses 2016-07-26 18:36:46 -03:00
Werner Almesberger
f9140bc53f sch2fig/misc.c (matrix_to_angle, matrix_is_mirrored): 1 0 0 1 and 0 1 -1 0
Tentative support. Untested.
2016-07-26 18:35:51 -03:00
Werner Almesberger
47707d700c sch2fig/lib.c (lib_parse): zero2 seems to be text style, ignore 2016-07-26 18:35:14 -03:00
Werner Almesberger
4d75a7f00e sch2fig/Makefile (neo900.pdf): first sheet is #2 2016-07-26 18:10:43 -03:00
Werner Almesberger
e4f3d4944f sch2fig/neo900-template.fig: show BIG sheet number 2016-07-26 18:10:18 -03:00
Werner Almesberger
22bdd42188 sch2fig/sch2pdf: pass sheet number in <NUMBER>; option -n num to set start 2016-07-26 18:09:28 -03:00
Werner Almesberger
8903dd8db7 sch2fig/lib.c (draw_text): support component text orientation other than 0 deg
This is for plain text. Pins and fields already supported rotation before.
2016-07-26 17:48:09 -03:00
Werner Almesberger
0ddd4dbbb3 sch2fig/lib.c (lib_parse): replace all ~ in unquoted strings with spaces 2016-07-26 17:38:12 -03:00
Werner Almesberger
252e92fe64 sch2fig/fig.c (fig_label): offset was reversed for "up" 2016-07-26 14:05:25 -03:00
Werner Almesberger
629412e25c sch2fig/Makefile (diff): ensure that we build sch2fig 2016-07-26 13:59:14 -03:00
Werner Almesberger
c3f73d8335 sch2fig/lib.c (draw_pin_name): flip pin names rotated by 270 degrees 2016-07-26 13:58:33 -03:00
Werner Almesberger
a36ec41dc6 sch2fig/lib.c (draw_pin_name, draw_pin_num), TODO: support "outside" pin names
There's still a rotation bug affecting this, but this existed before.
2016-07-26 13:45:19 -03:00
Werner Almesberger
4c3a3a1f84 sch2fig/Makefile (diff, view, newref): add regression test operations 2016-07-26 13:13:29 -03:00
Werner Almesberger
2cea73d040 sch2fig/test/comp: add optional directory argument 2016-07-26 13:13:29 -03:00
Werner Almesberger
93ba849a19 sch2fig/lib.c (draw_pin): split off pin name and number output
Function got a bit "heavy" ...
2016-07-26 13:13:29 -03:00
Werner Almesberger
f9c32d4e1e sch2fig/lib.c (lib_exec): component can have unit number 0, which means 1
This happened with XTAL-4-3225 in neo900.lib as the result of merging
multiple units into one component.
2016-07-26 08:42:38 -03:00
Werner Almesberger
ab612b4eb2 sch2fig/test/: tools for comparison with reference results 2016-07-26 08:28:39 -03:00
Werner Almesberger
c2e1d60e2e sch2fig/: add unit letter(s) to component reference of multi-unit components 2016-07-26 08:24:36 -03:00
Werner Almesberger
f3abf8f622 sch2fig/TODO: remove solved issues 2016-07-26 03:22:41 -03:00
Werner Almesberger
279c1ddff3 sch2fig/sch2pdf: add copyright header, known bugs 2016-07-26 03:21:29 -03:00
Werner Almesberger
6767c878b6 sch2fig/lib.c (draw_pin): remove unused "vert" 2016-07-26 03:17:58 -03:00
Werner Almesberger
67e9de8683 sch2fig/neo900-template.fig: add <TITLE> 2016-07-26 03:16:43 -03:00
Werner Almesberger
466e3ae726 sch2fig/sch2pdf: extract sheet title and pass in variable TITLE 2016-07-26 03:16:09 -03:00
Werner Almesberger
2c9c526255 sch2fig/: new option -Dvar=value to set <var> in template 2016-07-26 03:15:13 -03:00
Werner Almesberger
1d059abcb4 sch2fig/Makefile, neo900-template.fig: use template for constant frame size 2016-07-26 02:34:56 -03:00
Werner Almesberger
83be43d222 sch2fig/sch2pdf: use correct output file name; pass on -t template.fig 2016-07-26 02:32:53 -03:00
Werner Almesberger
09d436175a sch2fig/: new option -t template.fig to merge template file 2016-07-26 02:30:58 -03:00
Werner Almesberger
427e4d7d09 sch2fig/sch2pdf, Makefile (neo900.pdf): generate PDF for Neo900 2016-07-25 17:42:50 -03:00
Werner Almesberger
d031e59811 sch2fig/sch.c (draw_text): convert to use text_*; support direction 1 (up) 2016-07-25 15:20:26 -03:00
Werner Almesberger
3433068d71 sch2fig/sch.c (sch_parse): ignore AR element (what is this ?) 2016-07-25 15:04:39 -03:00
Werner Almesberger
3588992947 sch2fig/: support mirrored symbols (matrix -1 0 0 -1) 2016-07-25 14:59:27 -03:00
Werner Almesberger
ed02cafaf5 sch2fig/sch.c (dump_fields): break into two functions; make more "const"
"const" may come in handy at a later stage, when we want to keep things
around for a bit longer.
2016-07-25 14:43:59 -03:00
Werner Almesberger
1e36f32c0f sch2fig/fig.c (fig_glabel): support direction 3 (down) 2016-07-25 14:09:58 -03:00
Werner Almesberger
09bd2ca38d sch2fig/fig.c (fig_label): initialize dx, dy 2016-07-25 14:06:48 -03:00
Werner Almesberger
dd5f9d2128 sch2fig/: properly interpret KiCad arcs
They can be clockwise or counter-clockwise, but are always < 180 degrees.
2016-07-25 13:38:58 -03:00
Werner Almesberger
b44293c4d6 sch2fig/TODO: add some more items 2016-07-25 13:38:41 -03:00
Werner Almesberger
340973acff sch2fig/TODO: to do list 2016-07-25 12:04:25 -03:00
Werner Almesberger
a28c5ebdc2 sch2fig/Makefile (test, neo900): use test.sch; separate target for Neo900 2016-07-25 11:34:58 -03:00
Werner Almesberger
7a0adf8520 sch2fig/style.h: make fields and pin names darker (Cyan3 -> Cyan4) 2016-07-25 11:33:06 -03:00