Commit Graph

31 Commits

Author SHA1 Message Date
jffmichi
32e10828d4 add unit test for flipEdge with FirstParameter and LastParameter 2023-08-10 01:17:36 +02:00
mlampert
1c530b2634 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
998347e97f Started moving base classes into Path.Base module 2022-10-11 21:43:09 -07:00
Markus Lampert
934b0aaa07 Consistent black formatting of all Path python files 2022-02-28 21:06:16 -08:00
sliptonic
62ed39e010 Merge pull request #4443 from mlampert/bugfix/deburr-offset-part
[Path]: Added support for Part.OffsetCurve to flipEdge.
2021-02-14 17:36:01 -06:00
Markus Lampert
e5527025cc Added support for Part.OffsetCurve to flipEdge. 2021-02-11 22:58:37 -08:00
Markus Lampert
95ccfd4505 Fixed segmentation for unknown shapes, leaving that to the experts. 2021-02-11 21:29:52 -08: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
Markus Lampert
abb2865e3a Improved precision and stability of splitting an arc 2020-02-03 20:47:05 -08:00
Markus Lampert
eaa36b0338 pylint3 cleanup of unit tests 2019-07-09 21:41:33 -07:00
Markus Lampert
285efa3379 Dressup gui import cleanup 2019-06-02 11:30:18 -07:00
luz.paz
4cfda0c3a5 Misc. typos
Found via `codespell`
2019-02-08 11:01:24 -02:00
Markus Lampert
af4026bcd5 Added support for feeds and speeds to to cmdsForEdge. 2019-01-24 10:13:44 -02:00
luz.paz
be5e93ddfe Misc. typo & whitespace fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt --skip="*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./.git,./src/zipios++"`
Revert IFC commit
2018-07-11 21:52:27 -04:00
Markus Lampert
664b2da2ee Fixed flipping of an arc if the arc is rotated. 2018-07-06 22:08:46 -07:00
Markus Lampert
1b6d14a8df Added basic chamfer test case for offsetting a wire. 2018-07-06 22:08:46 -07:00
Markus Lampert
a605b6ea73 Fixed flipping of b-spline and enabled unit test for it. 2018-07-06 22:08:46 -07:00
Markus Lampert
d101111f64 Added flipping of edge to PathGeom. 2018-07-06 22:08:46 -07:00
Markus Lampert
b24e95b7c1 Removed PathGeom class and moved functionality into module interface. 2018-06-19 21:38:20 -07:00
Markus Lampert
36a82c690d Add support for full circles to PathGeom. 2018-06-15 11:32:06 -03:00
luz.paz
5f7df347f8 Path: misc. source comment typos 2018-04-25 11:03:10 +02:00
Markus Lampert
ce22fb30c6 Disableing bezier unit tests which seem to break depending on the version of occ/oce being used. 2017-09-28 11:27:47 -07:00
Markus Lampert
6bf9a9758f Added support for bezier curves for isHorizontal/isVertical. 2017-09-28 11:27:47 -07:00
Markus Lampert
19287fc8a2 Enhanced isVertical/isHorizontal functions accepting a Vector, and Edge or a Face now. 2017-09-28 11:27:46 -07:00
ml
886ba74bfd Fixed G2/3 command generation for flipped arcs. 2017-03-03 11:52:42 -03: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
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
sliptonic
23a2ee6927 PATH: fix cmake resort 2016-12-11 14:11:47 -06:00
Markus Lampert
0807eaf597 Added wire(s)ForPath functions with test. 2016-11-28 15:52:17 -08:00
Markus Lampert
fbc75d9797 Split out PathGeom and created test cases for it. 2016-11-28 15:11:24 -08:00