Commit Graph

248 Commits

Author SHA1 Message Date
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
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
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
ChrisLuck
35abbe6e62 support stepdown greater than total depth, 2nd try 2017-01-06 16:03:11 +01:00
Lorenz Hüdepohl
3e9d01a143 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
f344a1a5ce PathHelix: typo in error path 2017-01-06 15:14:04 +01:00
Lorenz Hüdepohl
f031615492 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
e5869758fa 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
6fec950cb2 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
095b6ae581 Changed default values for tags and disabled old popup menu. 2017-01-02 17:34:37 -08:00
Markus Lampert
efb6685545 Fixed another initialisation issue - depending on how the dressup is created. 2017-01-02 17:34:36 -08:00
Markus Lampert
b36a5dd94f Basic UI for holding tags. 2017-01-02 17:34:36 -08:00
Markus Lampert
182a4d72f4 Hide job while editing dressup. 2017-01-02 17:34:36 -08:00
Markus Lampert
672a60fe7c Fixed edit dialog initialisation. 2017-01-02 17:34:36 -08:00
Markus Lampert
e64d2772c7 Reduced logging. 2017-01-02 17:34:36 -08:00
Markus Lampert
6452c28ec6 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
c56d4dd3c3 Maintaining rapid commands. 2017-01-02 17:34:36 -08:00
Markus Lampert
3e9080aa19 Reduced logging. 2017-01-02 17:34:36 -08:00
Markus Lampert
80e744b273 Added resiliancy against vertical path elements. 2017-01-02 17:34:36 -08:00
Markus Lampert
fd53461f93 Fixed caching issue. 2017-01-02 17:34:36 -08:00
Markus Lampert
2d614f90ca Added support for vertical paths along the edge of a cylindrical tag. 2017-01-02 17:34:36 -08:00
Markus Lampert
f4a3824a5a Improved tag height based on obj.Base properties, if they exist. 2017-01-02 17:34:36 -08:00
Markus Lampert
d7c7be2afc Fixed generation and edge case where there is no wire to cut the tag. 2017-01-02 17:34:36 -08:00
Markus Lampert
fac5b434d8 Removed core which isn't used anymore; some debugging info to figure out the save/restore issus. 2017-01-02 17:34:36 -08:00
Markus Lampert
240ce6e318 OCC based tag line generation by extruding the edges cutting through a tag and retreiving the common with the tag solid. 2017-01-02 17:34:36 -08:00
Markus Lampert
2ea1a7f6d1 Added pixellation of arbitrary path curve. 2017-01-02 17:34:36 -08:00
Markus Lampert
925b60645a Create cones for debugging cone shaped tags. 2017-01-02 17:34:36 -08:00
Markus Lampert
4dce9494a6 Use PathGeom for holding tags dressup. 2017-01-02 17:34:36 -08:00
Markus Lampert
ceae388d5f Fixed helix construction. 2017-01-02 17:34:36 -08:00
Markus Lampert
64d5927402 Added arcToHelix. 2017-01-02 17:34:36 -08:00
Markus Lampert
2f7be4f1c8 Rebase on new Line/LineSegment code. 2017-01-02 17:34:36 -08:00
Markus Lampert
b8a74a7357 Fixed most of the state machine issues, still a problem with intersection of edges. Need to rebase. 2017-01-02 17:34:36 -08:00