Print at Dec 16, 2025, 1:36:14 PM

Posted by Keet at Apr 8, 2022, 8:32:13 AM
Large wall tilts when curved. Math error?
I wanted to create a curved car ramp to an upper level 3.50m higher by using a thick and long wall that I could export as an object.
What happens is that curving the wall causes the wall to tilt a little. This is easy to reproduce:

Draw a wall 40 meters long and 5 meters wide. Now give it a slope from 0.1cm to 350cm and curve it in a 90° angle. What happens is that the wall tilts with half of the the width disappearing into the ground. You can see that when looking at the low end in 3D view. I put a little box at the low end to see how large the height difference was: The tilt is quite extensive when using such a large wall, more than 3cm above and below the ground level.

I assume this happens as the result of using the center of the wall as the calculation center. I think it is a mathematical error when the wall curve is calculated for 3D view because both the top and the ground level should always remain horizontal. Overall not a problem for what I intended to do. I can either live with it or use another program to draw the ramp but the better solution would be to revise the wall calculation so remove the tilt.

------------------------
Debian 10 (Mate desktop)
Sweethome3D v6.4.2.
----------------------------------------
Dodecagon.nl
1300+ 3D models, manuals, and projects