What IFC class should I assign this to ?
How can I use this model inside Bonsai and assign this balustrade an IFC class. For the top and bottom I need a sweep geometry ( I dont know how to use it n Bonsai), but for the middle portion I think I can use the Array in Parametric modelling
Comments
Hi @arunarchitect
IfcRailing is the class with BALUSTRADE as predefined type
the top and bottom can be extruded elements, using an IfcArbitraryClosedProfileDef, now it's even easier since you can prepare the shape with a filled mesh and use it as profile by selecting with the eyedrop like in this simple example:
Thanks @steverugi , I tried to use the IfcArbitraryClosedProfileDef but I cant edit the path to sweep in 3D, it only works linear, Is there a way? please see the attached video.
Also, I started with these settings , Is this the correct way and how can I combine this baluster with the top and bottom rails?

@arunarchitect Currently it only works linear, but you can use "shift+T" and "shift+Y" to join them.
It's on the roadmap to support this to work with the polyline tool: https://github.com/IfcOpenShell/IfcOpenShell/issues/5790
one way to do it... create an aggregate.
If you want this aggregate to act like a 'type', use linked aggregates.
See video
If you want to repeat stuff, use the array. see video
Unfortunately the array doesn't hold up 'in' the aggregate, however.... at least i don't think it does.
What IFC class should be assigned to a vehicle/car? Is it IfcBuildingProxyElement in IFC 4x3 or is it IfcVehicle, What all should I care when adding a geometry with more faces and how to deal with the plan and sections of the same.


Thanks @bruno_perdigao . Another doubt is that can we use a curved path for the profile sweep.

hi @arunarchitect
I would personally use IfcVehicle.VEHICLE, select the mesh and apply
Tassellation from object
, since you have that class and subtype available, why not. Use single Element or ElementType if you need more instances or the same.regarding faces: it depends on the final use? number of vertices is important for image quality but maybe it comes at the cost of heavy file
@arunarchitect
thinking aloud here
option 1
I wouldn't struggle too much with curves and extruded profiles (my personal taste of course)
If the curve is regular (same radius) why not modelling two mesh elements A and B in the image with their trapezoidal top and bottom and rotate/copy them to make an IfcRailingType.BALUSTRADE aggregate?
Single elements might have IfcBuilidngElementProxy.ELEMENT classification
option 2
using profiles extrude (sweep) all or part of handrail and footing along a curve plus the columns, once finished convert mesh to IFC elements
cheers