Commit Graph

9832 Commits

Author SHA1 Message Date
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
c3293f00be libarea: make ChangeStartToNearest path breaking optinoal 2017-01-31 19:08:39 +08:00
Zheng, Lei
94c4cecb27 Path.Area: fixed workplane orientation issue 2017-01-30 16:29:36 +08:00
Zheng, Lei
fb5b69cdec 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
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
41c7827287 libarea: fixed linux build 2017-01-28 01:30:13 +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
79a261e868 Merge remote-tracking branch 'upstream/master' into PathArea 2017-01-26 15:47:26 +08:00
Yorik van Havre
fdd34efa43 Draft: Fixed small bug in SVG output 2017-01-25 21:29:33 -02:00
Yorik van Havre
9a6191f572 Draft: AutoGroup system 2017-01-25 14:55:14 -02: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
wmayer
bebda4c6ad fix crash when pressing cancel on pipe task panel 2017-01-24 15:00:41 +01:00
drallod
d9dda3fa1d Path: Fixed issue where GCodeEditorDialog wouldn't appear for some post processors 2017-01-24 10:30:14 -02:00
Zheng, Lei
087853bfc5 Draft: improved makeSketch backward compatibility 2017-01-24 10:25:58 -02:00
Zheng, Lei
820439781f 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
1d5d539f6b FEM: GMSH mesh object, in some cases the task panel did not open 2017-01-24 10:16:44 -02:00
wmayer
09846721f2 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
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
wmayer
294b2308d6 fix crash when cancelling revolution task panel 2017-01-23 23:24:40 +01:00
wmayer
8a100bf627 issue #0002836: Crash in sketcher 2017-01-23 22:48:02 +01:00
wmayer
43e8c21743 issue #0002816: Trimming tool crashes 2017-01-23 19:06:48 +01:00
wmayer
417f074aff handle stricter tolerance of Vector3d for equality in Draft unit test 2017-01-23 17:42:15 +01:00
wwmayer
654da13ee9 Merge pull request #468 from cconnett/master
Grammar fix
2017-01-23 14:27:04 +01:00
Yorik van Havre
9f859a0912 Draft: Fixed encoding bug in dwg import - fixes #2872 2017-01-23 10:15:59 -02: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
Chris Connett
9134a1e613 Grammar fix 2017-01-22 23:27:55 -05:00
wwmayer
1c0c848a36 Merge pull request #464 from berndhahnebach/bhbdev064
FEM
2017-01-22 19:38:59 +01:00
wmayer
27c4136f58 TaskTransformedParameters derives from Gui::DocumentObserver to handle deletion of view provider when clicking Cancel button 2017-01-22 19:07:07 +01:00
wmayer
bc84e88e31 add observer for GUI documents 2017-01-22 19:05:13 +01:00
Bernd Hahnebach
529e1418f4 FEM: unit tests, get rid of duplicate defs 2017-01-22 17:31:08 +01:00
Bernd Hahnebach
b8403d4645 FEM: unit tests, update result files to start with element numbering with 1 2017-01-22 17:31:08 +01:00
Bernd Hahnebach
dbe6efb01f FEM: unit tests, start element numbers of the unit test FEM meshes with 1 2017-01-22 17:31:08 +01:00
Bernd Hahnebach
94ddfdb01f FEM: unit tests, make all FEM unit test in one directory in tmp directory 2017-01-22 17:31:08 +01:00
Bernd Hahnebach
227beac03f FEM: unit tests, fix def to update results 2017-01-22 17:31:08 +01:00
Bernd Hahnebach
cfa97b0163 FEM: unit tests, reorder paths 2017-01-22 17:31:08 +01:00
Bernd Hahnebach
a5d6c29c32 FEM: unit tests, convert result stat file from win to unix line ending 2017-01-22 17:31:08 +01:00
Bernd Hahnebach
d553d50432 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
1347c7b645 FEM: examples, update them to the new solid material category 2017-01-22 17:31:08 +01:00
Bernd Hahnebach
d87d0a925d FEM: imports, comment not used imports 2017-01-22 17:31:08 +01:00
Bernd Hahnebach
56d43c2373 FEM: code formating, flake8 2017-01-22 17:31:08 +01:00