mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-12 06:32:09 +00:00
Fixed #3832
This commit is contained in:
@@ -82,8 +82,8 @@ class Usecase:
|
|||||||
# Create 2 ports, one for either end of both the duct and fitting.
|
# Create 2 ports, one for either end of both the duct and fitting.
|
||||||
duct_port1 = ifcopenshell.api.run("system.add_port", model, element=duct)
|
duct_port1 = ifcopenshell.api.run("system.add_port", model, element=duct)
|
||||||
duct_port2 = ifcopenshell.api.run("system.add_port", model, element=duct)
|
duct_port2 = ifcopenshell.api.run("system.add_port", model, element=duct)
|
||||||
fitting_port1 = ifcopenshell.api.run("system.add_port", model, element=duct)
|
fitting_port1 = ifcopenshell.api.run("system.add_port", model, element=fitting)
|
||||||
fitting_port2 = ifcopenshell.api.run("system.add_port", model, element=duct)
|
fitting_port2 = ifcopenshell.api.run("system.add_port", model, element=fitting)
|
||||||
|
|
||||||
# Connect the duct and fitting together. At this point, we have not
|
# Connect the duct and fitting together. At this point, we have not
|
||||||
# yet determined the direction of the flow, so we leave direction as
|
# yet determined the direction of the flow, so we leave direction as
|
||||||
|
|||||||
@@ -52,8 +52,8 @@ class Usecase:
|
|||||||
# Create 2 ports, one for either end of both the duct and fitting.
|
# Create 2 ports, one for either end of both the duct and fitting.
|
||||||
duct_port1 = ifcopenshell.api.run("system.add_port", model, element=duct)
|
duct_port1 = ifcopenshell.api.run("system.add_port", model, element=duct)
|
||||||
duct_port2 = ifcopenshell.api.run("system.add_port", model, element=duct)
|
duct_port2 = ifcopenshell.api.run("system.add_port", model, element=duct)
|
||||||
fitting_port1 = ifcopenshell.api.run("system.add_port", model, element=duct)
|
fitting_port1 = ifcopenshell.api.run("system.add_port", model, element=fitting)
|
||||||
fitting_port2 = ifcopenshell.api.run("system.add_port", model, element=duct)
|
fitting_port2 = ifcopenshell.api.run("system.add_port", model, element=fitting)
|
||||||
|
|
||||||
# Connect the duct and fitting together. At this point, we have not
|
# Connect the duct and fitting together. At this point, we have not
|
||||||
# yet determined the direction of the flow, so we leave direction as
|
# yet determined the direction of the flow, so we leave direction as
|
||||||
|
|||||||
Reference in New Issue
Block a user