Hi all
I am trying to get the CAM processor to export gerber 274-x files using mm
instead of inches but i cannot seem to do it, does anyone know how?
Thank you
Hi all
I am trying to get the CAM processor to export gerber 274-x files using mm
instead of inches but i cannot seem to do it, does anyone know how?
Thank you
Zaid schrieb:
Hi all
I am trying to get the CAM processor to export gerber 274-x files using
mm instead of inches but i cannot seem to do it, does anyone know how?
Thank you
Add in eagle.def:
Type = PhotoPlotter
Long = "Gerber photoplotter"
Init = "G01\nX000000Y000000D02\n"
Reset = "X000000Y000000D02\nM02\n"
ResX = 25400
ResY = 25400
;Wheel = ""
Move = "X%0.6dY%0.6dD02*\n" ; (x, y)
Draw = "X%0.6dY%0.6dD01*\n" ; (x, y)
Flash = "X%0.6dY%0.6dD03*\n" ; (x, y)
Aperture = "%s*\n" ; (Aperture code)
Units = mm
Decimals = 4
Info = "Plotfile Info:\n"\
"\n"\
" Coordinate Format : 3.3\n"\
" Coordinate Units : mm\n"\
" Data Mode : Absolute\n"\
" Zero Suppression : None\n"\
" End Of Block : *\n"\
"\n"
@GERBER_MM_33
Long = "Gerber photoplotter with automatic aperture wheel
generation"
Wheel = "" ; avoids message!
AutoAperture = "D%d" ; (Aperture number)
FirstAperture = 10
Decimals = 4
Units = mm
@GERBERAUTO_MM_33
Long = "Gerber photoplotter with RS-274-X aperture generation"
Units = mm
Init = "G75*\n" \ allow positive and negative coordinates
"G71*\n" \ units are mm
"%%OFA0B0*%%\n" \ horizonal and vertical OFfset is 0
"%%FSLAX33Y33*%%\n"\ Format Statement is Absolute (I for
incremental) 3.3
"%%IPPOS*%%\n" \ Image Polarity is POSitive (NEG for
nagative)
"%%LPD*%%\n" \ Layer Polarity Dark (C for clear on
negative planes)
"%%AMOC8\n5,1,8,0,0,1.08239X$1,22.5\n"\ Octagons are
emulated with a circle (using 8 vertices)
"%%\n" ; and therefore the diameter must be
enlarged with '1 / cos(pi / 8)'
Reset = "M02*\n"
Circle = "%%AD%sC,%6.3f*%%\n" ; (code, diameter)
Rectangle = "%%AD%sR,%6.3fX%6.3f*%%\n" ; (code, dx, dy)
Oval = "%%AD%sO,%6.3fX%6.3f*%%\n" ; (code, dx, dy)
; According to the RS-274-X specs there is an aperture macro
; primitive that allows us to specify an octagon (i.e. a polygon with
; 8 vertices). As some Gerber viewers seem to have problems with that,
; we would have to use a round shape for that.
; If your Gerber processor cannot handle the polygon primitive you may
; uncomment the following line and comment out the line after it:
;Octagon = "%%AD%sC,%6.3f*%%\n" ; (code, diameter) (looks like
there is no octagon, so we take a circle)
Octagon = "%%AD%sOC8,%6.3f*%%\n" ; (code, diameter)
Annulus = "%%AMAN%s\n1,1,%6.3f,0,0\n1,0,%6.3f,0,0*\n"\
"%%\n"\
"%%AD%sAN%s*%%\n" ; (code, diameter, inner diameter,
code, code)
Thermal = "%%AMTH%sX\n1,1,%6.3f,0,0\n1,0,%6.3f,0,0*\n"\
"21,0,%6.3f,%6.3f,0,0,45\n21,0,%6.3f,%6.3f,0,0,135\n"\
"%%\n"\
"%%AD%sTH%sX*%%\n"; (code, diameter, inner diameter,
diameter + 2mil, gap, diameter + 2mil, gap, code, code)
--
Mit freundlichen Gruessen / Best regards
Richard Hammerl
CadSoft Support -- hotline@cadsoft.de
FAQ: http://www.cadsoft.de/faq.htm