Werner Almesberger
340fb2cf8b
cameo: consider inside/outside also when checking corner points
2012-03-20 23:05:42 -03:00
Werner Almesberger
7a61482a04
cameo/area.c: move handling of left/right from hit_path to hit_segment
...
For future extensions.
2012-03-20 19:30:03 -03:00
Werner Almesberger
ebcdfd52ca
cameo/area.c (hit_segment): clean up entry/exit handling
2012-03-20 19:18:08 -03:00
Werner Almesberger
d79424d9ae
cameo/area.c: move equation solving from "intersect", for future sharing
2012-03-20 19:02:50 -03:00
Werner Almesberger
19bc92aa79
cameo/area.c (do_line): shorten segments to avoid duplicating outline cuts
...
We considered the outlines for dropping entire segments but not for
calculating their start and end points.
2012-03-19 19:46:40 -03:00
Werner Almesberger
fb117b20e5
cameo/area.c (subordinates): fix trimming of list of subordinates
2012-03-19 01:02:19 -03:00
Werner Almesberger
18c9477137
cameo: "area" now works on Z layers individually (untested)
2012-03-19 00:26:41 -03:00
Werner Almesberger
489ca9c24d
cameo: documented "area"; miscellaneous cleanup
...
Also removed the tool diameter argument. We use the diameter from the
path, like "offset" does. In the long run, this convention probably
doesn't make sense, though.
2012-03-18 21:00:08 -03:00
Werner Almesberger
6811df57b6
cameo/area.c: removed debugging and obsolete code
2012-03-18 20:25:16 -03:00
Werner Almesberger
6fbdfd7120
cameo/area.c (touch): also consider whether we're looking for entry/exit
2012-03-18 20:15:50 -03:00
Werner Almesberger
b607816f95
cameo/area (hit_segment): only consider vectors pointing in the right direction
...
This way we avoid false positives, such as exit points while looking
for an entry.
2012-03-18 19:47:02 -03:00
Werner Almesberger
5a599e14f6
cameo: don't duplicate paths already cleared by the outline
...
Also pass information on whether we're about to enter or leave a
polygon.
2012-03-18 17:57:04 -03:00
Werner Almesberger
35c0624dc5
cameo: "area" now also adds the outline cuts
...
"offset" wasn't suitable for alternating inside and outside anyway.
2012-03-18 17:02:43 -03:00
Werner Almesberger
2530a11c80
cameo: an attempt at area fill (WIP)
2012-03-18 13:16:26 -03:00