UK
Joined: Sep 18, 2022
Post Count: 24
Status:
Offline
Space under roof
I am trying to get my roof sitting on top of the brick walls with no gap - but try as I might, I am still getting a gap - how do I fix this ?
For my planned extemsion - I have used the sloping walls but cannot get the sloping roof to sit flat on it, despite adjusting the roof height and angle
The main roof, also has a space under it Any solutions ?
Romania
Joined: Apr 24, 2014
Post Count: 588
Status:
Offline
Re: Space under roof
Two possible solutions: 1. put the roof object on the same level with upper walls and then modify roof object elevation where you want (with aids of 3D view); 2. put the roof object on a top level and modify level elevation.
In your particular case (sloping walls) I recommend 1.
---------------------------------------- A computer program does what you tell it to do, not what you want it to do. Murphy's Law (Greer's Third Law) When all else fails, read the instructions.Murphy's Law
Netherlands
Joined: Apr 8, 2022
Post Count: 1044
Status:
Offline
Re: Space under roof
I assume you have set the roof elevation to 0 and still have the gap. The easiest way is to have a separate level for the roof and adjust the elevation of the level so there's no gap. If you have an elevation > 0 for the roof you have to adjust that elevation.
For the roof to fit on a sloping wall you have to adjust both the height and the angle. Changing one will also change the other so it's a matter of experimenting with both numbers to get it right. If you're close you can also adjust the wall slope a little to make it fit perfecty.
---------------------------------------- Dodecagon.nl 750+ 3D models, manuals, and projects
Italy
Joined: Nov 17, 2021
Post Count: 436
Status:
Offline
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:
if you get a negative angle don't worry, just remove the minus sign.
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)