diff --git a/python/extract.py b/python/extract.py index a1bc40e..526749a 100644 --- a/python/extract.py +++ b/python/extract.py @@ -60,9 +60,10 @@ def create(name,objects): run("aggregate.assign_object", model, relating_object=building, product=storey) if True: - l = random.random() * 5 - h = random.random() * 3 - t = random.random() * 0.2 + f = 5 + l = random.random() * 5 * f + h = random.random() * 3 * f + t = random.random() * 0.2 * f wall = run("root.create_entity", model, ifc_class="IfcWall") run("geometry.edit_object_placement", model, product=wall) representation = run("geometry.add_wall_representation", model, context=body, length=l, height=h, thickness=t)