Commit Graph

80 Commits

Author SHA1 Message Date
Peter Lama
a75a98ef27 Use OCCT Handle macro for Handle_ classes
This is the result of running OCCT's upgrade script provided
with OCCT 7.0. See
https://www.opencascade.com/content/freecad-occt710-and-windows-rtti-data-missing#comment-form
and
https://www.forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=120#p169019
for why this is necessary for OCCT >= 7.1
2017-04-20 12:27:34 +02:00
asiersarasua
ea3d86b735 Fix typos 2017-04-20 09:49:19 +02:00
Kunda
784edd3f82 Typo fixes for doxygen and source comments
issue #0002914
2017-03-31 11:25:57 -03:00
Mateusz Skowroński
c5b7c987c4 Fix building with GCC and Qt5.
issue #0002986
2017-03-28 09:56:54 +02:00
Zheng, Lei
15e3da350c Path.Area: fixing boost windows build error
Indirectly caused by the use of boost::geometry on Windows boost 1.55.
See https://svn.boost.org/trac/boost/ticket/9332
2017-03-23 22:04:52 +01:00
Zheng, Lei
dbf30308e5 Path.Area: fixing boost::geometry compilation issue 2017-03-23 22:04:52 +01: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
dbfc65d535 Path.Area: improved FeatureAreaPy error message 2017-03-23 22:04:52 +01:00
Zheng, Lei
40033ac3e8 Path.Area: avoid FeatureArea recompute on doc load 2017-03-23 22:04:52 +01:00
Zheng, Lei
b0e9d4b213 Path.Area: fixed getShape with index 2017-03-23 22:04:52 +01:00
Zheng, Lei
d447257e0b Path.Area: changed section transformation 2017-03-23 22:04:52 +01:00
Zheng, Lei
b49a8ec376 Path.Area: improved section tolerance
Previously, a small offset in the same direction of section is added to
the section height to avoid tagent plane cut. Now we'll retry by adding
offset in the oppsite direction if the first attemp fails.
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
abd4f6a424 Path.Area: refined properties in FeatureArea 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
31e82f089c Path.Area: fixed handling of shape with placement 2017-03-23 22:04:52 +01:00
Zheng, Lei
721a256268 Path.Area: fixed missing brace 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
Zheng, Lei
d920cf419d Path: fixed Command unit test 2017-03-19 10:26:27 +01:00
Zheng, Lei
b6b678b4fd PathGui: shorten preselect GCode display length 2017-03-19 10:26:27 +01:00
Zheng, Lei
b9573b7491 Path: improved Command efficiency 2017-03-19 10:26:27 +01:00
Zheng, Lei
48e54a05a9 Path: ignore N command 2017-03-15 10:38:58 -03:00
Kunda
19f8fd4c10 source typo fixes pt5
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00
Kunda
dde52952f4 source typo fixes pt1 (only on py3 merged code)
issue 0002914
2017-02-27 11:32:47 +01:00
wmayer
36b7e0338b fix eval flsw: do not use GUI stuff in App modules! 2017-02-04 18:19:00 +01:00
wmayer
17a3d1e81f fix warnings: -Wmaybe-uninitialized 2017-02-04 15:16:47 +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
fa6c31aaee Merge remote-tracking branch 'upstream/master' into PathArea 2017-02-01 02:48:45 +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
a6380f64a5 Path: fixed fromShapes and sortWires parameter parsing 2017-02-01 02:01:33 +08:00
Zheng, Lei
f834206ba7 Path.Area: added segmentation and 3D wire support 2017-01-31 19:09:33 +08:00
Zheng, Lei
94c4cecb27 Path.Area: fixed workplane orientation issue 2017-01-30 16:29:36 +08:00
wmayer
32bacd0b63 py3: ported Path to python3 2017-01-29 22:35:52 +01:00
Zheng, Lei
c4b599d691 Path.Area: fixed compiler warning 2017-01-29 18:59:52 +00:00
Zheng, Lei
65f01daee2 Path.Area: fixed auto workplane correction 2017-01-29 20:25:13 +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
64fc4b5d35 Path: fixed Path.h line ending issue 2017-01-28 01:22:09 +08:00
Zheng, Lei
b9c06fdc2a Path: fixed FeatureAreaView negative SectionIndex behavior 2017-01-28 01:19:09 +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
9afefdc05a Path.Area: fixed error handling in Python constructor 2017-01-25 00:21:45 +08:00
Zheng, Lei
aec39ec6ff Path.Area: added Sections python attribute 2017-01-24 14:37:52 +08:00
Zheng, Lei
67a16db6cb Path.Area: fixed plane finding for edge only shapes 2017-01-24 14:37:12 +08:00
Zheng, Lei
736cd39851 Path.Area: clean up python binding error handling 2017-01-23 17:27:58 +08:00
Zheng, Lei
2acc29de8f Path.Area: fixed handling of closed edge 2017-01-23 17:26:45 +08:00
Zheng, Lei
8fdb235d8f Path.Area: various fixes for Path.Area python object 2017-01-21 18:21:46 +08:00