Commit Graph

17 Commits

Author SHA1 Message Date
David Kaufman
a9888112c2 [Path] Change ZigZagOffset so the profile starts at the end of the zigzag 2024-02-19 23:13:44 -05:00
Chris Hennes
5f0d6f2a74 Path: PR6497 move return statement to new line 2022-03-29 12:37:49 -05:00
Gabriel Wicke
86cd9f2124 Path: Opt into automatic git newline normalization
Avoid spurious diffs from inadvertent newline changes by letting git
normalize newlines in the path module as well, just as a list of other
modules including Draft already do.

This effectively standardizes all checked-in code to Unix newlines, but
checkouts might use CRLF if that is the user preference.
2020-05-31 08:33:29 -07:00
asapelkin
ced8100ab9 use emplace_back instead of push_back where justified 2019-11-21 14:48:09 +01:00
wmayer
e48c52c480 force strict ISO C++ (-Wpedantic)
for Drawing, Image, Inspection, Mesh, MeshPart, Part, Path, Points, Raytracing, ReverseEngineering, Spreadsheet, Start, Surface, Web

TODO: fix several -Woverflow in area
2019-09-18 11:32:42 +02:00
Zheng, Lei
b6c0cf8ce5 Path.Area: minor optimization 2018-11-06 12:02:12 -03:00
Kunda
a7414e5789 source typo fixes pt1 (only on py3 merged code)
issue 0002914
2017-02-27 11:32:47 +01:00
Zheng, Lei
a2f5850087 libarea: make ChangeStartToNearest path breaking optinoal 2017-01-31 19:08:39 +08:00
Zheng, Lei
6ad617938d libarea: fixed linux build 2017-01-28 01:30:13 +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
3990b5308b libarea: fixed memory leak in CAreaOrderer 2017-01-20 18:32:30 +08:00
Zheng, Lei
f6c8d3e433 libarea: make CArea::Record skip open wires 2017-01-19 19:03:11 +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
sliptonic
be418fa2e0 Updated libarea with changes from Heeks/libarea 2016-06-11 10:51:27 -05: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