Commit Graph

12 Commits

Author SHA1 Message Date
Zheng, Lei
b6c0cf8ce5 Path.Area: minor optimization 2018-11-06 12:02:12 -03:00
wmayer
fde42545ba fix various coverity issues 2017-09-15 11:48:38 +02:00
Zheng, Lei
a2f5850087 libarea: make ChangeStartToNearest path breaking optinoal 2017-01-31 19:08:39 +08:00
Zheng, Lei
be1d0f6151 Path: added Path.fromShapes and Path.sortWires
* Path.fromShapes can now convert any number of shapes to Path with
optimzied travel distances. It internally uses Path.sortWires to
minimize travel distances, and also sort wires by its Z height in case
of sectioned wires.

* The above python function is impelmented in Path::Area class.

* Path::FeatureShape is rewrote to take advantage of these two
functions.

* Add Path::FeatureAreaView to partially display a Path::FeatureArea's
sections.
2017-01-27 17:13:16 +08:00
Zheng, Lei
c8835d3c75 libarea: added CArea::Clip to handle open wires
CArea::Clip enables ClipperLib open wire boolean operation as well as
other settings (PolyFillType) for closed wires.
2017-01-19 19:03:59 +08:00
Zheng, Lei
9ec1b353ae libarea: split into area-native and area python 2017-01-19 19:01:48 +08:00
Zheng, Lei
e4aaf2adc1 libarea: added OffsetWithClipper function
Also added a few extra setting variables.

OffsetWithClipper perform offset operation using
ClipperLib::ClipperOffset.
2017-01-19 18:58:09 +08:00
wmayer
1c1faafed7 + fix many warnings in libarea using MSVC 2016-06-14 11:04:19 +02:00
sliptonic
be418fa2e0 Updated libarea with changes from Heeks/libarea 2016-06-11 10:51:27 -05:00
wmayer
4a176cbe29 + fix various warnings 2015-08-29 22:05:09 +02:00
Dan Falck
3b34021d58 added BSD license, removed shared lib for C++ 2015-07-23 23:17:15 -03:00
Dan Falck
34541fc9f1 initial add of libarea files 2015-07-23 23:17:15 -03:00