mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 15:08:51 +00:00
Expose mirror-y in draw.py
This commit is contained in:
@@ -75,6 +75,7 @@ class draw_settings:
|
|||||||
include_curves: bool = False
|
include_curves: bool = False
|
||||||
unify_inputs: bool = True
|
unify_inputs: bool = True
|
||||||
arrange_spaces: bool = False
|
arrange_spaces: bool = False
|
||||||
|
mirror_y: bool = False
|
||||||
|
|
||||||
|
|
||||||
def main(
|
def main(
|
||||||
@@ -169,6 +170,7 @@ def main(
|
|||||||
sr.setUseHlrPoly(settings.hlr_poly)
|
sr.setUseHlrPoly(settings.hlr_poly)
|
||||||
sr.setUsePrefiltering(settings.prefilter)
|
sr.setUsePrefiltering(settings.prefilter)
|
||||||
sr.setUnifyInputs(settings.unify_inputs)
|
sr.setUnifyInputs(settings.unify_inputs)
|
||||||
|
sr.setMirrorY(settings.mirror_y)
|
||||||
|
|
||||||
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