Zheng, Lei
6148d0275e
Path: improve AreaPy exception handling
2019-06-11 13:24:00 +08:00
Zheng, Lei
24aa185b3e
Path.Area: fix default parameter initialization
2018-11-06 12:02:12 -03:00
wmayer
5df6090150
Make destructors of all generated Py class protected
...
This is to avoid to create an object on the stack and thus to clutter Python's reference counting mechanism
2018-09-19 18:22:22 +02:00
wmayer
1cd894bacc
fix -Wcast-function-type
2018-08-19 13:11:08 +02:00
Unknown
f5146508bb
Misc. typos
2017-12-06 20:59:55 +01:00
luzpaz
31ef895be3
Path: typo fix
...
[skip ci]
2017-07-26 23:12:01 +02:00
Zheng, Lei
427f69ae40
Path.Area: deep copy on makeSection output
2017-06-15 14:43:49 -03:00
Zheng, Lei
c6e9127863
Path.Area: removed LogLevel from setDefaultParams
...
Use App.setLogLevel('Path.Area', <level>) instead.
2017-05-24 09:16:52 +08:00
looooo
3299c363ab
py3: path: some fixes to make path py3-compileable
2017-05-06 17:11:52 +02:00
Zheng, Lei
d6505a0306
Path.Area: return Py_None with ref counting
2017-04-23 19:15:19 -03:00
asiersarasua
4564e4f4a4
Fix typos
2017-04-20 09:49:19 +02:00
Zheng, Lei
0bd03b9e8b
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
d0ceee5e86
Path.Area: fixed getShape with index
2017-03-23 22:04:52 +01:00
Zheng, Lei
f94bc81987
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
73649495e6
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
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
ce27104658
Path.Area: added python abort() to abort lengthy operation
2017-02-01 02:45:13 +08:00
Zheng, Lei
00cb8095a7
Path.Area: added segmentation and 3D wire support
2017-01-31 19:09:33 +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
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
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
7e187477a8
Path.Area: clean up python binding error handling
2017-01-23 17:27:58 +08:00
Zheng, Lei
0c545c1975
Path.Area: various fixes for Path.Area python object
2017-01-21 18:21:46 +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
4a63a702f4
Path: added Path.Area and Path.FeatureArea
2017-01-19 23:08:19 +08:00