pyupdate
This commit is contained in:
parent
742a3994d2
commit
28c497a252
1 changed files with 4 additions and 3 deletions
|
|
@ -60,9 +60,10 @@ def create(name,objects):
|
||||||
run("aggregate.assign_object", model, relating_object=building, product=storey)
|
run("aggregate.assign_object", model, relating_object=building, product=storey)
|
||||||
|
|
||||||
if True:
|
if True:
|
||||||
l = random.random() * 5
|
f = 5
|
||||||
h = random.random() * 3
|
l = random.random() * 5 * f
|
||||||
t = random.random() * 0.2
|
h = random.random() * 3 * f
|
||||||
|
t = random.random() * 0.2 * f
|
||||||
wall = run("root.create_entity", model, ifc_class="IfcWall")
|
wall = run("root.create_entity", model, ifc_class="IfcWall")
|
||||||
run("geometry.edit_object_placement", model, product=wall)
|
run("geometry.edit_object_placement", model, product=wall)
|
||||||
representation = run("geometry.add_wall_representation", model, context=body, length=l, height=h, thickness=t)
|
representation = run("geometry.add_wall_representation", model, context=body, length=l, height=h, thickness=t)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue