Commit Graph

157 Commits

Author SHA1 Message Date
luz paz 786741c0c0 Fix various 'testing inequality to None' syntax issues
Substitute `is not None` for `!= None`
2022-07-31 14:11:48 +02:00
Uwe 3a50f95be4 Mod: remove some superfluous Boolean checks (#7213)
* Mod: remove some superfluous Python Boolean checks
2022-07-19 01:35:12 +02:00
LarryWoestman 62d8d8b993 Path: Added 4 refactored postprocessors and postprocessor tests. 2022-07-11 15:09:15 -07:00
LarryWoestman 8265de7b55 Path: Moved all of the global values to a dictionary named "values". 2022-07-11 15:09:14 -07:00
janne 349c6be995 #6871 Use the variable 'cam_file' instead of trying to read an non-existing document. 2022-05-11 19:30:06 +02:00
sliptonic b4cb34c4d3 Merge pull request #6872 from JanneKro/master
#6871 - Certain PostProcessors spam errors and other output
2022-05-11 10:43:34 -05:00
janne 55f1222bc2 Remove '<post_processor_name> gcode postprocessor loaded.' message from the post-processors that have them. 2022-05-11 16:26:05 +02:00
janne 0f7cb192d5 Do not read filename of document when it isn't open. 2022-05-11 16:17:06 +02:00
Gauthier e1b00be15c T, H and S GCode parameters are integers, not float numbers. 2022-05-11 11:47:48 +02:00
Uwe 2714e682db [Path] manual merge of #6580 2022-04-04 01:42:41 +02:00
Russell Johnson e82283bd5b Path: Refactor insert() function and catch exceptions
Path: Add method to verify dependencies for import
Path: Add label to Custom op referencing imported filename when available
Path: Fix module for command-line usage
2022-03-29 20:57:31 -05:00
Markus Lampert d52fc71663 Blanket black formatting for Path python files 2022-03-20 13:23:48 -07:00
Markus Lampert 934b0aaa07 Consistent black formatting of all Path python files 2022-02-28 21:06:16 -08:00
Markus Lampert 8583894284 Remove pylint annotations and script 2022-02-28 21:02:45 -08:00
SamuelMayer 020998cf41 added KineticNC_post.py 2022-02-17 11:22:30 +01:00
S_Mayer 4969f8c625 Add files via upload
Was asked to make a pull request for this postprocessor here: https://forum.freecadweb.org/viewtopic.php?f=15&t=57003&p=568889#p568889 
so I did.
2022-02-06 17:58:50 +01:00
sliptonic 9db8340ff8 fix default unit string for mm/min 2022-01-26 10:46:05 -06:00
sliptonic 0d63b87f75 Fix bug with dxf post missing params. 2022-01-07 11:03:25 -06:00
sliptonic 039d52f01b Merge pull request #5350 from jimzim111/Path_Post_MachineCommands
Path: PathArray: use python library 're' instead of 'regex'
2022-01-07 09:06:13 -06:00
jim 34415c6946 use python library 're' instead of 'regex' for portability 2022-01-06 21:06:15 -08:00
sliptonic 5052809d2b Merge pull request #5228 from P-C-R/RRF-PP-for-Path
Path | RRF (RepRapFirmware | Duet Boards) PP
2022-01-06 18:18:02 -06:00
jim c461af19c3 check for gcode comments that contain controller-specific commands to include 2022-01-04 22:23:15 -08:00
luz paz dc288a7ade Fix more typos + whitespace fix and added 'TODO'
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,childrens,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,oce,oder,ontop,orgin,orginx,orginy,ot,pard,parm,parms,pres,programm,que,rady,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`
2022-01-04 18:57:56 -06:00
sliptonic 12a5774ab7 newline characters 2022-01-04 17:34:09 -06:00
sliptonic 268203103d translation cleanup (postprocessing files) 2022-01-04 13:49:27 -06:00
sliptonic f3eceb3f4a Black reformat (postprocessing files) 2022-01-04 13:34:22 -06:00
P-C-R 698fe21c0f Update rrf_post.py 2021-11-15 08:20:06 +01:00
P-C-R 8e27e8010f Bugfix for "Before Tool Change" Commands 2021-11-15 08:15:07 +01:00
luz paz 3da6ced354 Fix header uniformity 2021-11-13 06:20:19 -05:00
P-C-R 6f087718f6 Upload of a PP for RRF (RepRapFirmware)
Modified Marlin PP for RRF.
2021-11-03 15:33:51 +01:00
Chris Hennes be5971ad8e Path: LGTM - don't catch BaseException 2021-09-19 14:37:11 -05:00
ho-ho-ho baafa2a0c4 Update grbl_post.py
Append new line to return-to line
2021-08-21 12:36:47 +02:00
sliptonic eef30446aa Merge pull request #4936 from ho-ho-ho/master
Path: fix grbl --return-to placement
2021-08-02 10:29:58 -05:00
luz paz 427a2ab8d6 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
ho-ho-ho d2c170a929 Path: fix grbl --return-to placement 2021-07-23 16:48:30 +02:00
luz paz 261c06a052 Fix misc. typos
Found via 
```codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,ba,beginn,behaviour,bloaded,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,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,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-06-03 14:36:21 -04:00
sliptonic f1d7a4277d removed PathUtils import from all post-processors to avoid the deleted proxy error
I removed or commented out code using this import.  In all cases,
the import was used to get descriptive information from the Job
2021-05-28 13:04:16 -05:00
luz paz 15c16610c8 fix source comment typos [skip ci]
Found via  codespell v2.1.dev0
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,ba,beginn,behaviour,bloaded,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,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,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-03-28 10:57:24 +02:00
sliptonic 182a578c43 Merge pull request #4664 from papaathome/uccnc_postprocessor
Path: Added UC-CNC postprocessor script.
2021-03-26 15:26:05 -05:00
andre 19fa532e2a Aplied Flake8 formatting and removed redundant global declarations.
Line limit used: 100 characters, still 3 lines longer than that.
2021-03-26 17:53:02 +01:00
andre 5abd19f121 Included bugfix as in FreeCAD PR. #4673 'Fix proxy error bug that occurs when postprocessing' (review recommendation) 2021-03-26 09:33:40 +01:00
andre 232969348a Added UC-CNC postprocessor script. 2021-03-24 17:13:42 +01:00
Claas Ahlrichs f0f25af3f5 Update grbl_post.py 2021-03-20 10:27:46 +01:00
Stefano Chiaro d9ed0191d8 Update src/Mod/Path/PathScripts/post/heidenhain_post.py
Co-authored-by: Benjamin Nauck <benjamin@nauck.se>
2021-02-20 11:37:08 -06:00
Stefano Chiaro ca06ab24a5 Update heidenhain_post.py
fixed pol_Angle
2021-02-20 11:37:08 -06:00
sliptonic 2e1c00e4fe add back translation string 2021-02-19 17:50:56 -06:00
sliptonic 097b2c982e Fixes #4555 2021-02-17 17:21:50 -06:00
sliptonic f70f9572fe Merge pull request #4297 from shadowbane1000/fanuc-1st-pass
[PATH] First pass at a post processor for Fanuc
2021-01-27 13:05:26 -06:00
ci4ic4 cbb0a8a11c Update philips_post.py
You can't compare dict with an integer.
2021-01-27 11:51:42 +00:00
Tyler Colbert 6a07fb6237 [PATH] First pass at a post processor for Fanuc controllers 2021-01-20 14:18:47 -07:00