Commit Graph

184 Commits

Author SHA1 Message Date
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
Markus Lampert
02c0a6dd7b Don't insert dogbone between two straight segments 2021-03-15 22:39:09 -07:00
mlampert
11bfb431d2 Merge branch 'master' into bugfix/toolbit-properties-alignment 2021-02-15 16:03:28 -08:00
Markus Lampert
0342e6360d Removed obsolete preference api 2021-02-15 22:15:17 +01:00
Markus Lampert
abca623803 Only use IconViewProvider in PathStock when required. 2021-02-15 12:21:33 -08:00
sliptonic
08ea37c3b4 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
Patrick F
5c119906cf [PATH] Fixed tests 2021-02-13 22:02:10 +01:00
Markus Lampert
8bd4f0889b Added support for Part.OffsetCurve to flipEdge. 2021-02-11 22:58:37 -08:00
Markus Lampert
eeb91c6798 Fixed segmentation for unknown shapes, leaving that to the experts. 2021-02-11 21:29:52 -08:00
Markus Lampert
82a519277d Added support for deleting empty groups from the property bag's group tracking. 2021-01-26 19:46:06 -08:00
Markus Lampert
57689bd2cd Added commit to explain the purpose of dumping the directory tree 2021-01-26 18:14:09 -08:00
Markus Lampert
1c3f08d4eb Added test case to determine directory layout. 2021-01-26 18:14:09 -08:00
Markus Lampert
fccc7e6875 Adapted client code to use new findTool... api and fixed test cases. 2021-01-26 18:14:09 -08:00
Markus Lampert
495732ae6c Changed tool-bit search path to either absolute, local install or relative to context path 2021-01-26 18:14:09 -08:00
Markus Lampert
89b63f4d53 Fixed unit test for ToolTable rename 2020-12-31 20:43:40 -08:00