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: 6
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 5450 times and has 5 replies Next Thread
Anatosuchus
Newbie



UK
Joined: Feb 4, 2017
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
confused Modifying Staircase to Prevent Floor Hole

Hi,

I'm trying to use the standard square spiral staircase model in a design, but it's cutting an unnecessary hole in the floor above where there is actually plenty of headroom.

I've got no experience with modelling tools (and don't have any right now), but I'm happy to hack about in the file if there's a way to remove (or shorten) the hole-making template in the design.

Is there any handy guide to the content of the .obj file format, or can anyone point me at which chunk of the file defines the cut-out parameters?

Thanks!

Matt.
[Feb 10, 2017, 11:06:41 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Miker777
Advanced Member



UK
Joined: May 8, 2016
Post Count: 434
Status: Offline
Reply to this Post  Reply with Quote 
Re: Modifying Staircase to Prevent Floor Hole

Hi Anatosuchus.
I recently had a similar issue, and, like yourself, wanted to find a way to use the staircase even though the holes generated in the 1st and 2nd floors were huge. What i did was to create rooms to the shape of the area needed, then exported and imported it, once positioned (magnetism off) i reduced its thickness by 50%, copied and pasted another and positioned it in exactly the same position, with that done i then raised 1 of them, so the two appeared laminated, textured the upper 1 to match my floor and the lower 1 to match the ceiling below.
Hope this helps.
Mike
[Feb 10, 2017, 4:24:45 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Modifying Staircase to Prevent Floor Hole

To change the shape of the cut-out, please read this document.
You could also reimport the staircase you need as a simple object from the free models page, and draw a room showing the hole you want.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Feb 10, 2017, 4:48:16 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Anatosuchus
Newbie



UK
Joined: Feb 4, 2017
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
Re: Modifying Staircase to Prevent Floor Hole

To change the shape of the cut-out, please read this document.
You could also reimport the staircase you need as a simple object from the free models page, and draw a room showing the hole you want.


Ah-ha - the import as simple worked a treat, saves me digging about in the file. Many thanks!
[Feb 10, 2017, 5:22:26 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Miker777
Advanced Member



UK
Joined: May 8, 2016
Post Count: 434
Status: Offline
Reply to this Post  Reply with Quote 
Re: Modifying Staircase to Prevent Floor Hole

Yeah well, that might work..... sounds a bit simple though biggrin
[Feb 12, 2017, 12:56:52 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1545
Status: Offline
Reply to this Post  Reply with Quote 
Re: Modifying Staircase to Prevent Floor Hole

Is there any handy guide to the content of the .obj file format, or can anyone point me at which chunk of the file defines the cut-out parameters?
Good you found a working solution. Just for the record in case someone else comes across this thread. The cutout is not defined in the .obj file, but in the supplementary information that can be edited with the Furniture Library Editor.

Are you referring to the triple winder staircase?

If so, the SVG cutout in the Furniture Library Editor is an L shape turned 180° - something like this: m0,0 h1 v1 h-.5 v-.5 h-.5 z - start at 0,0 where h means horizontal, v means vertical and z means return to start. This can be modified quite easily in the Furniture Library Editor to for instance: m0,0 h1 v1 h-.5 v-.5 z: meaning so the last cut will go directly (-45°) from the centre, back to the top left corner; cut exactly above where the third step begins (<200cm above in a house with a low/normal ceiling).

Which is the general point that may not apply here: Staircases can be legal pains as there can be requirements to minimum headroom (and width, railing, angle etc etc etc). There is an example - if I remember correctly - where a DIY builder had left too little headroom, had to change it after building inspection, and ended up cutting through a structural beam leaving the entire house skewed. Point is only to say that it is possible to end up with all sorts of trouble if headroom (and SVG cutout) is marginal...

ok

PS - to see the two cutouts, the enclosed code can be saved as text with an .svg extension and viewed with most browsers to see how the SVG paths work:

<svg version="1.1" width="1000" height="1000" preserveAspectRatio="none" viewBox="0 0 1 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">

<!-- RED PATH -->
<path id="SH3D_cutout1" style="stroke:red; stroke-width:.003; fill:pink; fill-opacity:.5;"
d="m0,0 h1 v1 h-.5 v-.5 h-.5 z" />

<!-- BLUE PATH -->
<path id="SH3D_cutout2" style="stroke:blue; stroke-width:.001; fill:lightblue; fill-opacity:.5;"
d="m0,0 h1 v1 h-.5 v-.5 z " />

<!-- BELOW JUST COMMENTS AND ILLUSTRATIONS -->
<path stroke="silver" fill="none" stroke-width=".001" stroke-dasharray=".01,.01" d=" M.1,0v1 M.2,0v1 M.3,0v1 M.4,0v1 M.5,0v1 M.6,0v1 M.7,0v1 M.8,0v1 M.9,0v1 M0,.1h1 M0,.2h1 M0,.3h1 M0,.4h1 M0,.5h1 M0,.6h1 M0,.7h1 M0,.8h1 M0,.9h1 "/>
<circle cx="" cy="" r=".01" fill="red">
<animateMotion id="anim" dur="5s" begin="1s;anim.end+5s">
<mpath xlink:href="#SH3D_cutout1"/>
</animateMotion>
</circle>
<circle cx="" cy="" r=".01" fill="blue">
<animateMotion id="anim" dur="5s" begin="2s;anim.end+5s">
<mpath xlink:href="#SH3D_cutout2"/>
</animateMotion>
</circle>
<text x=".01" y=".95" style="font-size:.02pt;fill:gray;">SH3D cutout example:</text>
<text x=".01" y=".98" style="font-size:.011pt;fill:gray;">RED: m0,0 h1 v1 h-.5 v-.5 h-.5 z --- BLUE: m0,0 h1 v1 h-.5 v-.5 z</text>
</svg>

[Feb 13, 2017, 9:46:16 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 2006-2024 eTeks - All rights reserved