[Plugin] Roof.rb
-
@tig said:
It is an old toolset... but it should work.
Use it with the Ruby Console open...
A few pointers...
The face for a hipped roof must be falt and NOT at z=0.
There should be prompts on the status-bar and dialogs that ask for inputs...
Report any errors from the Ruby Console...Please forgive me, I am fairly new to sketchup. I know that is a ruby file but what does " use it with ruby console open" mean?
-
It's a little box screen that display in text mode in real time all that is working on the screen of Sketchup!
If there is an error that is displayed and like this that help a lot for debbugging!
-
Menu -
Window > Ruby Console...
Opens a window that lists errors/outputs and also lets you type in simple Ruby commands... -
Big thanks to you.
-
Upgraded to the 2018 version. In doing so, i lost my two extentions, Tig Roof and Dashed Lines. Tried to install Tig Roof from Plugin in store. I get this error message. "This file does not have an app associated with it for performing this action. Please insstall an app or, if one is already installed, create an association in the Default Apps Setting Page." Anyone have experience this situation?
-
At last after a private email exchange we get the issue revealed !
This is nothing to do with SketchUcation.com or its RBZ downloads...
When you download anything from the Internet your browser will having certain settings to determine what happens to that downloaded file.
These are set up for each file-type...
So your 'options' will vary depending on your Internet browser's settings, and then the file-type.
I suggest you edit your browser's options and ensure that RBZ file types are always prompted for a saved-file destination - usually your Downloads folder - but you could even avoid the 'save' prompt and always save them into Downloads ?
Otherwise your browser settings can assume you want to open the file immediately, hence the prompt to choose an app.
But you cannot open an RBZ file in an app.
You must download it, then install it from within SketchUp itself...What's your internet-browser ?
With that info we can advice you more specifically on the required setup for downloading/saving RBZ files, in your settings/options...I repeat the process from my recent private email exchange...
@unknownuser said:
Here's how to get it [installed], step by step...
Download its RBZ file from the PluginStore.
Save it somewhere sensible - like your Downloads folder...
[see earlier about your browser's settings prompting for 'save' rather than 'open']
...
In SketchUp open the Extension Manager dialog from the Window menu item.
Click the bottom-left red-button 'Install Extension'.
Find and open the RBZ.
SketchUp then installs it for you...PS: I've also merged this into the main 'Roof' thread, where it belongs...
-
In anticipation of your reply about what-browser...
Attached are the settings/options for the most common PC-based browsers, accessed from the top toolbar "..." or 'cog' button.Firefox_Options-General
[attachment=3:1id27rd4]<!-- ia3 -->Firefox-Options-General.PNG<!-- ia3 -->[/attachment:1id27rd4]
Chrome-Settings-Downloads
[attachment=2:1id27rd4]<!-- ia2 -->Chrome-Settings-Downloads.PNG<!-- ia2 -->[/attachment:1id27rd4]
Edge-Settings-Downloads
[attachment=1:1id27rd4]<!-- ia1 -->Edge-Settings-Downloads.PNG<!-- ia1 -->[/attachment:1id27rd4]
InternetExplorer-Internet_Options-Security-Downloads
[attachment=0:1id27rd4]<!-- ia0 -->InternetExplorer-Internet_Options-Security-Downloads.PNG<!-- ia0 -->[/attachment:1id27rd4]Use the one applicable to you...
-
-
HOW DO I DOWNLOAD IT
-
@presha98 said:
HOW DO I DOWNLOAD IT
No need to use all caps. Go to the first post of the thread and click the Download button.
https://sketchucation.com/forums/viewtopic.php?f=80&t=66826Please correct your profile. You've indicated you are using a SketchUp version that does not exist. Showing the actual version you are using helps us help you.
-
I've successfully downloaded the extension and am able to see it in my extension window, however when I go to the roof extension the options are greyed out. Why might this be?
-
Check your Extension Loading Policy in Extension Manager is set to 'Unrestricted'...
Restart and retry... -
TIG
Hi, im trying your roof plugin and it looks great, however I was wondering how and if I can change the units from inches to mm. im on a Mac Pro. Thanks hope you can help
-
Roof uses the model's current units settings !
So change your Model Info > Units to say mm and all will be OK.
If you normally work in mm, then you should have a Template which starts in mm and start with that.
However, you can change/save a model's units at any time... -
Thanks so much, it works like a charm,
I opened my templates that is set up in the correct units of mm, and all the measurements were given in mm for building my roofs! thank you -
Bonjour, existe t'il en francais?
Merci
-
English only - dΓ©solΓ©
-
@tig said:
Is this with the Hipped roof tool ?
Are there any error messages in the Ruby Console or in dialogs ?
Is there a Bugsplat ?It is possible to invent a plan face for a hipped roof form that cannot exist in 3d, but usually it tells you it's failed rather than crashing...
Sorry for the late reply. I was on vacation.
Coming back to the issue, I have found the problem: The face was created with multiple broken lines, therefore generating a hipped roof caused the crash. Fix was to just redraw the whole face without broken lines.
I do not know how to find error messages in the ruby console or dialogs
It does show a Bugsplat reportAnother issue has popped up: I am unable to generate a hipped roof. I have tried troubleshooting myself, but I even failed generating a hipped roof on a basic square face.
Hipped Roof with the following parameters:
Slope: 22.5 degrees
Fascia: 100mm
Soffit: 300mmNote: I can not even generate a hipped roof on a basic square with default parameters.
I have uploaded the skp file. SU Pro 2020. Please review if free. Thanks!
-
The SKP you provided has 2 roof faces at z>0 [faces at z0 don't work].
These 2 are identical in edge sizes and orientations/direction.
The one on the right takes a hipped roof OK, but the one on the left fails with an error message.
This is weird.
However, if you follow the advice in the error message on that problem face. and erase one edge and remake t the new face will also take a hipped roof OK.
Something in your model's database is skewed.
But it is fixable... -
@tig said:
The SKP you provided has 2 roof faces at z>0 [faces at z0 don't work].
These 2 are identical in edge sizes and orientations/direction.
The one on the right takes a hipped roof OK, but the one on the left fails with an error message.
This is weird.
However, if you follow the advice in the error message on that problem face. and erase one edge and remake t the new face will also take a hipped roof OK.
Something in your model's database is skewed.
But it is fixable...Thank you. I have tried using new files/ swap Computers/ skp 2022, still no fix for me. Maybe it's just a weird roof shape.
I have resorted to draw the roof manually. I have tested this roof shape with an AutoCAD Plugin. The generated roof design seems to be at fault, missing one ridge, attached screenshot. I have tried manually connecting the ridge, shown in green lines screenshot, and I'd assume it might have a less than 1 degree slope. I can't measure out the exact angle, as AutoCAD shows '180 degree' flat once connected. It's a weird roof layout anyways.
Perhaps a tolerance/rounding on the plugin may help? Just suggesting, I do not have a clue with code writing etc.
Advertisement