compas-dev / compas_ifc

COMPAS package for working with IFC files
http://compas.dev/compas_ifc/
MIT License
11 stars 2 forks source link

add opening api #4

Closed Licini closed 1 year ago

Licini commented 1 year ago

See example: scripts/3.3_opening.py

    viewer.add(Collection(entity.body), name="body", opacity=0.5, facecolor=(0, 1, 0))
    viewer.add(Collection(entity.opening), name="opening", facecolor=(1, 0, 0))
    obj = viewer.add(Collection(entity.body_with_opening), name="combined", show_faces=True)
    obj.translation = [0, 2, 0]
image