Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 5
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1595 times and has 4 replies Next Thread
Weevoir
Member



UK
Joined: Sep 18, 2022
Post Count: 24
Status: Offline
Reply to this Post  Reply with Quote 
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 ?
[Oct 13, 2022, 1:51:24 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
dorin
Advanced Member
Member's Avatar

Romania
Joined: Apr 24, 2014
Post Count: 588
Status: Offline
Reply to this Post  Reply with Quote 
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
[Oct 13, 2022, 2:39:12 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Keet
Advanced Member
Member's Avatar

Netherlands
Joined: Apr 8, 2022
Post Count: 1044
Status: Offline
Reply to this Post  Reply with Quote 
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
[Oct 13, 2022, 2:43:04 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Daniels118
Advanced Member
Member's Avatar

Italy
Joined: Nov 17, 2021
Post Count: 436
Status: Offline
Reply to this Post  Reply with Quote 
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 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)
[Oct 13, 2022, 6:06:47 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Weevoir
Member



UK
Joined: Sep 18, 2022
Post Count: 24
Status: Offline
Reply to this Post  Reply with Quote 
Re: Space under roof

Thanks - but way too complex
[Oct 22, 2022, 11:03:28 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved