rucailo wrote:
I think I will have to create a new object and modify it's gdl scropt, any sugestions?
No GDL script / coding required. You can create any shape niche you would like without programming.
You (and others) may have seen various tutorials on these forums, the wiki, and elsewhere about creating custom-shaped windows. Part of that process involves entering 'wallhole' (no quotes) into the ID field of a slab that is the shape of the hole one wants to cut in the wall.
To create a niche, you assign the niche-cutting mass the ID 'wallniche'.
You can assemble the niche mass (invisible except its cut), the wood/tile face in front of your lamp, etc. in the usual way, which is with the 'outside' of the wall (the face) flat on the ground and at height 0.
Select all elements comprising your niche, view in 3D, then Files > Libraries and Objects > Save 3D Model As... and give it a name, and then select the Window icon (middle) in the subsequent dialog.
You must save as 'Editable GDL Script'. If saved as 'binary', the niche mass will not cut into the wall.
You can now place your custom niche with the window tool. (ArchiCAD automatically rotates the elements to be vertical inside the wall. You can have any view at all in 3D when doing this save step.)
In your case, the splayed opening suggested using a roof to create the mass that is subtracted from the wall (the 'wallniche'). I tried that and discovered that the edge angle is ignored. Not sure if that is a bug or not.
But, then I just created a custom profile and drew a wall with it. That worked. See attached.
Note in the 3D window that the selected niche mass (the wall) represents the hole to be cut in the wall - the size is the exact depth of the niche too.
Note also that the 1" thick wood panel to cover the light is embedded in the niche mass. This is so that the wall will be cut away where the wood goes as seen in the window as placed in the wall - and the wood will be flush with the surface of the wall.
Those two elements seen on the ground - wall with ID 'wallniche' and the little wood slab were selected, viewed in 3D, and then saved as a window object. That's all. No coding.
You can imagine the additional detail that you could add easily once you understand this technique.
Note though that there seems to be a bug in AC 12 (perhaps earlier versions too): 3D and section look fine. But 2d/plan shows a break in the bold wall contour lines at the back of the niche. If I change the window (niche) display from 'symbolic' to 'overhead all' then it looks OK.
Karl
One of the forum moderators
AC 27 USA and earlier • macOS Ventura 13.6.9, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB