Thingiverse
Eagle PCB - HPGL to Gcode Converter - Powershell
von mr2clean
20
Downloads
12
Likes
0
Makes
Output Gcode is good to be used with your 3dPrinter, use your 3dprinter as a pen plotter.
Extruder is excluded from gcode.
Generate your HPGL-code from Eagle PCB and convert it to Gcode with this PowerShell script.
[Update] - To disable circle ("AA") translation to gcode set - "-GenerateCircles" to "No"
In Eagle PCB: Open your board layout and choose, File->CAM Processor->Output "HPGL"
Usage:
Load script
1. Save the script to "C:\temp\Convert-HpglToGcode.ps1"
2. Open powershell and navigate to "C:\temp" (cd C:\temp)
3. Paste the following in the powershell window ". .\Convert-HpglToGcode.ps1"
4. Run the command below
eg. 'Convert-HpglToGcode -Source "C:\Temp\InputFile.hpgl" -Destination "C:\Temp\OutputFile.gcode"'
Minimum req:
Convert-HpglToGcode -Source "C:\Temp\InputFile.hpgl" -Destination "C:\Temp\OutputFile.gcode"
Optional switches:
#HPGL units per mm, default is 40.2
-HpglUnitsPerMM "40.2"
#Set printer/cnc speed
-Speed "500"
#home all
Extruder is excluded from gcode.
Generate your HPGL-code from Eagle PCB and convert it to Gcode with this PowerShell script.
[Update] - To disable circle ("AA") translation to gcode set - "-GenerateCircles" to "No"
In Eagle PCB: Open your board layout and choose, File->CAM Processor->Output "HPGL"
Usage:
Load script
1. Save the script to "C:\temp\Convert-HpglToGcode.ps1"
2. Open powershell and navigate to "C:\temp" (cd C:\temp)
3. Paste the following in the powershell window ". .\Convert-HpglToGcode.ps1"
4. Run the command below
eg. 'Convert-HpglToGcode -Source "C:\Temp\InputFile.hpgl" -Destination "C:\Temp\OutputFile.gcode"'
Minimum req:
Convert-HpglToGcode -Source "C:\Temp\InputFile.hpgl" -Destination "C:\Temp\OutputFile.gcode"
Optional switches:
#HPGL units per mm, default is 40.2
-HpglUnitsPerMM "40.2"
#Set printer/cnc speed
-Speed "500"
#home all
Hast du dieses Modell gedruckt? Einloggen und dein Make teilen!
Melde dich an, um einen Kommentar zu hinterlassen
AnmeldenNoch keine Kommentare – sei der Erste!