Commit Graph

157 Commits

Author SHA1 Message Date
luz paz
bf030f76aa Fix various 'testing inequality to None' syntax issues
Substitute `is not None` for `!= None`
2022-07-31 14:11:48 +02:00
Uwe
32ab100ed5 Mod: remove some superfluous Boolean checks (#7213)
* Mod: remove some superfluous Python Boolean checks
2022-07-19 01:35:12 +02:00
LarryWoestman
b2a7654c31 Path: Added 4 refactored postprocessors and postprocessor tests. 2022-07-11 15:09:15 -07:00
LarryWoestman
15360abc95 Path: Moved all of the global values to a dictionary named "values". 2022-07-11 15:09:14 -07:00
janne
875dc2ceff #6871 Use the variable 'cam_file' instead of trying to read an non-existing document. 2022-05-11 19:30:06 +02:00
sliptonic
f2b1bd1c24 Merge pull request #6872 from JanneKro/master
#6871 - Certain PostProcessors spam errors and other output
2022-05-11 10:43:34 -05:00
janne
a21d7c73c1 Remove '<post_processor_name> gcode postprocessor loaded.' message from the post-processors that have them. 2022-05-11 16:26:05 +02:00
janne
943883ccfa Do not read filename of document when it isn't open. 2022-05-11 16:17:06 +02:00
Gauthier
f8a6db02f5 T, H and S GCode parameters are integers, not float numbers. 2022-05-11 11:47:48 +02:00
Uwe
78488f21b4 [Path] manual merge of #6580 2022-04-04 01:42:41 +02:00
Russell Johnson
5c5e513781 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
115fbd68bb Blanket black formatting for Path python files 2022-03-20 13:23:48 -07: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
SamuelMayer
04acaf57a4 added KineticNC_post.py 2022-02-17 11:22:30 +01:00
S_Mayer
22e2834fce 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
1f715ac80e fix default unit string for mm/min 2022-01-26 10:46:05 -06:00
sliptonic
0c9ef48b96 Fix bug with dxf post missing params. 2022-01-07 11:03:25 -06:00
sliptonic
829d69ae6d 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
60e36a0a30 use python library 're' instead of 'regex' for portability 2022-01-06 21:06:15 -08:00
sliptonic
2edfc6abf4 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
a1c7acbf13 check for gcode comments that contain controller-specific commands to include 2022-01-04 22:23:15 -08:00
luz paz
daa508a55c 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
f670fd3c86 newline characters 2022-01-04 17:34:09 -06:00
sliptonic
bfaca44221 translation cleanup (postprocessing files) 2022-01-04 13:49:27 -06:00
sliptonic
0cbafaf270 Black reformat (postprocessing files) 2022-01-04 13:34:22 -06:00
P-C-R
d7c1de814d Update rrf_post.py 2021-11-15 08:20:06 +01:00
P-C-R
bc3e8fbbc7 Bugfix for "Before Tool Change" Commands 2021-11-15 08:15:07 +01:00
luz paz
91b4207cba Fix header uniformity 2021-11-13 06:20:19 -05:00
P-C-R
42e888c7d9 Upload of a PP for RRF (RepRapFirmware)
Modified Marlin PP for RRF.
2021-11-03 15:33:51 +01:00
Chris Hennes
38eb31e01d Path: LGTM - don't catch BaseException 2021-09-19 14:37:11 -05:00
ho-ho-ho
b777d53736 Update grbl_post.py
Append new line to return-to line
2021-08-21 12:36:47 +02:00
sliptonic
9fece99403 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
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
ho-ho-ho
4d0b034a2d Path: fix grbl --return-to placement 2021-07-23 16:48:30 +02:00
luz paz
016989e992 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
21a830a816 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
1a40cdfd43 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
03964c7200 Merge pull request #4664 from papaathome/uccnc_postprocessor
Path: Added UC-CNC postprocessor script.
2021-03-26 15:26:05 -05:00
andre
19a5fbb72d 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
bae362993c 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
e8b971a75c Added UC-CNC postprocessor script. 2021-03-24 17:13:42 +01:00
Claas Ahlrichs
02b4a27ff4 Update grbl_post.py 2021-03-20 10:27:46 +01:00
Stefano Chiaro
947dc038db 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
f7de07a522 Update heidenhain_post.py
fixed pol_Angle
2021-02-20 11:37:08 -06:00
sliptonic
586b2e6aa7 add back translation string 2021-02-19 17:50:56 -06:00
sliptonic
9ab32df926 Fixes #4555 2021-02-17 17:21:50 -06:00
sliptonic
a631f45e31 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
4ed7665b13 Update philips_post.py
You can't compare dict with an integer.
2021-01-27 11:51:42 +00:00
Tyler Colbert
98c2861864 [PATH] First pass at a post processor for Fanuc controllers 2021-01-20 14:18:47 -07:00