Commit Graph

17 Commits

Author SHA1 Message Date
Russell Johnson
5e852b1791 Path: Correct method name spelling error 2022-03-31 22:10:07 -05:00
Russell Johnson
dd76cabb34 Path: Correct beginning retraction to safe height feed rate, issue #6279 [Bug]
This commit changes the feed rate of the beginning retraction from G1 at Feed to a G0 Rapid rate.  This initial command is causing a problem with the Tag Dressup due to the first move being a G1 to Safe Height.
2022-03-12 12:18:09 -06:00
sliptonic
b39272cf96 dogbone, boundary, ramp entry dressup tranlation fixes 2022-01-25 09:58:51 -06:00
sliptonic
946944e1de Black - Job
Holding tag black

Feature extension black

Dressup boundary and dogbone black
2022-01-25 09:58:51 -06:00
Russell Johnson
86b4c626a7 Path: Add missing translate() function 2021-08-13 19:02:40 -05:00
Russell Johnson
30ea19a923 Path: Refactor PathBoundary algorithm to independent class
Relocate code for PathBoundary algorithm into an independent class allowing for usage without the Dressup object creation.
2021-08-13 19:02:40 -05:00
luz paz
b75cd3dd52 Path: Fix header uniformity and remove trailing whitespace
This PR fixes header uniformity across all Path files. It also removes all trailing whitespace.
2020-11-05 19:57:21 +01:00
luz paz
4344f6bc08 Fix typos in source comments
Found via `codespell`
2020-08-29 19:14:13 +02:00
J-Dunn
0c3006e77c prevent added paths creating tool crash #4260 #3028
In this path dressup a bogus machine position is used to get an initial edge, this results in a path element which does reflect the input path data and can lead to a tool crash. This PR checks whether X and Y actually come from the input path data and prevent new path elements being added until true machine position has been set. 
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=15&t=42820
2020-07-28 14:12:11 +01:00
Russell Johnson
a679356b48 Path: Add if edge: test clause
`If edge:` handles 'NoneType' edges returned from `PathGeom.edgeForCmd()`.
Includes some PEP8 formatting.
2020-05-13 21:55:06 -05:00
luz.paz
b3e42d103d [skip ci] fix follow-up typos 2020-03-06 14:50:35 +01:00
J-Dunn
c944aafc59 fix missing HorizFeed in boundaryDressup
fix missing HorizFeed in boundaryDressup  see bug #4260
2020-02-08 21:10:50 +00:00
Markus Lampert
a0d7174a3d Allow deletion of dressup even if model is not setup correctly. 2020-01-03 19:00:15 -08:00
Markus Lampert
e1d1f01991 Set feed rate on vertical boundary moves. 2019-11-29 22:15:38 -08:00
Markus Lampert
4a897d3f4f Fixed typo in onDelete 2019-11-05 19:18:39 -08:00
Markus Lampert
421e50ae87 PathBoundary editor filled with life. 2019-11-05 19:18:39 -08:00
Markus Lampert
a27a00064a Added boundary dressup to restrict path to another shape. 2019-11-05 19:18:39 -08:00