|
Sweet Home 3D Forum » List all forums » » Forum: Features use and tips » » » Thread: Space under roof » » » » Post: Re: Space under roof |
Print at Dec 16, 2025, 5:25:44 AM |
| Posted by Daniels118 at Oct 13, 2022, 6:06:47 PM |
|
Re: Space under roof There is also a very easy way to accomplish this without having to do trial and error. You must choose if you want to start from the sloped wall sizes, or from the roof angle. In the first case you can determine the angle of the roof using the following formula: angle = arctan((wall_height_at_start - wall_height_at_and) / wall_length)If you start from the angle you can determine the height difference between the 2 wall ends using the following formula: height_diff = wall_length * tan(angle)Once you have both the roof and the wall top with the same angle, just change the roof elevation until it matches the top edge of the wall. Of course you have to first decrease the elevation of the level which contains the roof in order to remove the gap. You can find tan and arctan functions on any scientific calculator, but be sure it is set to use angles in degree. Even Google can compute expressions. Let's say your wall is tall 230 cm in the tallest point and 200 cm in the lowest point, and it is 300 cm long. Then the angle would be 5.7 degree. Type this on Google search bar (/ deg let us convert the result in degree): arctan((230 - 200) / 300) / deg Let's say you want an angle of 5.7 degree, and your wall must be 300 cm long. Then the height difference between start and end must be 30 cm. Type this on Google search bar (again, * deg let us convert the angle to radians): 300 * tan(5.7 * deg) |
|
|
Current timezone is GMT Dec 16, 2025, 5:25:44 AM |