You can now manually type in start/end dates for construction sequence visualisation instead of clicking the date picker hundreds of times.

This commit is contained in:
Dion Moult
2021-10-29 17:44:57 +11:00
parent a4c054ef62
commit 4bf4622498
5 changed files with 28 additions and 33 deletions
@@ -305,9 +305,7 @@ class CreateDrawing(bpy.types.Operator):
# Exclude all annotation apart from the active one so we don't cut through them
exclude += [e for e in f.by_type("IfcAnnotation") if e != self.camera_element]
iterators.append(
ifcopenshell.geom.iterator(geom_settings, f, multiprocessing.cpu_count(), exclude=exclude)
)
iterators.append(ifcopenshell.geom.iterator(geom_settings, f, multiprocessing.cpu_count(), exclude=exclude))
with open(svg_path, "w") as svg:
results = ifcopenshell.draw.main(draw_settings, files, iterators=iterators, merge_projection=False)
@@ -397,7 +395,6 @@ class CreateDrawing(bpy.types.Operator):
numerator, denominator = fraction.split("/")
self.scale = float(numerator) / float(denominator)
def is_landscape(self, render):
return render.resolution_x > render.resolution_y