Commit Graph

258 Commits

Author SHA1 Message Date
jffmichi
32e10828d4 add unit test for flipEdge with FirstParameter and LastParameter 2023-08-10 01:17:36 +02:00
wmayer
f803f148af Path: fix test failure with MSYS2 build
The two path names have different path separators and thus are considered as different
2023-08-01 11:05:30 +02:00
Robert Schöftner
c3b5dd60d0 Hopefully more stable test pattern / path 2023-06-28 11:16:24 +02:00
Robert Schöftner
2a1fc03f82 Path: fix g-code orientation Path.Op.Profile in case effective offset is 0.0 2023-06-27 17:15:04 +02:00
sliptonic
9f586ade85 fix copyright on FreeCAD model file
for #8894
2023-04-24 17:07:40 -05:00
sliptonic
fd344066c7 Change file license to CC4.0
I have discussed with mlampert via email and he agreed to all changes
2023-03-23 23:55:10 +01:00
sliptonic
fc3e1fe70e Path Update license to CC 4.0 2023-03-16 19:49:40 +01:00
Russell Johnson
ca1312c8ad Path: Update license
Addresses user-specific need in #8894
2023-03-16 17:46:27 +01:00
LarryWoestman
0fcfb2206e Path: Updated the licensing to Creative Commons 4.0 2023-03-16 16:33:47 +01:00
sliptonic
49e1f8a531 Merge pull request #8151 from LarryWoestman/staging
Path:  Added more tests and fixed some parameter handling, refactored axis and feed number formatting.
2023-01-16 16:33:47 -06:00
sliptonic
f3bbd8ddce Merge pull request #8186 from mlampert/bugfix/issue-8185-deburr-offset-calculation
[Path] Bugfix/issue 8185 deburr offset calculation
2023-01-16 16:14:25 -06:00
Markus Lampert
39646e39e0 Fixed offset and depth calculation for Deburr op 2023-01-15 17:18:25 -08:00
Markus Lampert
dfb08cda3f Renamed Deburr test suite 2023-01-15 17:18:25 -08:00
0penBrain
81543911d4 Path: fix bug in Path Gui tests 2023-01-14 12:01:26 +01:00
LarryWoestman
49249b8ed4 Path: Added more tests and fixed some parameter handling.
Refactored axis and feed number formatting.
       Used "with" for file writes, removed "pythonopen".
2023-01-12 13:33:43 -08:00
LarryWoestman
b5a41d9a68 Path: Reformatted to a line length of 88 using black.
Incorporating feedback; now using f-strings all over.
           Incorporating changes from feedback.
           Incorporated more refactoring feedback.
           Changes for Path refactoring.
2022-12-31 09:20:51 -08:00
Markus Lampert
6074bbdf86 Moved test file opening into instance methods so they don't get loaded unless used. 2022-12-25 17:43:00 -08:00
LarryWoestman
2a0e865bbd Path: Changes for Path refactoring to fix regressions. 2022-11-09 14:33:25 -08: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
sliptonic
cdc3e5466f Typo in Adaptive test 2022-10-13 14:09:51 -05:00
sliptonic
126c8a48db fix codespell warnings 2022-10-12 10:00:33 -05:00
Markus Lampert
b4bfefbd56 Full recompute on test file 2022-10-11 21:43:09 -07:00
Markus Lampert
40864ee2d5 Fixed unit test files by re-creating the appropriate jobs 2022-10-11 21:43:09 -07:00
Markus Lampert
6b55f34abe Moved remaing files out of PathScripts 2022-10-11 21:43:09 -07:00
Markus Lampert
a1b3319bdf Moved generators into Path.Base.Generator module 2022-10-11 21:43:09 -07:00
Markus Lampert
d6293308b4 Moved the rest of the operations into Path.Op (.Gui) module 2022-10-11 21:43:09 -07:00
Markus Lampert
16c969c5a3 Move Path.Base and Path.Base.Gui refactoring 2022-10-11 21:43:09 -07:00
Markus Lampert
998347e97f Started moving base classes into Path.Base module 2022-10-11 21:43:09 -07:00
Markus Lampert
9925c71d36 Renamed Path.Tools module to Path.Tool 2022-10-11 21:43:08 -07:00
Markus Lampert
29a7dc144e Removed deprecated and obsolete Path.Tool and Path.Tooltable 2022-10-11 21:43:08 -07:00
Markus Lampert
2b36448575 Removed obsolete path profile implementations 2022-10-11 21:43:08 -07:00
Markus Lampert
6da2c338df Moved all Path operations with model and gui into Path.Op module 2022-10-11 21:43:08 -07:00
Markus Lampert
4b205943bc Moved dressups into Path.Dressup module 2022-10-11 21:43:08 -07:00
Markus Lampert
8cfe5d7d7d Moved Path ToolBit and Controller into Path.Tools module 2022-10-11 21:43:08 -07:00
Markus Lampert
9037e497db Moved post processing files into new Path python module 2022-10-11 21:43:08 -07:00
Markus Lampert
253d494f17 Moved PathAdaptive into new Path.Op module 2022-10-11 21:43:08 -07:00
Markus Lampert
19a7d85595 Fixed path log unit tests 2022-10-11 21:43:08 -07:00
Markus Lampert
a5a284b148 Moved PathLog to Path.Log and import it by default 2022-10-11 21:43:08 -07:00
LarryWoestman
9b322be497 Path: Allow error diff's to be as long as necessary. 2022-09-10 09:29:58 -07:00
LarryWoestman
3ee55aa2e7 Path: Fixed test00010 sensitivity to terminal column count. 2022-09-10 09:29:58 -07:00
Markus Lampert
d22a880fc9 Fixed handling of App::PropertyPercent in SetupSheet save/load 2022-09-06 21:23:12 -07:00
LarryWoestman
0f698bb9ac Path: Removed the comparison-style postprocessor tests.
Added the ability to output possible arguments to a file.
       Added more tests and fixed some parameter handling.
       Added 4 refactored postprocessors and postprocessor tests.
       Refactored to reduce copyitis, added G73 support
       Re-ordered parameter parsing to better match all postprocessors
2022-09-04 15:22:57 -07:00
Markus Lampert
0200c8d70a Fixed radii calculations and their processing for external threads 2022-08-07 18:01:07 -07:00
Markus Lampert
1e8d1c621c Fixed external thread milling orientation and direction 2022-08-07 18:01:07 -07:00
Markus Lampert
729c24b0f1 Moved voronoi classes into Path.Voronoi module. 2022-08-02 13:32:25 -07:00
Markus Lampert
79021f4913 Renamed python class Voronoi to VoronoiDiagram 2022-08-02 13:32:25 -07:00
Uwe
e61874be5a [Path] remove unnecessary Python check
we only support Python 3
2022-07-31 05:27:03 +02:00
Uwe
cce5de8087 [Path] remove check for python 2 2022-07-23 15:12:35 +02:00
sliptonic
ff1e995f30 Generator can produce G73 (chipbreak) commands instead of G83.
Add tests
2022-07-16 11:30:16 -05:00
LarryWoestman
e7a8fd18e0 Path: Reformatted to a line lenght of 88 using black. 2022-07-11 15:09:15 -07:00