Commit Graph

955 Commits

Author SHA1 Message Date
drallod
357ecb5800 Path: Issue #0002817:
Check if default post processor hasn't been lost
2017-01-29 10:42:13 -06: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
Markus Lampert
c9c7d19a82 Import pivy only if gui is up. 2017-01-28 11:46:17 -08:00
Markus Lampert
013043b18c Refactored cmake file once again - exposing root exception. 2017-01-28 11:46:17 -08:00
Markus Lampert
e1a22b796e Fixed unit tests for the case where LineOld is not set to false. 2017-01-28 11:46:17 -08:00
Markus Lampert
831e467f9e Refactored cmake file and added TestPathCore. 2017-01-28 11:46:16 -08:00
ml
ea7789b8b6 Fixed merge issues and re-enabled tests. 2017-01-28 11:46:16 -08:00
Markus Lampert
7805dce66e Fixed holding tags unit tests. 2017-01-28 11:46:16 -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
Markus Lampert
dd63fe9210 Changed comparison of adjecent edge points to use PathGeom.pointsCoincide to deal with the higher precision of doubles underneath. 2017-01-26 23:07:32 -02:00
Markus Lampert
f92e5db8a7 Fixed moved dogbone to use logging module - and fixed a bug while I was at it. 2017-01-26 10:47:57 -08:00
Markus Lampert
7cc843c3c0 Fixed secondary debug logging in holding tags. 2017-01-26 10:47:57 -08:00
Markus Lampert
dfb1094318 Path logging interface and bulk transfer of HoldingTags dressup to use module. 2017-01-26 10:47:57 -08:00
Zheng, Lei
79a261e868 Merge remote-tracking branch 'upstream/master' into PathArea 2017-01-26 15:47:26 +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
drallod
d9dda3fa1d Path: Fixed issue where GCodeEditorDialog wouldn't appear for some post processors 2017-01-24 10:30:14 -02: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
Zheng, Lei
797793b4ac Path.Area: make Area.Reorder default to true 2017-01-20 18:32:57 +08:00
Zheng, Lei
298ad1eb26 libarea: fixed memory leak in CAreaOrderer 2017-01-20 18:32:30 +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
Zheng, Lei
a79013e7f3 libarea: added CArea::Clip to handle open wires
CArea::Clip enables ClipperLib open wire boolean operation as well as
other settings (PolyFillType) for closed wires.
2017-01-19 19:03:59 +08:00
Zheng, Lei
b58e45a04c libarea: make CArea::Record skip open wires 2017-01-19 19:03:11 +08:00
Zheng, Lei
04888f6961 libarea: split into area-native and area python 2017-01-19 19:01:48 +08:00
Zheng, Lei
9cf075a806 libarea: added OffsetWithClipper function
Also added a few extra setting variables.

OffsetWithClipper perform offset operation using
ClipperLib::ClipperOffset.
2017-01-19 18:58:09 +08:00
Markus Lampert
81ae4f94aa Fixed z=0 issues; added rapid move for square tag that is at the maximum height (or higher). 2017-01-18 22:08:09 -08:00
sliptonic
ed373673e8 Path: Make contour default final depth to part bottom instead of 0 2017-01-16 21:19:10 -06:00
sliptonic
c4405f8356 Path: fix missing field in profile edges 2017-01-16 21:19:10 -06:00
Sebastian Stetter
0f7d4ac46c PATH: Fix for x10 input field issue in tool table 2017-01-15 17:39:37 +01:00
lorenz
67c1bcac7c Merge branch 'master' into path_helix 2017-01-15 13:52:27 +01:00
Lorenz Hüdepohl
f2faa50802 PathHelix: Switch to QToolBox based task panel
This makes it more consistent with the other Path operations
2017-01-14 17:04:36 +01:00
sliptonic
b0abdd1c1d PATH: remove old holding tag code and GUI elements 2017-01-13 09:20:04 -06:00
Alexander Gryson
5929ad3957 correct clipping issue 2017-01-13 11:23:11 -02:00
Alexander Gryson
42a2faf05a Update Helix Metadata 2017-01-13 11:23:11 -02:00
Alexander Gryson
62b08cd4a4 Update helix icon 2017-01-13 11:23:11 -02:00
Markus Lampert
e76333f300 Fixed segmentation of xy-plane arcs, made # segments factor a property. 2017-01-12 17:42:29 -08:00
Markus Lampert
9d544209a8 Added support for rounded tags. 2017-01-11 12:05:23 -08:00
Markus Lampert
126fe81689 Translation of strings. 2017-01-11 12:05:23 -08:00
Markus Lampert
3cbf1c32b4 Reduced debug logging. 2017-01-11 12:05:23 -08:00