Update am_expression.py
String format to %f instead of %g. Scientific notation is supportd by Kicad and Ucamco's reference viewer, but causes artefacts on Altium and pcb-tools.
This commit is contained in:
parent
415bdbc2e4
commit
0854d35758
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ class AMConstantExpression(AMExpression):
|
|||
return self
|
||||
|
||||
def to_gerber(self, settings=None):
|
||||
return '%.6g' % self._value
|
||||
return '%.6f' % self._value
|
||||
|
||||
def to_instructions(self):
|
||||
return [(OpCode.PUSH, self._value)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue