Commit Graph

9828 Commits

Author SHA1 Message Date
Zheng, Lei
9c61139146 Path.Area: fixed workplane orientation issue 2017-01-30 16:29:36 +08:00
Zheng, Lei
56b5ba26b7 Force BOOST_PP_VARIADIC for clang
Current clang has full support for all variadic macro feature required
by Boost.Preprocessor. However, older Boost turned off variadic feature
for clang by default, probably because clang was broken at that time. It
should be safe to turn it on now.
2017-01-29 19:01:10 +00: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
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
Zheng, Lei
17e6b709e7 Merge remote-tracking branch 'upstream/master' into PathArea 2017-01-26 15:47:26 +08:00
Yorik van Havre
9954cc63ac Draft: Fixed small bug in SVG output 2017-01-25 21:29:33 -02:00
Yorik van Havre
009859ddf3 Draft: AutoGroup system 2017-01-25 14:55:14 -02: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
wmayer
7b782e595f fix crash when pressing cancel on pipe task panel 2017-01-24 15:00:41 +01: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
1b197ae1ef Draft: improved makeSketch backward compatibility 2017-01-24 10:25:58 -02:00
Zheng, Lei
00016543fa Draft: various fixes and improvements of makeSketch
* Fixed extra conincidence constraint on closed wire
* Fixed Part::Feature arc handling
* Added support for Part.Shape
* Added radius and radius equal constraint
* Added support for auto deleting objects and all of its linked children
* Improved performance of autoconstraint
2017-01-24 10:25:58 -02:00
Bernd Hahnebach
934c059fc6 FEM: GMSH mesh object, in some cases the task panel did not open 2017-01-24 10:16:44 -02:00
wmayer
7630e6bc2b make sure that the passed 'self' pointer to a method of the Python wrapper is never null 2017-01-24 12:34:23 +01: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
wmayer
4dcb8d64d8 fix crash when cancelling revolution task panel 2017-01-23 23:24:40 +01:00
wmayer
5aac8e3b13 issue #0002836: Crash in sketcher 2017-01-23 22:48:02 +01:00
wmayer
97905b8c7b issue #0002816: Trimming tool crashes 2017-01-23 19:06:48 +01:00
wmayer
1022fdd6a7 handle stricter tolerance of Vector3d for equality in Draft unit test 2017-01-23 17:42:15 +01:00
wwmayer
c5555a2aa0 Merge pull request #468 from cconnett/master
Grammar fix
2017-01-23 14:27:04 +01:00
Yorik van Havre
bd78d6b072 Draft: Fixed encoding bug in dwg import - fixes #2872 2017-01-23 10:15:59 -02: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
Chris Connett
d4de73a0b4 Grammar fix 2017-01-22 23:27:55 -05:00
wwmayer
8c7ff24809 Merge pull request #464 from berndhahnebach/bhbdev064
FEM
2017-01-22 19:38:59 +01:00
wmayer
a0517c1036 TaskTransformedParameters derives from Gui::DocumentObserver to handle deletion of view provider when clicking Cancel button 2017-01-22 19:07:07 +01:00
wmayer
953749e330 add observer for GUI documents 2017-01-22 19:05:13 +01:00
Bernd Hahnebach
c15ffae406 FEM: unit tests, get rid of duplicate defs 2017-01-22 17:31:08 +01:00
Bernd Hahnebach
af88f18507 FEM: unit tests, update result files to start with element numbering with 1 2017-01-22 17:31:08 +01:00
Bernd Hahnebach
f923a67b30 FEM: unit tests, start element numbers of the unit test FEM meshes with 1 2017-01-22 17:31:08 +01:00
Bernd Hahnebach
5c8a493e2a FEM: unit tests, make all FEM unit test in one directory in tmp directory 2017-01-22 17:31:08 +01:00
Bernd Hahnebach
24c21e0b12 FEM: unit tests, fix def to update results 2017-01-22 17:31:08 +01:00
Bernd Hahnebach
8ff74d9867 FEM: unit tests, reorder paths 2017-01-22 17:31:08 +01:00
Bernd Hahnebach
4ce04dfdc9 FEM: unit tests, convert result stat file from win to unix line ending 2017-01-22 17:31:08 +01:00
Bernd Hahnebach
0cc8a7d343 FEM: splitted input file, fix if there is no constraint fix but constraint displacement and plane rotation instead 2017-01-22 17:31:08 +01:00
Bernd Hahnebach
32704a3b49 FEM: examples, update them to the new solid material category 2017-01-22 17:31:08 +01:00
Bernd Hahnebach
e92fe5947f FEM: imports, comment not used imports 2017-01-22 17:31:08 +01:00
Bernd Hahnebach
e8fe23aa25 FEM: code formating, flake8 2017-01-22 17:31:08 +01:00
wmayer
f71f6f27ee change old DAG implementation to pass unit tests 2017-01-22 17:03:59 +01:00
wwmayer
b80adffd91 Merge pull request #463 from qingfengxia/fluidmaterial
Fem: add push button to export customed fluid and solid material to FCMat file
2017-01-22 15:46:10 +01:00
wmayer
4c4862890d partially revert changes of issue #0002858 and add IsEqual method 2017-01-22 15:33:26 +01:00
wmayer
18451286a0 change old DAG implementation to pass unit tests 2017-01-22 15:32:31 +01:00