by TIG » Sun Dec 23, 2007 8:56 pm
This is the latest version of my 'Roof' script. Fixed the reversed face glitches in Hipped roof's fascias if the 'selected-face' was itself reversed. Listed materials' now use their 'display_name' rather than their 'name'. Offset_eaves code has been completely rewritten to correct inexplicable irregularities in the soffit sizes produced in v3.1 - it was eventually easier to redo the code rather than try to find the underlying cause... I found that v3.2 still had a glitch with some vector normalizing [cause of the original v3.1 issue I suspect] ! It's now fixed anyway. ... v3.4 Fixes a minor typo glitch which stopped A:B pitches working IF you didn't have some other scripts loading too. v3.5 Glitch with rare soffit/fascia combos fixed with @fstype="Vertical+Horizontal", also issue with some distorted faces addressed so eaves are always 'out', Roof-Slope now reports to 3 d.p. v3.6 Errors minimized. Speed greatly improved. Roof-Slope now reported in angle, 1:B and A:12. v3.7 Error/Glitch in 'Gable by Width' fixed. v4.0 Minor tweaks and v2016/2017 full compatibility. v5.0 Updated, compatible with all current versions Feedback please. Latest version available from the PluginStore Download There were previously ~3000 downloads of v3.0... so a lot of you might need to update, as only ~200 of you updated to v3.6 I've also included the original Help docs in two formats in the zip file...
TIG
-

TIG
- Global Moderator
-
- Posts: 20486
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by TIG » Sun Dec 23, 2007 9:05 pm
Here's RoofHelp.doc (zipped) covering v3.0 - Unzip it and put it in the Plugins folder...
The .mht and .pdf formats will have to wait until the new year - the laptop I'm having to use over the holidays can't access the big-upload server...
Last edited by TIG on Wed May 27, 2009 4:14 pm, edited 1 time in total.
TIG
-

TIG
- Global Moderator
-
- Posts: 20486
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by seasdes » Sun Dec 23, 2007 10:02 pm
Thank you TIG and Merry Christmas to you. Walter
Using Sketchup Pro 2019
-
seasdes
-
- Posts: 216
- Joined: Tue Nov 13, 2007 11:22 am
- Name: seasdes
- Operating system: Windows
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Intermediate
by a4chitect » Sun Dec 23, 2007 11:48 pm
Thanks Santa TIG!
great work, good job...
-
a4chitect
- PluginStore Author

-
- Posts: 152
- Joined: Sat Nov 17, 2007 5:10 pm
- Name: a4chitect
by dtrarch » Mon Dec 24, 2007 1:26 am
TIG
A most Merry and Blessed Christmas to you and yours. I am sure that the Magic Roof ruby is the best of the year 2007 and thank you so very much for your kind and generous offerings.
dtr
-
dtrarch
- Premium Member

-
- Posts: 532
- Joined: Tue Nov 13, 2007 8:03 pm
by Frederik » Mon Dec 24, 2007 9:07 am
THANKS, TIG...! This ruby sure will become handy...!! And a very Merry Christmas and Happy New Year to you and everyone else..!! 
Cheers Kim Frederik
-

Frederik
- Thea Render Support

-
- Posts: 2896
- Joined: Mon Nov 12, 2007 8:13 pm
- Location: Denmark
- Name: Kim Frederik
- Operating system: Windows
- License type: Pro
- SketchUp use: interior design
- Level of SketchUp: Advanced
by CadFather » Mon Dec 24, 2007 9:47 am
indefa-TIG-able!
Thanks and Merry Christmas..
-

CadFather
- PluginStore Author

-
- Posts: 1047
- Joined: Fri Nov 16, 2007 11:03 am
- Location: London, Milano, Sicily
- Name: CadFather
- Operating system: Windows
- SketchUp version: 2014
- License type: Pro
- SketchUp use: landscape architecture
- Level of SketchUp: Advanced
-
by Dan » Mon Dec 24, 2007 1:38 pm
Thanks, TIG for this very useful script (and for all the other free scripts you shared with us)! Marry Christmas and a very Happy New Year!
-
Dan
-
- Posts: 33
- Joined: Mon Nov 19, 2007 7:54 pm
by Krisidious » Mon Dec 24, 2007 5:39 pm
awesome Tig... now that's a Christmas present.
-

Krisidious
-
- Posts: 6025
- Joined: Mon Oct 22, 2007 1:52 pm
- Location: Springfield, Missouri. USA
- Name: Krisidious
- Operating system: Windows
- SketchUp version: 2015
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by JClements » Mon Dec 24, 2007 8:32 pm
My thanks, also.
'tis the season for sharing.
All you skills and contributions are appreciated.
John | Illustrator | Beaverton, Oregon
-
JClements
- Premium Member

-
- Posts: 948
- Joined: Wed Nov 14, 2007 4:32 pm
- Location: Portland/Beaverton, Oregon
- Name: JClements
- Operating system: Windows
- SketchUp version: 2022
- License type: Pro
- SketchUp use: engineering and mechanical design
- Level of SketchUp: Intermediate
by bellwells » Mon Dec 24, 2007 11:24 pm
Whew.....you are something else, TIG!! Tireless, selfless, competent, sharing....the list goes on.
Merrrrrry Christmas and Happy New Year to all.
Ron
-
bellwells
- Premium Member

-
- Posts: 562
- Joined: Thu Nov 15, 2007 12:55 am
- Location: Colorado
- Name: bellwells
by Nexus009 » Mon Apr 28, 2008 6:13 pm
Il mio Teschio è una Bandiera che vuol dire Libertà
-
Nexus009
-
- Posts: 24
- Joined: Fri Apr 25, 2008 9:15 am
- Location: Nuova Atlantide
- Name: ///
-
by GhossbGood » Sun Jul 06, 2008 2:53 am
HOHOHO....I'l try this & Thank's a lot 
-
GhossbGood
-
- Posts: 4
- Joined: Sun Jul 06, 2008 1:43 am
by juanjo06 » Tue Sep 02, 2008 3:09 pm
muchas gracias TIGger 
-
juanjo06
-
- Posts: 85
- Joined: Wed Jan 02, 2008 5:41 pm
by PatrickD » Fri Dec 12, 2008 12:01 pm
Hi TIG I am a relatively new SU user (now addicted!) I have just used your roof tool for the first time and think it's brilliant. Thank you for sharing such a fabulous resource. A Merry Christmas to you also.
Regards
PatrickD
-

PatrickD
-
- Posts: 20
- Joined: Fri Dec 12, 2008 11:12 am
- Location: Surrey,UK
- Name: Patrick Doyle
- Operating system: Windows
- SketchUp version: 2015
- License type: Free/Make
- SketchUp use: architecture
- Level of SketchUp: Intermediate
by ELYSIUM » Fri Dec 12, 2008 12:14 pm
Tks Tig!!
-
ELYSIUM
-
- Posts: 141
- Joined: Wed Nov 14, 2007 5:22 pm
by ELYSIUM » Fri Dec 12, 2008 1:01 pm
I made a quick test and it worked fine, but i tried to make a roof on a volume with a courtyard, and the script didn't recognized the void. It only worked when i when i made it in to a U type plan. Is it possible to change it in a way that it recognizes holes in the geometry of the plan??
tks again for this wonderful script!
-
ELYSIUM
-
- Posts: 141
- Joined: Wed Nov 14, 2007 5:22 pm
by TIG » Sat Dec 13, 2008 1:43 pm
ELYSIUM wrote:I made a quick test and it worked fine, but i tried to make a roof on a volume with a courtyard, and the script didn't recognized the void. It only worked when i when i made it in to a U type plan. Is it possible to change it in a way that it recognizes holes in the geometry of the plan?? tks again for this wonderful script!
Making holes in the plan makes Roof.rb just too complex (than it already is !). Your solution of splitting the 'doughnut' is the best way round it. You should split the base-face twice at a central spot (gap a little wider than twice the roof overhang) - then the resulting roof shape is easily editable to 'heal' it. Once the roof is made then open the roof's Group for editing and start to heal the two hips that are temporarily made at the 'split'. Use the Move tool - pick on one of the un-needed 'cross' fascias and move it to snap onto the other un-needed one, then pick a top vertex on one of the un-needed hips and move it across onto the other un-needed hip's equivalent vertex to heal the 2 roof faces. The vertices should snap together and leave the roof planes coplanar but with unwanted splitting lines (you erase these next). Now you need to heal the bits of soffit etc and get rid of unwanted bits of the roof inside where you have joined these two temporary 'ends' together. It's easiest to do this if you set the Component/Group edit-mode to hide everything else during editing. That way you can simple look at the roof volume from below (its 'ceiling' is left open and any other walls etc below it will be temporarily hidden): then you can add 4 extra Lines to split the unwanted bits of 'cross' soffits off, then Erase the unwanted Edges splitting the 2 healed roof plane, the 2 unwanted 'internal' fascia's horizontal edges and the 2 long-side fascias unwanted vertical splitting Edges; finally Erase the 3 Edges of the 2 unwanted 'cross' pieces of 'internal' soffit to tidy up. Exit the Group edit and it should now look as desired, with its central hole... It's actually much quicker to do all of this than it is to write it down !!!
Last edited by TIG on Sat Dec 13, 2008 6:27 pm, edited 1 time in total.
TIG
-

TIG
- Global Moderator
-
- Posts: 20486
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by ELYSIUM » Sat Dec 13, 2008 6:20 pm
roger! tks for the help! 
-
ELYSIUM
-
- Posts: 141
- Joined: Wed Nov 14, 2007 5:22 pm
by thomthom » Sat Nov 14, 2009 7:18 pm
How does your plugin work? In general concept? Intersecting planes?
-

thomthom
- PluginStore Author

-
- Posts: 19457
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by TIG » Sat Nov 14, 2009 7:27 pm
The hipped roof one works by doing a followme around the face loop on a large roof-pitch triangle and intersecting everything with itself, then it erases any geometry that's not needed [the tricky bit], orients faces, applies materials etc. It will fail if the shape can't have a single pitch roof over it... possible with cranked star shapes or re-entrant curved sections where the valleys would diverge up the roof. My recent tutorial shows how to replicate it manually and heal the problem areas manually by redrawing the bits that need another pitch...
TIG
-

TIG
- Global Moderator
-
- Posts: 20486
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by Ravage » Fri Nov 27, 2009 6:52 pm
Thanks, TIG for this very useful script Marry Christmas and a very Happy New Year!
-
Ravage
-
- Posts: 1
- Joined: Fri Nov 27, 2009 5:53 pm
- Name: Gilberto
by DJMX1 » Fri Nov 27, 2009 8:41 pm
Superb plugin. However, why not create toolbar and how can I do to translate it into French? I can create the icons if you want 
-
DJMX1
-
- Posts: 15
- Joined: Sun Nov 30, 2008 10:27 am
- Location: france
- Name: MB
by TIG » Fri Nov 27, 2009 8:46 pm
DJMX1 wrote:Superb plugin. However, why not create toolbar and how can I do to translate it into French? I can create the icons if you want 
This is one of my rare encrypted plugins so translation is not easy/possible - I recently had a PM about an ES version... A toolbar would be good - easy to do [after decryption] - as would better web-dialog interface... Unfortunately 'Roof' is quite near the bottom of the list... But... good things come to those who wait 
TIG
-

TIG
- Global Moderator
-
- Posts: 20486
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by sketchdown » Mon Dec 07, 2009 5:17 pm
TIG wrote:This is v3.0 of my 'Roof' script.
It now incorporates options for sloping fascias and soffits. The help stuff has also been redone. This Roof.rb file replaces the older one in the Plugins folder. The RoofHelp.doc (zipped) file and some alternative larger 'help' file formats (mht and pdf) in separate threads - they are too big for one go...
Feedback please...
Merry Christams to one and all...
how can I dwnload the plugin?
-
sketchdown
-
- Posts: 1
- Joined: Mon Dec 07, 2009 4:37 pm
by thomthom » Mon Dec 07, 2009 5:20 pm
sketchdown wrote:how can I dwnload the plugin?
From the link in the box saying "Attachments" right under the text you quoted.
-

thomthom
- PluginStore Author

-
- Posts: 19457
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by utiler » Thu Jan 21, 2010 4:40 am
Hi TIG and others, Just a few observations and possibly a feature to add. 1. The eaves fascia size offer users to set thickness of the roof however the result is a thickness measured vertically. [see attached]. Considering roof systems consist of known thickness, would it be possible to change [or add a feature] to offer the input of actual roof thickness?
2. Also, as with the gable roof function, is it possible to add a skillion [single pitch] roof option? I would expect it to operate similar the the gable function; pick gable side first the single pitch side and execute.....
purpose/expression/purpose/....
-

utiler
- Top SketchUcator
-
- Posts: 2438
- Joined: Wed Nov 14, 2007 11:35 am
- Location: Queensland, Australia
- Name: Andrew
- Operating system: Windows
- SketchUp version: 2013
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by ar_max » Fri Feb 12, 2010 5:46 am
thank you 
-
ar_max
-
- Posts: 2
- Joined: Fri Feb 12, 2010 3:34 am
- Name: arter727
by TIG » Mon Feb 15, 2010 12:17 am
utiler wrote:Hi TIG and others, Just a few observations and possibly a feature to add. 1. The eaves fascia size offer users to set thickness of the roof however the result is a thickness measured vertically. [see attached]. Considering roof systems consist of known thickness, would it be possible to change [or add a feature] to offer the input of actual roof thickness? 2. Also, as with the gable roof function, is it possible to add a skillion [single pitch] roof option? I would expect it to operate similar the the gable function; pick gable side first the single pitch side and execute.....
Sorry to be so tardy in my reply Most users will have a fascia height [vertical] in mind - although the roof structure [timbers] are a given thickness [though this will vary if it's been 'regularized' too], the fascia has to 'mask' the soffit material and also take into account the tiling laths and so on to kick up the bottom tile correctly. Also you might use differing depth timbers in differing areas BUT want a constant fascia to be seen. If is not that difficult to sit down before jumping in and work out the likely fascia height from a guess of the roof's build up. You are usually using SUp to make a sketch model - if you were making it physically from card or drawing it with a pencil you'd think to yourself 'I want a 200mm deep fascia' and make/draw it at about that - an initial design should be about proportion and scale not real life wood sizes... If later on the detailed design comes up with 175mm timbers and a 65mm roof build up and a 15mm soffit it's not miles off and can be adjusted to suit ??? If you know the final build-ups then doing a quick bit of trig just the once will give the fascia's vertical height - FasciaHeight = TotalRoofThickness / cos(RoofAngleInDegrees)If you work in A:B pitch format then it's - FasciaHeight = TotalRoofThickness * (SquareRoot((A*A)+(B*B))) / B A 'mono-pitched' roof is so easy to make in SUp that I didn't add it... use the protractor tool to set pitch, guide-lines to offset, draw the profile and make the form including the top/bottom overhangs, and with pushpull as needed, including any verge overhangs - color to suit ? I've no plans to do any work on Roof for a while as there are many things in front of it in the queue 
TIG
-

TIG
- Global Moderator
-
- Posts: 20486
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by utiler » Mon Feb 15, 2010 12:50 am
Thanks TIG, can see you have been busy..... Trig' is what I currently apply to work-out the roof profile vertically; or just set a fascia depth that is close. I just thought if it was a simple addition [obviously I don't speak the language] it would be a great alternative..... No problem, I can live with it. Keep up your great work!
purpose/expression/purpose/....
-

utiler
- Top SketchUcator
-
- Posts: 2438
- Joined: Wed Nov 14, 2007 11:35 am
- Location: Queensland, Australia
- Name: Andrew
- Operating system: Windows
- SketchUp version: 2013
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by Ad Machine » 5 minutes ago
-
Ad Machine
- Robot
-
- Posts: 2012
-
Return to Extensions & Applications Discussions
|