Commit Graph

15 Commits

Author SHA1 Message Date
mlampert
ebc1190d8b PATH: Feature/dogbone ii (#7660)
* Start of new dogbone dressup

* Added Instruction and tangents support for G2/3 moves

* Added Maneuver class to represent a set of moves and process them coherently

* Created kinks and verify their creation.

* Added dogbone detection and verification

* Simplified gcode strings

* Added horizontal t-bones generation

* Added support for vertical t-bone

* Consolidated t-bone creation

* Added support for pathLength

* Added support for tbone on short edge

* Added support for long edges

* Added support for dogbones

* Fixed dogbone for non-horizontal lead-in

* Horizontal bone adaptive length tests

* Fixed dogbone angle and adaptive length

* Some code cleanup

* Added adaptive length tests for dogbones

* Split base data classes into their own PathLanguage module.

* Splitting dogboneII implementation into its constituents

* Moved adaptive length into DogbonII module

* Separate dogboneII generator test cases and changed interface to allow for dynamic length calculations

* Unit tests for length calculation

* Initial DogboneII unit test

* Unit tests and fixes for plunge move handling

* Unit tests for the remaining styles and incision strategies

* Basic DogboneII gui

* Added support for markers

* Better color and selection scheme for markers

* Cleaned up import statements

* Added DogboneII to Path WB init

* Support for dogbone on dogbone and fixed t-bone generation

* Fixed t-bone on short leg bones

* Fixed tbone on short edge when short edge is m1

* Fixed t-bone on long edge for m0/m1 and CW/CCW

* Removed redundant code

* Removed redundant 'Dress-up' from menu entries

* black code formatting

* added generator to cmake

* Fixed typos
2022-11-02 15:25:09 -05:00
Markus Lampert
5ca5a94f5e Move Path.Base and Path.Base.Gui refactoring 2022-10-11 21:43:09 -07:00
Markus Lampert
2b4fc1223f Fixed handling of App::PropertyPercent in SetupSheet save/load 2022-09-06 21:23:12 -07:00
Uwe
6aa7b0d761 [Path] remove check for python 2 2022-07-23 15:12:35 +02:00
Markus Lampert
37095fbf78 Consistent black formatting of all Path python files 2022-02-28 21:06:16 -08:00
luz paz
60c055e62d 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
Markus Lampert
db275288d9 pylint3 cleanup of unit tests 2019-07-09 21:41:33 -07:00
markus
4cf08f685d Fixing unit tests for more conservative height settings. 2018-09-02 00:32:22 -07:00
Markus Lampert
3a1cf6d811 Using UserString for comparison instead of the actual value to avoid rounding errors depending on the unit-system used. 2018-03-25 12:34:51 +02:00
plgarcia
da79e1ff86 Very minor problem. Test of sheets is impacted by the locale. The decimal separator may be , instead of .
An assertEqualLocale function has been added to replace , by . in the values impacted by the locale with before comparison with the expected string containing a . as decimal separator.

Works fine
2017-11-18 22:04:57 +01:00
Markus Lampert
3e9d9ab428 Fixed more python 2/3 unicode issues. 2017-10-22 19:50:30 -07:00
Markus Lampert
97799f0e9e Fixed all ops to use Op...Depth in order to not mess with the expressions. 2017-10-22 11:24:58 -07:00
Markus Lampert
e2b48fa229 Replaced spreadsheet with dedicated SetupSheet object in order to better support expression setting. 2017-10-22 11:24:58 -07:00
Markus Lampert
1c2bf878af Reverted back to using the spreadsheet Name for the expression, since it has less issues than using the Label. 2017-10-22 11:24:58 -07:00
Markus Lampert
f4405d51d5 Added template attribute encoding/decoding for setup sheet label changes. 2017-10-22 11:24:58 -07:00