Roofs

This topic has been viewed 16073 times and has 9 replies
Thread status: Active
Features you would like to see [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
User avatar
AdeleAlli
Posts: 155
Joined: Wed Jul 18, 2018 10:13 am
Country: Italy

Roofs

Post by AdeleAlli »

In my opinion, a nice feature that Sweethome3D could provide is the possibility of creating a roof.
An option similar to creating a floor or wall but that creates a roof based on the size you choose, as usual.

In this way the current creation of the roof, which requires particular time, would be simpler, like everything that can currently be done with SH3D.

Thank you for the great work!
User avatar
AdeleAlli
Posts: 155
Joined: Wed Jul 18, 2018 10:13 am
Country: Italy

Re: Roofs

Post by AdeleAlli »

Can someone say me if it is so difficult to implement this feature into sh3d? I would like to try to realize it someway.

:)
VeroniQ
Posts: 886
Joined: Tue Mar 03, 2015 9:01 am
Country: France

Re: Roofs

Post by VeroniQ »

You already did well in your little house! But if you want to see more roofs, have a look in this blog article : Okh especially did a nice library?
okh
Posts: 1545
Joined: Sun May 12, 2013 9:43 pm

Re: Roofs

Post by okh »

..difficult to implement this feature into sh3d?
I agree it would be nice to get a roof automatically. At least if it were exactly the kind of roof I wanted. I would not know about the programming bit, but I have come across house planning programs where the roofs would not work properly for anything but very simple projects. And even then, the overhang and the joints became strange. So, at the end of the day, I kind of prefer SH3D where you can fit a model roof...

Actually, just like you made nice roofs on your Mini Cottage already. [:)]
User avatar
AdeleAlli
Posts: 155
Joined: Wed Jul 18, 2018 10:13 am
Country: Italy

Re: Roofs

Post by AdeleAlli »

You already did well in your little house! But if you want to see more roofs, have a look in this blog article : Okh especially did a nice library?
Hi,

thank you very much for the link about the roofs!!!
User avatar
AdeleAlli
Posts: 155
Joined: Wed Jul 18, 2018 10:13 am
Country: Italy

Re: Roofs

Post by AdeleAlli »

Actually, just like you made nice roofs on your Mini Cottage already. [:)]
Thank you okh, I think you are right, using roof objects is better to create different kind of roofs. Thank you for the library about roofs :).
User avatar
AdeleAlli
Posts: 155
Joined: Wed Jul 18, 2018 10:13 am
Country: Italy

Re: Roofs

Post by AdeleAlli »

Okh I want to ask you how did you realize this roof on the right of the picture, I need to do exactly this kind of roof.

Image
User avatar
UbuntuBirdy
Posts: 421
Joined: Thu Aug 31, 2017 10:31 pm
Country: Switzerland
Contact:

Re: Roofs

Post by UbuntuBirdy »

5 minutes CAD: pyramid roof
Pascal

SH3D 6.6 / Ubuntu 22.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 5800x
okh
Posts: 1545
Joined: Sun May 12, 2013 9:43 pm

Re: Roofs

Post by okh »

As UbuntyBirdy says, and as with most roofs, the model is quite simple to make with AoI, Blender, Sketchup or FreeCad. If you know how.

The one in the image, is made from identical roof module triangles ), fit together and grouped. While that is a flexible and generic approach to enable many kinds of roofs with few models, it is a bit cumbersome. So, I think there are also some pyramid models posted in SourceForge (roofs).

For a pyramid roof, I would probably do like UbuntyBirdy, but for my own use I would probably also add a ceiling, sides and texturemap the roof (vt) so a texture (rooftiles) you add later will look the same on all sides, e.g. an .obj file looking something like this. Copy the text and save as pyramidroof.obj and import to SH3D (.mtl not needed for std colours: Java3DCubeColorsWithTransparency).

Code: Select all

# pyramid roof with ceiling and texture co-ords
g ceiling
usemtl archwhite
v 20 0 980
v 500 500 500
v 980 0 980
v 20 0 20
v 980 0 20
f 1 2 3
f 1 4 2
f 5 3 2
f 5 2 4
g side
usemtl flwhite
v 1000 40 0
v 1000 40 1000
v 0 40 0
v 0 40 1000
f 3 5 6
f 3 6 7
f 4 8 6
f 4 6 5
f 3 7 9
f 3 9 1
f 9 8 4
f 9 4 1
g roof
usemtl redbrick
v 500 540 500
vt -11 0 0
vt 0 0 0
vt -6 8 0
vt 6 8 0
vt 11 0 0
vt -6 0 0
vt -11 -8 0
vt 0 -8 0
vt 11 -8 0
vt 6 0 0
f 8/1 9/2 10/3
f 10/4 9/2 7/5
f 10/6 6/7 8/8
f 7/8 6/9 10/10

User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Roofs

Post by Puybaret »

Maybe see if you could help youseeus on the roof plug-in he started to program.
Emmanuel Puybaret, Sweet Home 3D creator
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest