Commit Graph

24 Commits

Author SHA1 Message Date
Zheng, Lei
dd36a9fc45 Path.Area: force CW orientation on pocket mode offset 2017-05-13 14:36:42 +02:00
Zheng, Lei
9120d6db77 Path.Area: fix path orientation setting 2017-05-13 14:36:42 +02:00
Zheng, Lei
17a57a3165 Path.Area: added outline projection support 2017-04-23 19:15:19 -03:00
Zheng, Lei
13e4a1bafb Path.Area: added orientation param to Path.fromShapes
The 'orientation' parameter allows to enforce loop direction
2017-04-23 19:15:19 -03:00
Zheng, Lei
1d64d1e91c Path.Area: wire sorting fix and improvement
Wire sorting no longer uses libarea. Performance improvement using
boost::geometry::rtree
2017-03-23 22:04:52 +01:00
Zheng, Lei
796a8f3cd5 Path.Area: support arc plane selection 2017-03-23 22:04:52 +01:00
Zheng, Lei
80850e176d Path.Area: improved section plane tolerance issue 2017-03-23 22:04:52 +01:00
Zheng, Lei
102998208f Path.Area: support negative stepdown
Negative stepdown means going from bottom up. Some machine may have
reversed Z axis.
2017-03-23 22:04:52 +01:00
Zheng, Lei
c1ab98098e Path.Area: Changed FeatureArea WorkPlane behavior
FeatureArea will return the user defined workplane if there is one, or
else it returns auto selected plane by its internal Area object
2017-03-23 22:04:52 +01:00
Zheng, Lei
b8843ec8c5 Path.Area: improved code readablity 2017-03-23 22:04:52 +01:00
wmayer
36b7e0338b fix eval flsw: do not use GUI stuff in App modules! 2017-02-04 18:19:00 +01:00
Zheng, Lei
14c98d252e 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
e66f4c5d6f Path.Area: added python abort() to abort lengthy operation 2017-02-01 02:45:13 +08:00
Zheng, Lei
6f862fe4a1 Part.Area: fixed sortWires3D 2017-02-01 02:02:07 +08:00
Zheng, Lei
f834206ba7 Path.Area: added segmentation and 3D wire support 2017-01-31 19:09:33 +08:00
Zheng, Lei
fbcffa12d2 Path.Area: fixed auto workplane finding logic 2017-01-29 20:17:18 +08:00
Zheng, Lei
228a0dc905 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
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
1913f6c582 Path: added support to get Path.Area from Path::FeatureArea 2017-01-25 00:23:21 +08:00
Zheng, Lei
aec39ec6ff Path.Area: added Sections python attribute 2017-01-24 14:37:52 +08:00
Zheng, Lei
8fdb235d8f Path.Area: various fixes for Path.Area python object 2017-01-21 18:21:46 +08:00
Zheng, Lei
c0ba9700aa 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
1517418ba0 Path.Area added coplanar check parameter 2017-01-20 02:36:59 +08:00
Zheng, Lei
36423f24de Path: added Path.Area and Path.FeatureArea 2017-01-19 23:08:19 +08:00