Close

Small update

A project log for Tonerless PCB Templates for UV Exposure

A method for creating long life reusable templates for UV exposing PC Boards

flcfl@C@ 04/11/2015 at 07:230 Comments

So, here's some updated setting I have been using to get better resolution from chilipeppr.... ( this is with my 1watt laser, so the cut speed is pretty high )

Inflate Milling Path By:
	positive +0.05
	negative -0.05

Advanced Inflating
	Inflate SMDs By
		positive checked -0.1
		negative checked -0.1
	Clip wires
		unchecked
	Remove Undefined SMDs
		unchecked
	Inflate Pads By
		checked -0.1
	Inflate Vias By
		unchecked 0

Depth of Milling Traces
	0
Feedrate for Milling Traces
	400
Feedrate for Plunge into Copper
	800
Clearance for Z Axis Moves
	0
Depth of Cutting Out Dimensions
	0
Step Down for Cutting Dimensions
	0
Feedrate for Cutting Dimensions
	400

And here's slightly upgraded python script that lets you use the input and output names as command line arguments.. Pretty basic still...and it still keys off the cut speed, so I need to find a better way...just haven't spent the time yet...

import os
import sys

total = len(sys.argv)
cmdargs = str(sys.argv)

inputFile = sys.argv[1]
outputFile = sys.argv[2]
	
if os.path.exists(outputFile):
    os.remove (outputFile)

outFile = open(outputFile, 'a')
with open(inputFile) as f:
    for line in f:
        if line.startswith( 'F400' ):
            outFile.write("M3"  + chr(13) + chr(10))
            print ('M3')
        if line.find( 'G0' ) != -1:
            outFile.write("M5"  + chr(13) + chr(10))
            print ('M5')
        outFile.write(line)
        print (line)
outFile.close()

Discussions