mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 04:37:56 +00:00
Fix bug where circle profiles didn't follow project units.
This commit is contained in:
@@ -228,8 +228,8 @@ class Model(blenderbim.core.tool.Model):
|
|||||||
radius = cls.convert_unit_to_si(curve.Radius)
|
radius = cls.convert_unit_to_si(curve.Radius)
|
||||||
cls.vertices.extend(
|
cls.vertices.extend(
|
||||||
[
|
[
|
||||||
position @ Vector((center[0], center[1] - curve.Radius, 0.0)),
|
position @ Vector((center[0], center[1] - radius, 0.0)),
|
||||||
position @ Vector((center[0], center[1] + curve.Radius, 0.0)),
|
position @ Vector((center[0], center[1] + radius, 0.0)),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
cls.circles.append([offset, offset + 1])
|
cls.circles.append([offset, offset + 1])
|
||||||
|
|||||||
Reference in New Issue
Block a user