mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
New openings size wasn't converted using unit_scale #2765
This commit is contained in:
@@ -224,7 +224,7 @@ class FilledOpeningGenerator:
|
||||
|
||||
x, y, z = filling_obj.dimensions
|
||||
extrusion = shape_builder.extrude(
|
||||
shape_builder.rectangle(size=Vector([x, 0.0, z])),
|
||||
shape_builder.rectangle(size=Vector([x / unit_scale, 0.0, z / unit_scale])),
|
||||
magnitude=thickness / unit_scale,
|
||||
position=Vector([0.0, -0.1 / unit_scale, 0.0]),
|
||||
extrusion_vector=Vector([0.0, 1.0, 0.0]),
|
||||
|
||||
Reference in New Issue
Block a user