For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Area of contact between IfcSpace and IfcWall

Johannes Römpp's picture
Forums: 

Hello

I am trying to generate the contact area of walls and spaces. I used

wallshape = ifcopenshell.geom.create_shape(settings, wall).geometry
spaceshape = ifcopenshell.geom.create_shape(settings, space).geometry

newshape = OCC.BRepAlgoAPI.BRepAlgoAPI_Common(wallshape, spaceshape).Shape()

This works for some pretty well. But sometimes they are not modeled correctly and they don't touch.

What would be the best way overcome this problem:

- increase the size of the space? (how?)

- is there a method to do this projection

The goal of all this would be to have the shape of the wall's visible surface in a room.

Any help apreciated.

Regards

Johannes