You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is the error that occurs in file \gerberex\am_expression.py", line 54, in to_gerber :
gerber='%.6g'%self._value
│ └ 'Rectangle Pad at angle 45'
└ <gerberex.am_expression.AMConstantExpressionobjectat0x037F0BC8>TypeError: mustberealnumber, notstr
The whole expression in my gerberfile that should create a rectangle with a side length of 0.05512 mils, placed at an 45 degree angle looks like this:
%AMT83*0 Rectangle Pad at angle 45*21,1,0.05512,0.05512,0,0,45*%
The text was updated successfully, but these errors were encountered:
senic35
changed the title
https://www.ucamco.com/files/downloads/file_en/81/the-gerber-file-format-specification_en.pdf?c0748ea9bf8efa9d8e145205a173e460
TypeError, caused by Aperture Macro?
Nov 9, 2020
I'm experiencing a type error occurring while trying to parse gerber files which contain aperture macros.
You can find a reference to it here: (under 4.5 Aperture Macro (AM))
ucamco gerber specification
Here is the error that occurs in file \gerberex\am_expression.py", line 54, in to_gerber :
The whole expression in my gerberfile that should create a rectangle with a side length of 0.05512 mils, placed at an 45 degree angle looks like this:
%AMT83*0 Rectangle Pad at angle 45*21,1,0.05512,0.05512,0,0,45*%
The text was updated successfully, but these errors were encountered: