Commit Graph

52 Commits

Author SHA1 Message Date
luz.paz
bbfbb0e7d3 Misc. comment typos 2018-01-14 12:11:35 -02:00
luz.paz
2b95227ed7 Path: typos 2018-01-07 18:43:16 -02:00
Unknown
3df389f5f2 PATH: typo fixes 2017-12-23 14:27:25 +01:00
Zheng, Lei
b640b9865b libarea: improve arc fit 2017-11-30 12:04:25 +08:00
Zheng, Lei
7249365823 libarea: disable max arc points parameter
It is soly used to limit excessive arc accuracy used by ClipperLib, and
seems to have some negative effect. We disabled it here, and simply rely
on user to choose a sensible arc 'accuracy' parameter.
2017-11-30 11:59:10 +08:00
Zheng, Lei
e102ac12f4 libarea: improve arc fitting
Handle cases where the ending edge can form an arc with the starting
edge
2017-10-25 10:52:36 +02:00
wmayer
770c9ce095 fix various coverity issues 2017-09-15 11:48:38 +02:00
looooo
6de23532c8 Path: libarea: update to latest pybind11 2017-09-07 21:32:34 +02:00
looooo
360c07c33c Path: add option to use pybind11 instead of boost-python for libarea 2017-07-23 16:30:44 +02:00
looooo
931820c4b1 py3: boost: some diff for the cmake of libarea to work with boost1.64. (at least this is necessary for conda) 2017-06-21 09:51:57 +02:00
Peter Lama
8a6d61329f py3: win: Link required vc14 CRT libs
issue 0000995
2017-06-02 06:40:32 +02:00
Zheng, Lei
1094dcb47b libarea: fixed open curve clipping 2017-04-23 19:15:19 -03:00
Kunda
dde52952f4 source typo fixes pt1 (only on py3 merged code)
issue 0002914
2017-02-27 11:32:47 +01:00
Mateusz Skowroński
7e42975556 Fix more GCC warnings. 2017-02-18 09:35:31 +01:00
Zheng, Lei
c3293f00be libarea: make ChangeStartToNearest path breaking optinoal 2017-01-31 19:08:39 +08:00
Zheng, Lei
41c7827287 libarea: fixed linux build 2017-01-28 01:30:13 +08:00
Zheng, Lei
a3f46a40e9 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
298ad1eb26 libarea: fixed memory leak in CAreaOrderer 2017-01-20 18:32:30 +08:00
Zheng, Lei
a79013e7f3 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
b58e45a04c libarea: make CArea::Record skip open wires 2017-01-19 19:03:11 +08:00
Zheng, Lei
04888f6961 libarea: split into area-native and area python 2017-01-19 19:01:48 +08:00
Zheng, Lei
9cf075a806 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
3377b42642 suppress -Woverloaded-virtual warnings from smesh 2016-12-30 12:11:35 +01:00
wmayer
35b76c5205 in forward declaration replace class keyword when struct is expected 2016-12-29 16:02:35 +01:00
wmayer
d9c206e59d fix obvious errors in kurve geometry classes 2016-12-18 15:21:52 +01:00
wmayer
e2d51588f6 suppress annoying boost warning with msvc 2016-10-01 13:35:30 +02:00
wmayer
7d265c4cdf ObjectIdentifier has virtual method but no virtual destructor
fix 32-bit issues in PythonStuff.cpp
2016-10-01 11:03:15 +02:00
wmayer
3d6b4aa317 fix -Wextra in Path 2016-09-23 21:20:38 +02:00
Mateusz Skowroński
873f8e3ea7 Fix files encoding. Go from ISO8859-1 to UTF-8. 2016-07-07 15:07:38 -03:00
wmayer
9dc6d7f8c0 fix further warnings in libarea 2016-06-16 11:12:12 +02:00
wmayer
6be9ee87ea + fix many warnings in libarea using MSVC 2016-06-14 11:04:19 +02:00
sliptonic
a02d704d0a Updated libarea with changes from Heeks/libarea 2016-06-11 10:51:27 -05:00
Mateusz Skowroński
7d0e892d36 Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
158f39ec78

This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
wmayer
9abedaf0d2 + fix & suppress msvc warnings 2015-10-16 18:26:30 +02:00
Mateusz Skowroński
43a4a5938c Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
4d9af51470 Mod/Path: Removed-Wuninitialized warnings. 2015-09-11 15:19:18 +02:00
Eivind Kvedalen
1f93879a0c Mod/Path: Removed -Wunused-but-set-variable warnings. 2015-09-11 15:16:02 +02:00
Eivind Kvedalen
cbee95494e Mod/Path: Removed -Wunused-function warnings. 2015-09-11 15:13:58 +02:00
wmayer
86a7ed44e0 + fix various warnings with VC++ 2015-09-01 12:50:10 +02:00
wmayer
f7eb1ef924 + fix various warnings 2015-08-29 22:12:33 +02:00
wmayer
cb16fec6bb + fix various warnings 2015-08-29 22:05:09 +02:00
wmayer
953ff71e99 + fix linking error on area module with clbundler 2015-07-28 11:44:37 +02:00
wmayer
51f0e99d7b + use nodefaultlib linker flag for modules 2015-07-27 11:52:19 +02:00
wmayer
b5475db2de + create MODULE libraries in given directory 2015-07-24 22:56:18 +02:00
wmayer
2bbbeaafd2 + make area build with LibPack 2015-07-24 19:23:06 +02:00
Yorik van Havre
cad1db484b Path: fixed clang warnings in libarea 2015-07-23 23:28:33 -03:00
Dan Falck
56fad0cceb cleaned up area cmake again 2015-07-23 23:17:15 -03:00
Dan Falck
98a32d7982 added BSD license, removed shared lib for C++ 2015-07-23 23:17:15 -03:00
Dan Falck
a6bb9a5e80 added CMakeLists for libarea 2015-07-23 23:17:15 -03:00
Dan Falck
afd2f27bdc somehow I forgot to add this earlier 2015-07-23 23:17:15 -03:00