Print at Dec 16, 2025, 9:58:52 AM

Posted by Puybaret at Sep 1, 2019, 5:29:09 PM
Re: How is the 3d wall object (baserail specifically) constructed?
If you look at Wall3D class, you'll see that the method createWallGeometries is used to create the main parts of a wall and also to create baseboards as if they were some small walls. Maybe you could inspire yourself of the same system for a cornice, except that you will have to manage a profile in createVerticalPartGeometry method instead of a simple vertical plan which makes it more difficult.
Round walls are actually a serial of small vertical parts and you should create a getWallCornicePoints that will return the global shape of the cornice along the wall like getWallBaseboardPoints does.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator