mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 12:57:57 +00:00
minor documentation typo fix
This commit is contained in:
@@ -74,7 +74,7 @@ class Usecase:
|
|||||||
product=beam, type="IfcMaterialProfileSetUsage")
|
product=beam, type="IfcMaterialProfileSetUsage")
|
||||||
|
|
||||||
# Let's give a 1000mm long beam body representation.
|
# Let's give a 1000mm long beam body representation.
|
||||||
body = ifcopenshell.api.run("geoemtry.add_profile_representation",
|
body = ifcopenshell.api.run("geometry.add_profile_representation",
|
||||||
context=body_context, profile=hea100, depth=1000)
|
context=body_context, profile=hea100, depth=1000)
|
||||||
ifcopenshell.api.run("geometry.assign_representation", model, product=beam, representation=body)
|
ifcopenshell.api.run("geometry.assign_representation", model, product=beam, representation=body)
|
||||||
ifcopenshell.api.run("geometry.edit_object_placement", model, product=beam)
|
ifcopenshell.api.run("geometry.edit_object_placement", model, product=beam)
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ class Usecase:
|
|||||||
product=beam, type="IfcMaterialProfileSetUsage")
|
product=beam, type="IfcMaterialProfileSetUsage")
|
||||||
|
|
||||||
# Let's give a 1000mm long beam body representation.
|
# Let's give a 1000mm long beam body representation.
|
||||||
body = ifcopenshell.api.run("geoemtry.add_profile_representation",
|
body = ifcopenshell.api.run("geometry.add_profile_representation",
|
||||||
context=body_context, profile=hea100, depth=1000)
|
context=body_context, profile=hea100, depth=1000)
|
||||||
ifcopenshell.api.run("geometry.assign_representation", model, product=beam, representation=body)
|
ifcopenshell.api.run("geometry.assign_representation", model, product=beam, representation=body)
|
||||||
ifcopenshell.api.run("geometry.edit_object_placement", model, product=beam)
|
ifcopenshell.api.run("geometry.edit_object_placement", model, product=beam)
|
||||||
|
|||||||
Reference in New Issue
Block a user