[VRML][Fixed] Y coordinate

Fixes #419
This commit is contained in:
Salvador E. Tropea 2023-04-15 19:32:59 -03:00
parent 124fc8e7b5
commit 5e80a1e150
2 changed files with 4 additions and 2 deletions

View File

@ -57,6 +57,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Problems to download KiCad 7 models (#417)
- Added workaround for KiCad 7 failing to export VRMLs for PCBs using paths
relative to the footprint. (See #417)
- VRML:
- ref_y coordinate not used. (#419)
### Changed:
- Some R, L and C values that were rejected are accepted now. You just get a

View File

@ -82,9 +82,9 @@ class VRMLOptions(Base3DOptionsWithHL):
units = 'millimeters'
else:
x = self.ref_x
self.ref_y
y = self.ref_y
units = self.ref_units
cmd.extend(['-x', str(x), '-y', str(x), '-u', units])
cmd.extend(['-x', str(x), '-y', str(y), '-u', units])
cmd.extend([board_name, os.path.dirname(name)])
# Execute it
self.exec_with_retry(self.add_extra_options(cmd), FAILED_EXECUTE)