Commit Graph

145 Commits

Author SHA1 Message Date
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
Patrick F
eae5d56cf9 [PATH] Bugfix centroid_post 2021-01-03 17:21:05 +01:00
Patrick F
ae761583a6 Updated centroid post 2021-01-02 21:37:32 +01:00
Russell Johnson
08ec99a24f Path: Fix isinstance() item.Proxy error
Some items in `objectList` do not contain a `Proxy` child and cause a fatal error in post processing with this post module.
2020-12-31 08:50:38 -06:00
luz paz
ff96cb301e Fix typos [skip ci]
Found via `codespell v2.1.dev0`
2020-12-23 14:32:38 -05:00
sliptonic
fb64d208bd Merge branch 'master' into posttodxf 2020-12-19 15:40:16 -06:00
Markus Lampert
73cd5d31d9 Disabled '... postprocessor loaded' messages 2020-12-15 20:09:55 -08:00
sliptonic
bcdc245a4c add debug. Fix arc error 2020-12-15 12:09:13 -06:00
sliptonic
4bb609d123 dxf post 2020-12-15 12:09:13 -06:00
luzpaz
22c652f766 Path: Added revision suggested by @cheenes
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
[skip ci]
2020-12-02 06:57:56 -05:00
luz paz
fe547195bf Path: Change filenames in the rest of the Path code
Reflects changes in 
* PathOpGui.SetupOperation()
* GetResources()
* sPIxmap
* pixmap
* *.UI files

Also contains minor translation context renames (these were edits made near to original intent of this commit)
2020-12-02 06:57:28 -05:00
luz paz
b75cd3dd52 Path: Fix header uniformity and remove trailing whitespace
This PR fixes header uniformity across all Path files. It also removes all trailing whitespace.
2020-11-05 19:57:21 +01:00
GaryH
75b8ff3665 Modify code format to PEP8
Add --marlin-config argument
  Marlin requires certain configuration settings in order to work well
  with FreeCAD. Those configuration settings will be added to the
  end of the gcode file as comments, when --marlin-config is entered
  as a post processor argument.
  For PEP8 conformity:
      Change some double-quotes to single-quotes.
      Change sequence of import statements.

Modify code format to PEP8
  Indentation and line length meet PEP8 requirements.
  Other aspects of PEP8 are partially implemented.

Add code to remove embedded comments
  Also, minor tweaks throughout

Change outstring to outList for clarity
  Change format_outstring to format_outList
  Change: if PathUtil.opProperty(obj, 'Active') is False:
    To: if PathUtil.opProperty(obj, 'Active') == False:

Format file to PEP8 standard
  Format first pass using:
    autopep8 --in-place --aggressive --aggressive
  Manually adjust format for better appearance
  Recheck format using http://pep8online.com/
  Change code related to pythonopen into with open() code
  Minor refactoring
2020-11-04 19:55:02 +01:00