Commit Graph

689 Commits

Author SHA1 Message Date
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
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
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
068dc2d72d Reduced logging. 2017-01-02 17:34:36 -08:00
Markus Lampert
d6c588e57b Added resiliancy against vertical path elements. 2017-01-02 17:34:36 -08:00
Markus Lampert
c1fc88c6a3 Fixed caching issue. 2017-01-02 17:34:36 -08:00
Markus Lampert
6b758e2714 Added support for vertical paths along the edge of a cylindrical tag. 2017-01-02 17:34:36 -08:00
Markus Lampert
ab382ce436 Improved tag height based on obj.Base properties, if they exist. 2017-01-02 17:34:36 -08:00
Markus Lampert
5e1efba512 Fixed generation and edge case where there is no wire to cut the tag. 2017-01-02 17:34:36 -08:00
Markus Lampert
1635d73b1b 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
b26a7ad794 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
9eca75e673 Added pixellation of arbitrary path curve. 2017-01-02 17:34:36 -08:00
Markus Lampert
e807094eda Create cones for debugging cone shaped tags. 2017-01-02 17:34:36 -08:00
Markus Lampert
f294821f9d Use PathGeom for holding tags dressup. 2017-01-02 17:34:36 -08:00
Markus Lampert
0fabe5c079 Fixed helix construction. 2017-01-02 17:34:36 -08:00
Markus Lampert
a3ae53a82b Added arcToHelix. 2017-01-02 17:34:36 -08:00
Markus Lampert
198ab6db2e Rebase on new Line/LineSegment code. 2017-01-02 17:34:36 -08:00
Markus Lampert
23196b4c69 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
Markus Lampert
4a810bc107 Support for arcs and helix with tests. 2017-01-02 17:34:36 -08:00
Markus Lampert
6462d775e3 Added support for arcs on square tags. 2017-01-02 17:34:36 -08:00
Markus Lampert
88e9d26ecb Added HoldingTags dressup with tests, using PathGeom and PathTestUtils. 2017-01-02 17:34:36 -08:00
Lorenz Hüdepohl
cfb2020786 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2017-01-01 17:39:55 +01:00
wwmayer
f22f5c819e Merge pull request #407 from dev-at-stellardeath-org/linuxcnc_post_without_gui
Path: linuxcnc_post without GUI
2016-12-31 12:18:56 +01:00
Lorenz Hüdepohl
72f9ec67e7 Path: Fix GUI race condition in helix task panel checkboxes 2016-12-31 00:02:22 +01:00
Lorenz Hüdepohl
32bcc0a579 Rebase onto current master 2016-12-30 22:47:47 +01:00
Lorenz Hüdepohl
2d6ea99035 PathHelix: Add GUI list with selected features 2016-12-30 22:47:47 +01:00
Lorenz Hüdepohl
6ad0a1f64b PathHelix: "Cancel" and some logic in task panel
- "Cancel" now restores the original values as it should.
- The various mutually exclusive uses of UseStartDepth, UseFinalDepth
  and ThroughDepth are now reflected in the GUI by grayed-out components
2016-12-30 22:47:47 +01:00