mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-16 21:42:19 +00:00
Update draw.py --with-unify-inputs [True]
This commit is contained in:
@@ -61,6 +61,7 @@ class draw_settings:
|
|||||||
include_projection: bool = True
|
include_projection: bool = True
|
||||||
prefilter: bool = True
|
prefilter: bool = True
|
||||||
include_curves: bool = False
|
include_curves: bool = False
|
||||||
|
unify_inputs: bool = True
|
||||||
|
|
||||||
|
|
||||||
def main(settings, files, iterators=None, merge_projection=True, progress_function=DO_NOTHING):
|
def main(settings, files, iterators=None, merge_projection=True, progress_function=DO_NOTHING):
|
||||||
@@ -135,6 +136,7 @@ def main(settings, files, iterators=None, merge_projection=True, progress_functi
|
|||||||
sr.setSubtractionSettings(W.ALWAYS)
|
sr.setSubtractionSettings(W.ALWAYS)
|
||||||
|
|
||||||
sr.setUsePrefiltering(settings.prefilter)
|
sr.setUsePrefiltering(settings.prefilter)
|
||||||
|
sr.setUnifyInputs(settings.unify_inputs)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
sh = ["none", "full", "left"].index(settings.storey_heights)
|
sh = ["none", "full", "left"].index(settings.storey_heights)
|
||||||
|
|||||||
Reference in New Issue
Block a user