Commit Graph

373 Commits

Author SHA1 Message Date
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
Markus Lampert
891add9bd3 Added preferences for holding tags. 2017-01-11 12:05:23 -08:00
Markus Lampert
70c3fc8686 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
2403890965 Minimum # tags is 2, makes sense and avoids the endless loop. 2017-01-11 12:05:23 -08:00
Markus Lampert
190aa1fc74 Retrieve colors from settings. 2017-01-11 12:05:22 -08:00
Markus Lampert
45893d7783 Fixed adding new tags - sorting required. 2017-01-11 12:05:22 -08:00
Markus Lampert
706875b3cc Fixed v-scrollbar issue and added edit button. 2017-01-11 12:05:22 -08:00
Markus Lampert
f89eea7b59 Using InputField for width and height and use proper properties. 2017-01-11 12:05:22 -08:00
Markus Lampert
6792e2c4b9 Minor name cleanups. 2017-01-11 12:05:22 -08:00
Markus Lampert
0781cf75d6 Added support for manual point input. 2017-01-11 12:05:22 -08:00
Markus Lampert
8f7102e2bf 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
e6c968cb79 Basic tag visualization and selection. 2017-01-11 12:05:22 -08:00
sliptonic
678f36c989 PATH: some simple core tests 2017-01-10 22:00:56 -06:00
Sebastian Stetter
b7c012775c PATH: changed default opened tabs in panel ui files back to base gemoetry 2017-01-09 13:24:51 +01:00
Sebastian Stetter
21b116649e 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
6668a86c90 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
a0533b7c46 Changed comparison for points - fixes issue if bone is at plunge point. 2017-01-07 13:27:49 -02:00
Markus Lampert
9d555859ad Check for 0 pointer in initialisation for assigning default values. 2017-01-06 14:14:14 -08:00
ChrisLuck
fea0e02fc1 support stepdown greater than total depth, 2nd try 2017-01-06 16:03:11 +01:00
Lorenz Hüdepohl
0de0d8f930 PathHelix: fix most of the PEP8 issues
Dealt with most issues expect for overly long lines
2017-01-06 15:50:21 +01:00
Lorenz Hüdepohl
ec5faafd86 PathHelix: typo in error path 2017-01-06 15:14:04 +01:00
Lorenz Hüdepohl
1edc151c5d PathHelix: Drop requirement of scipy.spatial
It was deemed that scipy is too heavy a requirement for FreeCAD just for
this little feature. Fortunately it was possible to extract the k-d tree
module from scipy with just minor modifications - it is quite
self-contained.

Now, only numpy is required.
2017-01-06 13:20:18 +01:00
wwmayer
899c5c337e Merge pull request #417 from dev-at-stellardeath-org/path_helix
Path: helix machining for circular holes
2017-01-05 14:05:28 +01:00
Lorenz Hüdepohl
cd3c1d574e Path: Helix taskpanel shows interdependencies of holes
Instead of a flat list of holes now a tree is shown, with the various
machining operations for the individual holes grouped together.
2017-01-04 20:11:49 +01:00
Markus Lampert
e92f315379 Changed default values for tags and disabled old popup menu. 2017-01-02 17:34:37 -08:00
Markus Lampert
556e25e47f Fixed another initialisation issue - depending on how the dressup is created. 2017-01-02 17:34:36 -08:00
Markus Lampert
8efbe9e645 Basic UI for holding tags. 2017-01-02 17:34:36 -08:00
Markus Lampert
807cf80a77 Hide job while editing dressup. 2017-01-02 17:34:36 -08:00
Markus Lampert
34f2105499 Fixed edit dialog initialisation. 2017-01-02 17:34:36 -08:00
Markus Lampert
9bf58b1c94 Reduced logging. 2017-01-02 17:34:36 -08:00
Markus Lampert
cb85072bbd Fixed alignment issue and unit tests.
The trick is really to over-extend edges before creationg shapes for the common operation, and trying to avoid alignment of the edge with the cone's seam.
2017-01-02 17:34:36 -08:00
Markus Lampert
27b71ab1ae Maintaining rapid commands. 2017-01-02 17:34:36 -08:00
Markus Lampert
f232096eb4 Fixed build and tests. 2017-01-02 17:34:36 -08:00