Commit Graph

151 Commits

Author SHA1 Message Date
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
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
Zheng, Lei
ecc426aa2a Path.Area: fixed compiler warning 2017-01-29 18:59:52 +00: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
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
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
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
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
Markus Lampert
bc62fc2d5c Check for 0 pointer in initialisation for assigning default values. 2017-01-06 14:14:14 -08:00
wmayer
e2eeb521ab fix CID 154894 2016-12-18 11:37:39 +01:00
wmayer
19c9a9f819 remove superfluous Qt includes 2016-12-13 14:33:16 +01:00
Markus Lampert
8b3ed0e481 Switched to std::to_string, MSVC doesn't support snprintf. 2016-12-11 15:33:57 -08:00
Markus Lampert
1773964db0 Added missing include directive. 2016-12-11 15:33:57 -08:00
Markus Lampert
a615dfca94 Fixed contour naming;
only touch dependent TC objects if the tool number changed;
changed formatting of intermediate path representation to be valid g-code and not use exponents.
2016-12-11 15:33:56 -08:00
wmayer
76d417b679 fix coverity issues 2016-11-20 17:47:53 +01:00
ml
e76d5ed335 Fixed post processors and Command constructor (wasn't dealing with parameters being optional). 2016-11-02 10:58:35 +01:00
wmayer
14ad029a43 fix Windows build failure 2016-10-20 01:37:49 +02:00
Yorik van Havre
85a4ee8d67 Path: added Path.fromShape() python function - fixes #2423 2016-10-19 15:50:57 -02:00
wmayer
dbfcc77e6a fix -Wextra & -Wdeprecated in Path 2016-09-22 18:53:24 +02:00
Yorik van Havre
df5c990066 Path: added addObject & removeObject python methods to FeatureCompound - fixes #2607 2016-07-07 19:49:00 -03:00
wmayer
cb73d010bb + port to OCC 7.0 2016-05-14 16:53:27 +02:00
wmayer
90e46f7192 + simplify porting of Path module to Python3 2016-01-20 11:21:06 +01:00
Yorik van Havre
c29786b34e Path: removing leftover KDL stuff 2015-10-14 11:18:10 -03:00
Yorik van Havre
b7143ab290 Fixed Path's cmake file 2015-10-13 17:22:05 -03:00
Yorik van Havre
3dfec0e0e6 Path: Removed KDL/Robot dependency 2015-10-13 16:44:09 -03:00
wmayer
200362779f + fix crash due to sloppy reference counting 2015-09-15 18:19:36 +02:00
wmayer
4a176cbe29 + fix various warnings 2015-08-29 22:05:09 +02:00
wmayer
c2c83a353b + harmonize XercesC cmake variables with official check 2015-07-28 14:17:49 +02:00
wmayer
d2b7b730d3 + replace deprecated PYTHON_INCLUDE_PATH 2015-07-25 18:29:42 +02:00
wmayer
ee4a767f13 + simplify dependencies in CMakeLists.txt files 2015-07-17 12:18:44 +02:00
Yorik van Havre
8b09e708e2 Path: Several fixes suggested by wmayer 2015-07-14 12:23:40 -03:00
sgrogan
b7240b7465 [PATCH] Fix dependency on QtCored4 and icons 2015-07-13 10:52:02 +02:00
wmayer
5cceeeba8e + Fix crash when passing emtpy argument list to Path.Tooltable 2015-07-09 13:14:11 +02:00