Commit Graph

420 Commits

Author SHA1 Message Date
Zheng, Lei
b35e41771a Path.Area: added python static method setDefaultParams()
set/getDefaultParams controls the default parameters used when
creating Path.Area object. It also has extra parameter to control
Path.Area log level.
2017-02-01 12:02:01 +08:00
Zheng, Lei
4d01517d1e Merge remote-tracking branch 'upstream/master' into PathArea 2017-02-01 02:48:45 +08:00
Zheng, Lei
ce27104658 Path.Area: added python abort() to abort lengthy operation 2017-02-01 02:45:13 +08:00
Zheng, Lei
84a5162698 Part.Area: fixed sortWires3D 2017-02-01 02:02:07 +08:00
Zheng, Lei
4a2c7eb133 Path: fixed fromShapes and sortWires parameter parsing 2017-02-01 02:01:33 +08:00
Zheng, Lei
00cb8095a7 Path.Area: added segmentation and 3D wire support 2017-01-31 19:09:33 +08:00
Zheng, Lei
a2f5850087 libarea: make ChangeStartToNearest path breaking optinoal 2017-01-31 19:08:39 +08:00
Markus Lampert
ff88b1be6b Fixed QtGui import. 2017-01-30 21:21:04 -08:00
Kurt Kremitzki
72b33f5953 Fix tuple unpacking issue 2017-01-30 10:21:33 +01:00
Kurt Kremitzki
b46de3ba9d Remove py3-incompatible tuple argument from Path 2017-01-30 10:21:28 +01:00
Kurt Kremitzki
be2a827a69 Update Path to py3-compatible printing 2017-01-30 10:21:22 +01:00
Zheng, Lei
9c61139146 Path.Area: fixed workplane orientation issue 2017-01-30 16:29:36 +08:00
wmayer
762f1bcb9e py3: ported Path to python3 2017-01-29 22:35:52 +01:00
Priit Laes
94fe93aeb7 python: Path: *.py: Fix python3 syntax 2017-01-29 22:35:36 +01:00
Zheng, Lei
ecc426aa2a Path.Area: fixed compiler warning 2017-01-29 18:59:52 +00:00
drallod
092ca9eaa7 Path: Issue #0002817:
Check if default post processor hasn't been lost
2017-01-29 10:42:13 -06:00
Zheng, Lei
43432ea772 Path.Area: fixed auto workplane correction 2017-01-29 20:25:13 +08:00
Zheng, Lei
9150ee24d1 Path.Area: fixed auto workplane finding logic 2017-01-29 20:17:18 +08:00
Zheng, Lei
b19fe515f5 Path.Area: fixed non-circular curve handling, etc.
* Fixed non-circular curve orientation handling

* Section changed to use Part::CrossSection, because it seems
BRepAlgoAPI_Section has trouble with non-circular curves (LastParameter
becomes huge which causes discretization to produce many many points)

* Exposed Area.makeSections() to section with variable heights

* Modified Area.setPlane() to accept non-planar shape

* Exposed Area.getPlane() to obtain current workplane

* Exposed Area.Shapes attribute to return the current holding children
shape.
2017-01-29 18:24:01 +08:00
Markus Lampert
8a7af5cd05 Import pivy only if gui is up. 2017-01-28 11:46:17 -08:00
Markus Lampert
19798c1e08 Refactored cmake file once again - exposing root exception. 2017-01-28 11:46:17 -08:00
Markus Lampert
bdeeee48b3 Fixed unit tests for the case where LineOld is not set to false. 2017-01-28 11:46:17 -08:00
Markus Lampert
4d91ed3992 Refactored cmake file and added TestPathCore. 2017-01-28 11:46:16 -08:00
ml
3ee613f79b Fixed merge issues and re-enabled tests. 2017-01-28 11:46:16 -08:00
Markus Lampert
2fd6596e81 Fixed holding tags unit tests. 2017-01-28 11:46:16 -08:00
Zheng, Lei
6ad617938d libarea: fixed linux build 2017-01-28 01:30:13 +08:00
Zheng, Lei
0efe8b7dfb Path: fixed Path.h line ending issue 2017-01-28 01:22:09 +08:00
Zheng, Lei
8dadcbe196 Path: fixed FeatureAreaView negative SectionIndex behavior 2017-01-28 01:19:09 +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
Markus Lampert
020325de63 Changed comparison of adjecent edge points to use PathGeom.pointsCoincide to deal with the higher precision of doubles underneath. 2017-01-26 23:07:32 -02:00
Markus Lampert
287094cf83 Fixed moved dogbone to use logging module - and fixed a bug while I was at it. 2017-01-26 10:47:57 -08:00
Markus Lampert
f2ea9cb607 Fixed secondary debug logging in holding tags. 2017-01-26 10:47:57 -08:00
Markus Lampert
3f6b4a0b79 Path logging interface and bulk transfer of HoldingTags dressup to use module. 2017-01-26 10:47:57 -08:00
Zheng, Lei
17e6b709e7 Merge remote-tracking branch 'upstream/master' into PathArea 2017-01-26 15:47:26 +08:00
Zheng, Lei
01f68f88e1 Path: added support to get Path.Area from Path::FeatureArea 2017-01-25 00:23:21 +08:00
Zheng, Lei
16cec19733 Path.Area: fixed error handling in Python constructor 2017-01-25 00:21:45 +08:00
drallod
48228f66a7 Path: Fixed issue where GCodeEditorDialog wouldn't appear for some post processors 2017-01-24 10:30:14 -02:00
Zheng, Lei
7d04c2188c Path.Area: added Sections python attribute 2017-01-24 14:37:52 +08:00
Zheng, Lei
cd4d4f3cf4 Path.Area: fixed plane finding for edge only shapes 2017-01-24 14:37:12 +08:00
Zheng, Lei
7e187477a8 Path.Area: clean up python binding error handling 2017-01-23 17:27:58 +08:00
Zheng, Lei
efee314f64 Path.Area: fixed handling of closed edge 2017-01-23 17:26:45 +08:00
Zheng, Lei
0c545c1975 Path.Area: various fixes for Path.Area python object 2017-01-21 18:21:46 +08:00
Zheng, Lei
61ccb19526 Path.Area: make Area.Reorder default to true 2017-01-20 18:32:57 +08:00
Zheng, Lei
3990b5308b libarea: fixed memory leak in CAreaOrderer 2017-01-20 18:32:30 +08:00
Zheng, Lei
d95e6e262b Path.Area: added support for solid
* Path.Area/FeatureArea can now section solid shapes.
* Added command to select workplane for FeatureArea
* Generalized ParamsHelper
2017-01-20 17:47:28 +08:00
Zheng, Lei
c11ce6ec79 Path.Area added coplanar check parameter 2017-01-20 02:36:59 +08:00
Zheng, Lei
4a63a702f4 Path: added Path.Area and Path.FeatureArea 2017-01-19 23:08:19 +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