Commit Graph

102 Commits

Author SHA1 Message Date
luz.paz
327957110a Misc. comment typos 2018-01-14 12:11:35 -02:00
luz.paz
0c54e0dc3a Path: typos 2018-01-07 18:43:16 -02:00
Unknown
f92d63008e PATH: typo fixes 2017-12-23 14:27:25 +01:00
Zheng, Lei
2a205a160b libarea: improve arc fit 2017-11-30 12:04:25 +08:00
Zheng, Lei
dbf27dd575 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
dd984c8881 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
fde42545ba fix various coverity issues 2017-09-15 11:48:38 +02:00
looooo
04ab150bbe Path: libarea: update to latest pybind11 2017-09-07 21:32:34 +02:00
looooo
e95897dad7 Path: add option to use pybind11 instead of boost-python for libarea 2017-07-23 16:30:44 +02:00
looooo
f52e315ec3 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
79fd50e26e py3: win: Link required vc14 CRT libs
issue 0000995
2017-06-02 06:40:32 +02:00
Zheng, Lei
8b7a13688f libarea: fixed open curve clipping 2017-04-23 19:15:19 -03:00
Kunda
a7414e5789 source typo fixes pt1 (only on py3 merged code)
issue 0002914
2017-02-27 11:32:47 +01:00
Mateusz Skowroński
f8778c4d6f Fix more GCC warnings. 2017-02-18 09:35:31 +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
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
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
wmayer
9607ce0a8f suppress -Woverloaded-virtual warnings from smesh 2016-12-30 12:11:35 +01:00
wmayer
fb716d7238 in forward declaration replace class keyword when struct is expected 2016-12-29 16:02:35 +01:00
wmayer
9a3421f003 fix obvious errors in kurve geometry classes 2016-12-18 15:21:52 +01:00
wmayer
4ceae102e4 suppress annoying boost warning with msvc 2016-10-01 13:35:30 +02:00
wmayer
314720c8c1 ObjectIdentifier has virtual method but no virtual destructor
fix 32-bit issues in PythonStuff.cpp
2016-10-01 11:03:15 +02:00
wmayer
9ceadafc3e fix -Wextra in Path 2016-09-23 21:20:38 +02:00
Mateusz Skowroński
f898a03981 Fix files encoding. Go from ISO8859-1 to UTF-8. 2016-07-07 15:07:38 -03:00
wmayer
ef55b7ceef fix further warnings in libarea 2016-06-16 11:12:12 +02: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
Mateusz Skowroński
6942c23895 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
f46dc20fca + fix & suppress msvc warnings 2015-10-16 18:26:30 +02:00
Mateusz Skowroński
05f95c0506 Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
89f5761618 Mod/Path: Removed-Wuninitialized warnings. 2015-09-11 15:19:18 +02:00
Eivind Kvedalen
68c3da5c05 Mod/Path: Removed -Wunused-but-set-variable warnings. 2015-09-11 15:16:02 +02:00
Eivind Kvedalen
e18aa783cd Mod/Path: Removed -Wunused-function warnings. 2015-09-11 15:13:58 +02:00
wmayer
db9a68feec + fix various warnings with VC++ 2015-09-01 12:50:10 +02:00
wmayer
996d96285c + fix various warnings 2015-08-29 22:12:33 +02:00
wmayer
4a176cbe29 + fix various warnings 2015-08-29 22:05:09 +02:00
wmayer
4d780ddfdd + fix linking error on area module with clbundler 2015-07-28 11:44:37 +02:00
wmayer
8abef84a58 + use nodefaultlib linker flag for modules 2015-07-27 11:52:19 +02:00
wmayer
3a40a99742 + create MODULE libraries in given directory 2015-07-24 22:56:18 +02:00
wmayer
37427ebef5 + make area build with LibPack 2015-07-24 19:23:06 +02:00
Yorik van Havre
9220b4e5c0 Path: fixed clang warnings in libarea 2015-07-23 23:28:33 -03:00
Dan Falck
0d74558ae6 cleaned up area cmake again 2015-07-23 23:17:15 -03:00
Dan Falck
3b34021d58 added BSD license, removed shared lib for C++ 2015-07-23 23:17:15 -03:00
Dan Falck
f37a80a715 added CMakeLists for libarea 2015-07-23 23:17:15 -03:00
Dan Falck
0b358d158d somehow I forgot to add this earlier 2015-07-23 23:17:15 -03:00