Commit Graph

198 Commits

Author SHA1 Message Date
Russell Johnson
b9694ee66e Path: Add 5 unit tests for importing gcode with gcode_pre 2022-03-29 20:57:31 -05:00
Russell Johnson
50117a57de Path: Simplify changes per developer conversations
Also update TestPathDepthParams.py to reflect simplification of changes.
Remove some comments.
Employ `sorted()` function per MLampert suggestion
2022-03-20 14:25:17 -05:00
Russell Johnson
6b9312c567 Path: Renumber unit tests per triple-digit schema
per request of Sliptonic
2022-03-20 14:25:15 -05:00
Russell Johnson
0c63eb2d94 Path: Add additional roughly-equal depths unit tests 2022-03-20 14:25:15 -05:00
Russell Johnson
abdb4eea86 Path: Fix roughly equal depth entries
Add code block to remove first of any two consecutive, roughly equal depth values (twin values).

Add two unit tests to support new code block and use cases.
2022-03-20 14:25:14 -05:00
Markus Lampert
c02dedbb3c Split out thread milling generator into its own file 2022-03-04 10:42:34 -08:00
sliptonic
69a17578d3 black format 2022-03-04 10:42:34 -08:00
Markus Lampert
fc668181c3 Fixed unit tests 2022-03-04 10:42:34 -08:00
Markus Lampert
eef8fd4f48 Fixed multi pass for external threads with proper lead in/out 2022-03-04 10:42:34 -08:00
Markus Lampert
a1117040b3 Changed passes for constant tool engagement 2022-03-04 10:42:34 -08:00
Markus Lampert
00d2341748 Disabled debugging comments 2022-03-04 10:42:34 -08:00
Markus Lampert
263eeffd71 Fixed lead in/out with elevator location. 2022-03-04 10:42:34 -08:00
Markus Lampert
c12748d8c4 Added thread generation unit tests and fixed finishing the thread 2022-03-04 10:42:34 -08:00
Markus Lampert
bdeb5776b0 First shot at external thread milling 2022-03-04 10:42:34 -08:00
Markus Lampert
37095fbf78 Consistent black formatting of all Path python files 2022-02-28 21:06:16 -08:00
Markus Lampert
122fd49b37 Remove pylint annotations and script 2022-02-28 21:02:45 -08:00
sliptonic
b072017c29 Make drillable detection ignore blind bottom facing holes
Toolchange gcode generation moved to generator
2022-01-31 13:09:43 -06:00
sliptonic
0be2903aca Toolchange generator 2022-01-31 13:09:43 -06:00
sliptonic
b6a8bcb375 Merge pull request #5405 from sliptonic/feature/helix_refactor
[Path] Feature/helix refactor
2022-01-22 13:09:36 -06:00
sliptonic
b64e7c6600 Unit test breaks due to tolerance issue. Disable this test 2022-01-22 08:54:42 -06:00
sliptonic
a6c4dfa66d Helix refactor for generator 2022-01-20 17:26:30 -06:00
sliptonic
55a49e1db6 helper to split arcs 2022-01-20 11:40:37 -06:00
sliptonic
2640fea282 basic retraction handling 2022-01-19 13:19:10 -06:00
sliptonic
a13c003e66 cleanup for readability. More forgiving of input.
Move to center if possible before retract
2022-01-19 13:19:10 -06:00
sliptonic
60f304bf15 Added another test to drill generator and corresponding test case 2022-01-19 13:19:10 -06:00
sliptonic
199e5264cd helix generator shouldn't assume flip.
shortend test case
2022-01-19 13:18:15 -06:00
Russell Johnson
e6631679cc Path: Append unit tests for helix generator 2022-01-19 13:18:15 -06:00
sliptonic
7e1b4cb291 Helix Generator and Testing 2022-01-19 13:18:15 -06:00
sliptonic
f737930d2f Test case for filterArcs 2022-01-16 12:37:14 -06:00
sliptonic
95a83c811b fix feedrate update
Fix machinestate to handle drill moves and tests
move feed and rapid declarations to PathGeom
2022-01-15 15:36:12 -06:00
sliptonic
18582ff9af Make CircularHoleBase use drillableLib
debugs

remove deprecated PathUtils.isDrillable

drillableLib cmake

make PathProfile use new drillableLib
2022-01-15 15:34:17 -06:00
sliptonic
69d2ce2501 Helpers and tests
Drillable lib and Tests
2022-01-15 15:27:53 -06:00
luz paz
01c5475eae Path: fix source comment typo 2021-12-30 01:08:16 +01:00
luz paz
63138c67ea Path: fix file header uniformity 2021-12-10 02:36:56 +01:00
sliptonic
8a5aaf35a3 Merge pull request #5217 from sliptonic/feature/rotationgenerator
[PATH] rotation generator and tests
2021-12-02 15:40:06 -06:00
sliptonic
4c31c729c0 draft generator and tests 2021-12-01 13:15:09 -06:00
sliptonic
3b9dfeb672 Merge pull request #5205 from sliptonic/bug/depthsteps
[PATH]  depthparams handles negative steps and finish step correctly. Unit tests
2021-11-26 20:24:25 -06:00
sliptonic
03f05b5ef9 make sure depthparams handles negative steps and finish step correctly
revised test
2021-11-26 13:27:44 -06:00
Zheng, Lei
27f24c069d Test: fix test case
Adding dynamic property with an invalid name or existing name is now an
error, because there is no easy way for Python code to find out the name
of a property if it is auto renamed.
2021-11-21 19:03:53 -06:00
sliptonic
3c094e3d38 Drill Generator and testing 2021-11-08 18:57:16 -06:00
Przemo Firszt
f950cfab7b [UnitTest] Replace deg symbol with deg
unittest cannot handle the symbol on some systems. deg is a safe
solution.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2021-09-21 15:16:13 +02:00
luz paz
c1a8d2cb02 Path: fix various typos and superfluous whitespace
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,ontop,orgin,orginx,orginy,ot,pard,parms,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml,./build/doc/SourceDocu`
2021-07-30 11:53:22 -04:00
Russell Johnson
249b3f5133 Path: Close Adaptive geometry source file upon unit test completion 2021-07-24 21:59:05 -05:00
Russell Johnson
6b822558e6 Path: Improve comments and docStrings 2021-07-24 11:00:17 -05:00
Russell Johnson
33650efbe8 Path: Delete dead code and comments 2021-07-24 10:59:43 -05:00
sliptonic
9d5c9cdc80 Merge pull request #4917 from Russ4262/fix/Adaptive_process_edges
[Path] Adaptive: Correct the processing of selected edges
2021-07-23 12:35:08 -05:00
Russell Johnson
6108f9982e Path: Add some Adaptive unit tests
Also includes alphabetical sort of affected lists in CMakeLists and TestPathApp files.

Unit tests focus around feature selection capabilities.
2021-07-22 23:16:53 -05:00
Schildkroet
3e801a02eb Merge branch 'master' into deburr_improve 2021-05-29 21:40:11 +02:00
Markus Lampert
a589be64d9 Dogbone resiliency against noop moves 2021-03-15 22:39:27 -07:00
Markus Lampert
eb91c02925 Dogbone resiliency against comments between moves 2021-03-15 22:39:18 -07:00