My gdl skills are almost equal to 0,
In the Archicad library there is a 2d symbol ofca rectangle and a cross inside of it, that can be used for wardreobe 2d representation
Can someone please script an object that can do this, but instead of a rectangle, the shape can be edited,
In3d, the object shows the volume with a given thickness, and that volume can be repeated vertically to a given number with a given distance,
Why does a slab not do the job, can you explain how an object would be better? I can't see any major benefit to it being an object, in presentation the doors are likely to be shut or the shelves easily duplicated. For quantities it would just be a single object, where a slab can be easily counted etc.
an object can be parametric, each wardrobe have a number of shelves that can be edited,also, shelves are combined in a single object that can be handled easily without the need of grouping slabs and managing them all together,
for quantitiy takeoff, from an object i can extract :
1 - number of shelves, for that specific wardrobe
2- Area of shelves of that specific wardrobe,
maybe using a composite Slab ( alterning wood and air space ) would be better in this way,
or using a simple slab, with 2 properties : shelves count , shelves area ( a formula : shelves count x 1 shelf area )
This is true, i have spent many hours trying to write algorithms to calculate the areas.
however there is a way to calculate the total shelf area, But its more or less a hack.
you set the shelf thickness to .001 only in the schedule which will allow you calculate the material area with basically no thickness.
in this case this can be helpful !
the object is used for 2D representation and calculations, no need for the thickness , to represend thikness in section you can just use a thick pen ,
If I understand correctly what you need, this is relatively easy to achieve, including the area calculation (as long as there are only straight segments). You can use the object I posted here to start. You will need to make a few modifications so you can build the array that models the shelves, but it has what you need to get you going.
Hope this helps.