I wanted to place fixtures in an IFC file .
For bed side fixture i reffered the centroid of bed as the bease point and accordingly placed the fixtures
But in every bedroom type the wall opposite of the bed is at different distances , how should i write the script for that . i am supposed to not write different script for every different room ? am i ?
Or is my approach for working in an IFC file is wrong ?
The problem statement (For reference)
We store MEP rooms. We assign a room category to each of these. In our case, for example, “Bedroom” and “Bathroom”.
You program two scripts:
One for the “Bedroom” room category.
It creates the components drawn to the left and right of the bed at a distance of 300 mm.
The components drawn next to the door at a distance of 150 mm.
On the wall to the left of the door at a distance of 400mm from the double socket.
On the wall opposite the bed, in the middle of the bed, the marked components.
All at the heights above the host that are entered.
Note that you must fill the “Abstand Symbol” parameter in 2D if several products are superimposed in 3D. The bottom one must have a distance from the wall in 2D.
One for the bathroom:
To the right of the washbasin, at a distance of 200mm, create the marked components.
Next to the door at a distance of 150mm, the components drawn in.
On the wall opposite the door, at a distance of 400mm, the components drawn in.
All at the heights above the host that are entered.
Note that you must fill the “Abstand Symbol” parameter in 2D if several products are superimposed in 3D. The bottom one must have a distance from the wall in 2D.