Commit Graph

388 Commits

Author SHA1 Message Date
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
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
drallod
48228f66a7 Path: Fixed issue where GCodeEditorDialog wouldn't appear for some post processors 2017-01-24 10:30:14 -02: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
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
Zheng, Lei
0c545c1975 Path.Area: various fixes for Path.Area python object 2017-01-21 18:21:46 +08:00
Zheng, Lei
61ccb19526 Path.Area: make Area.Reorder default to true 2017-01-20 18:32:57 +08:00
Zheng, Lei
3990b5308b libarea: fixed memory leak in CAreaOrderer 2017-01-20 18:32:30 +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
c11ce6ec79 Path.Area added coplanar check parameter 2017-01-20 02:36:59 +08:00
Zheng, Lei
4a63a702f4 Path: added Path.Area and Path.FeatureArea 2017-01-19 23:08:19 +08:00
Zheng, Lei
c8835d3c75 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
f6c8d3e433 libarea: make CArea::Record skip open wires 2017-01-19 19:03:11 +08:00
Zheng, Lei
9ec1b353ae libarea: split into area-native and area python 2017-01-19 19:01:48 +08:00
Zheng, Lei
e4aaf2adc1 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
32a5d1660b 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
a22c823c3f Path: Make contour default final depth to part bottom instead of 0 2017-01-16 21:19:10 -06:00
sliptonic
83929473f7 Path: fix missing field in profile edges 2017-01-16 21:19:10 -06:00
Sebastian Stetter
70040e01c4 PATH: Fix for x10 input field issue in tool table 2017-01-15 17:39:37 +01:00
lorenz
97fc17f95d Merge branch 'master' into path_helix 2017-01-15 13:52:27 +01:00
Lorenz Hüdepohl
f59c234c59 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
0bf7a2e797 PATH: remove old holding tag code and GUI elements 2017-01-13 09:20:04 -06:00
Alexander Gryson
d52e71d669 correct clipping issue 2017-01-13 11:23:11 -02:00
Alexander Gryson
7da480e0c7 Update Helix Metadata 2017-01-13 11:23:11 -02:00
Alexander Gryson
c6872222ca Update helix icon 2017-01-13 11:23:11 -02:00
Markus Lampert
4c0ca6be7d Fixed segmentation of xy-plane arcs, made # segments factor a property. 2017-01-12 17:42:29 -08:00
Markus Lampert
b7e93a1f32 Added support for rounded tags. 2017-01-11 12:05:23 -08:00
Markus Lampert
3cc307f95f Translation of strings. 2017-01-11 12:05:23 -08:00
Markus Lampert
490ae1f49c Reduced debug logging. 2017-01-11 12:05:23 -08:00
Markus Lampert
593c4a6dcd Added preferences for holding tags. 2017-01-11 12:05:23 -08:00
Markus Lampert
1840d5df4e Automatically disable tags if they overlap with previous tag and/or do not fall on the base wire. 2017-01-11 12:05:23 -08:00
Markus Lampert
22404d6dc0 Minimum # tags is 2, makes sense and avoids the endless loop. 2017-01-11 12:05:23 -08:00
Markus Lampert
8326f2b9b2 Retrieve colors from settings. 2017-01-11 12:05:22 -08:00
Markus Lampert
96ab104a66 Fixed adding new tags - sorting required. 2017-01-11 12:05:22 -08:00
Markus Lampert
57edcf1cf7 Fixed v-scrollbar issue and added edit button. 2017-01-11 12:05:22 -08:00
Markus Lampert
441f472f27 Using InputField for width and height and use proper properties. 2017-01-11 12:05:22 -08:00
Markus Lampert
d977a9d32c Minor name cleanups. 2017-01-11 12:05:22 -08:00
Markus Lampert
085fadcd7b Added support for manual point input. 2017-01-11 12:05:22 -08:00
Markus Lampert
35ac161f4a Adding and modifying tags with mouse works - event and selection handlers are properly registered and removed again. 2017-01-11 12:05:22 -08:00
Markus Lampert
5d93be3de8 Basic tag visualization and selection. 2017-01-11 12:05:22 -08:00
sliptonic
cb64493e92 PATH: some simple core tests 2017-01-10 22:00:56 -06:00
Sebastian Stetter
a2242802df PATH: changed default opened tabs in panel ui files back to base gemoetry 2017-01-09 13:24:51 +01:00
Sebastian Stetter
57e62d682a PATH: fix for 2805
changed TaskPanels to use unit conversions via FreeCAD.Units
commented out references to segLen since it si used nowhere
2017-01-09 13:24:23 +01:00
wwmayer
8948e06827 Merge pull request #420 from ChrisLuck/stepdown_2
support stepdown greater than total depth, 2nd try
2017-01-09 09:28:30 +01:00
ml
6915e42d07 Changed comparison for points - fixes issue if bone is at plunge point. 2017-01-07 13:27:49 -02:00
Markus Lampert
bc62fc2d5c Check for 0 pointer in initialisation for assigning default values. 2017-01-06 14:14:14 -08:00