[Plugin] SectionCutFace
-
This tool only appears if just one section-plane is selected - which it is and the face tools is there.
A way to see if it at least works, is to select the section-plane [nothing else] and then open the Ruby Console and copy/paste [or type] this text + an <enter> press, The dialog should now start the tool's processing...
SectionCut.new()
Assuming it can work then I suspect the following issues...A reason for 'grayed' out context-menus is well known... but 'old' and solvable.
It is fixed in the newer versions of Sketchup v8, but I see you have v7, where it can occur.
It is caused by having too many plugins loading 'commands'.
Sketchup used to have a limit of about 1000 commands [but this is much higher in the newer versions], so if you have assembled lots of plugins that make commands once you reach that limit Sketchup starts 'dumping' commands and so some items get 'grayed' [disabled] in the context-menu [the main menus can also show symptoms in severe cases]...
Although this tool particular does not even make a 'command', its availability can be affected by a surfeit of commands when you have the older systems...
The way to fix it is to upgrade to say v8 free and use that: remember that v7 can coexists if you want its DXF tools etc...
Some older scripts did make multiple commands during a sessions, which exacerbated the problem, as far as I know these are all fixed, so at least make sure that you have the latest versions of your tools...
Another ways to try and fix it is to go through your Preferences > Extensions and disable all of the ones you don't often use... AND also to look through the Plugins folder and take out scripts that you rarely use. Then when restarted Sketchup will be 'leaner' and the old grayed context-menu issues should stop... -
Am I able to use this .rb in SketchUp 8? From what I've learnt .rb is for version 7 and .rbz is for version 8. I've done a search on teh thread for mention of .rbz and haven't found anything. I've tried copying the file to the relevant extensions folder in the programe file (as you would for SketchUp 7) however it doesn't seem to work.
Any ideas?
Thanks
-
The .rbz format is just a .rb compressed. So the plugin will work in version 8. Probably you have something wrong with the installation/admin rights. For using the plugin you have to put a section cut in the model then right click-->add section-cut face.
-
@scubadooper said:
Am I able to use this .rb in SketchUp 8? From what I've learnt .rb is for version 7 and .rbz is for version 8. I've done a search on teh thread for mention of .rbz and haven't found anything. I've tried copying the file to the relevant extensions folder in the programe file (as you would for SketchUp 7) however it doesn't seem to work.
Any ideas?
Thanks
So just where did you learn this? Yesterday on another forum I ran into the same thing. That posted emphatically claimed that plugins must be in the .rbz format to work in SketchUp 8. This is absolutely wrong. I'm curious as to where you learned this so perhaps we can correct it and head off problems for other people.
As Massimo says, .rbz files are simply compressed (zipped) plugin files. They may contain more than just the .rb file. For plugins which do have the .rbz format, you can install them with Install Extensions under Preferences>Extensions. For simple .rb files, you only need to drop the file into the Plugins folder.
In your case you probably don't have full read and write permissions for the Plugins folder. Change those permissions to give you total access and reinstall this plugin by copying it into the Plugins folder. Make sure it still has the .rb file extension.
-
Thanks to both of you.
It was a problem in using the script (it's the first extension I've used), the right click advice worked a dream.
-
Matthew, I'm still interested as to where you learned that plugins have to be in the RBZ format to work in SU8.
-
@dave r said:
Matthew, I'm still interested as to where you learned that plugins have to be in the RBZ format to work in SU8.
Sorry I didn't answer in my other post.
I had tried to find the solution to the problem and in reading how to install plugins on the Trimble website (here: http://www.sketchup.com/intl/en/download/rubyscripts.html) it wasn't clear that I was able to use the copy method as well as from an rbz. The text reads 'installing on version 7 and earlier' and 'installing on version 8', when it should read 'installing with a .rb' and 'installing on version 8 (and later?)with a .rbz'
Of note is that the Google website (here http://support.google.com/sketchup/bin/answer.py?hl=en&answer=38583) causes the same effect.
-
I see how it might be mis-interpreted if you don't read the entire page. There is this:
@unknownuser said:
Older versions of SketchUp and .rb files
If you're using an older version of SketchUp or you have a file with the .rb extension, you can install the plugin by placing the Ruby script file into the appropriate folder, and then restarting SketchUp.Thanks for that.
-
Here's a major update...
http://sketchucation.com/forums/viewtopic.php?p=172583#p172583
You now have the option to 'Glue' the section-cut-face to the Section-Plane, so it changes with adjustments to the plane/model-geometry etc...
Recoded to be faster and has customizable color list etc... -
@tig said:
You now have the option to 'Glue' the section-cut-face to the Section-Plane, so it changes with adjustments to the plane/model-geometry etc...
Thatยดs amazing. Thanks so much for adding this long awaited new feature.
That turns Skp 8 into a completly new version! -
Feels a lot faster
One problem, it is creating faces for switched off layers.
-
Great update! Thanks. Is there a way to make it work in 7.1?
-
-
@arcad-uk said:
Feels a lot faster
One problem, it is creating faces for switched off layers.
I'll look at addressing that ?
Didn't it use to ? -
The previous version would only section what was visible so you could extract just parts of the model. What flagged it up for me was all my demolitions suddenly reappeared.
My workflow is similar to Sonder's e.g. background and line work except I'm using fills in LO underneath the line work, is it possible for the glue function to work without faces?
With your new version the defaults can't be edited, any chance of making it so all the Y/N options can be preset by the user as well as selecting <No Face>?
-
http://sketchucation.com/forums/viewtopic.php?p=172583#p172583
This v3.1 update now ignores objects that are hidden/on hidden layers
-
Thank you TIG for all your awesome plugins!
-
Here's v3.2
http://sketchucation.com/forums/viewtopic.php?p=172583#p172583Fixed glitch with glued cut-faces not updating in convoluted nested contexts.
The previous version would sometimes not update a cut if a 'geometry edit' had been done several contexts removed from the section-plane's context - although it dis affect what was cut by the plane itself - but now with v3.2 all glued section-planes will update whenever there's a relevant edit in any other context that might impinge on what a section-plane might cut...
-
Awesome update. Thanks TIG
Just a thought but if the section plane was placed on a layer other than Layer0 could SCF pick the layer name up and use it as the default whilst still offering the option to select a new or other layer?
I'd like to set the edges on can I change the default from No?
-
@arcad-uk said:
Awesome update. Thanks TIG
Just a thought but if the section plane was placed on a layer other than Layer0 could SCF pick the layer name up and use it as the default whilst still offering the option to select a new or other layer?
I'd like to set the edges on can I change the default from No?
The Section-Plane's layer will already be available on the drop-down list, with the new unique SCUT- specific layer being the first offered. I think it's best if each SCUT- is on its own SCUT- layer - that way allows you the best flexibility for views/scenes etc... BUT if you change it each time, you just have to manage thins differently...Once you have set some defaults in the dialog they are remembered for that session...
However, I think you want to change the initial default settings for 'Hide' TO 'No'...
If you DON'T hide edges the SCUT's edges will bleed through in views without an active section-plane and the SCUT's layer on - not much of an issue UNLESS the SCUT is on a shared layer ?I'll issue an update that'll let you edit most of the dialog's initial default settings in the 'SectionCutFace_loader.rb' file file using a plain-text editor like Notepad...
Advertisement