mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
draw.include_projection setting
This commit is contained in:
@@ -58,6 +58,7 @@ class draw_settings:
|
||||
profile_threshold: int = -1
|
||||
cells: bool = True
|
||||
merge_cells: bool = False
|
||||
include_projection: bool = True
|
||||
|
||||
|
||||
def main(settings, files, iterators=None, merge_projection=True, progress_function=DO_NOTHING):
|
||||
@@ -116,8 +117,7 @@ def main(settings, files, iterators=None, merge_projection=True, progress_functi
|
||||
sr.setPolygonal(True)
|
||||
sr.setUseNamespace(True)
|
||||
|
||||
# sane default?
|
||||
sr.setAlwaysProject(True)
|
||||
sr.setAlwaysProject(settings.include_projection)
|
||||
|
||||
sr.setProfileThreshold(settings.profile_threshold)
|
||||
sr.setBoundingRectangle(settings.width, settings.height)
|
||||
|
||||
Reference in New Issue
Block a user