[Plugin] RichSection V0.5.8 UPDATED march 2015
-
The file is NOT currently offered as compatible with v2014...
Although many scripts need no adjustment to run on any version of SketchUp 'out-of-the-box'...The error message looks like an incompatible file encoding.
Ruby2.0 used by v2014 needs UTF8-without-BOM for its files' encoding.
If any ANSI file has crept into the setup it can fail.I fell foul of this where some FRench language translation files were supplied to me in ANSI format.
Everything worked fine in all SUp versions until someone tried the tool with their locale set to FR - it failed !Looking at the files in the current set I see that several of the files in the subfolder relating to language-translations are indeed in ANSI !!! [dam' FR ]
It is straightforward to use Notepad++.exe to change their coding to be UTF8-without-BOM and save them.
This might be an interim fix, but the author really ought to issue an updated set - this is not rocket-science
-
@TIG @Caronte01
I'm actually working on RichSection for SU-2014.... -
@TIG
[dam' FR ]
accents, cedilla, etc...
Sure : and because of that some cool Program like ZBrush will never had French UI because that will say rewrite all the code!!! A tragedy for us!
A multi-languages system was not built from the start! -
RichSection has been updated for Sketchup 2014
See first post:
http://sketchucation.com/forums/viewtopic.php?f=323%26amp;t=55072#p499865 -
Hi pgarmyn,
It now works perfectly with 2014!!! I love this plugin!!! Itยดs exactly what i needed for my sketchup/layout workflow.
I was playing with material by layer assignment (which works great), but wondered if there was a possibilty of implementing some kind of wildcard support for material assignment.
For example, in my construction models I normally have a very strict layer organization, and use prefixes to separate architectural elements from structural ones, furniture, etc. I use a- for architectural elements, es- for structure, etc. Usually, structural elements are concrete in my country, with some exeptions, and I normally use different layers for slabs and columns, yet they both are concrete, and should show the same hatch pattern. Right now, I have to create two identical materials for slabs (#es-placas), and for columns (#es-columnas).What if instead of this, I could create a material called #es-*, and that material would cover everything with the es- prefix. That could decrease the amount of materials per model significantly.
Edit, Iยดll play with all the options of material assignment some more....
But, independent of this, it is a great plugin.
Keep it up.
Thanks a lot!!!!
-
"Error Loading File PiGa_RichSection.rbundefined method ~+' for nil:NilClass"
On Win7 SU8 and 2013
after changing folder permissions I got "uninitialized constant PiGa::RSection"
Plugin shows up in preferences/extensions but not in toolbars or plugins after installation but then SU errors on restart.
-
@Caronte01
Thanks for testing on Mac. So it works on Mac -
@Krisidious
Strange, it works for me with SU 8, 2013 and 2014.
Maybee a conflict with another plugin. Can you test by unloading other plugins?
If that didn't work :
I need more information : can you ...- deactivate the plugin, restart Sketchup
- open the ruby console and type :
load 'PiGa_RichSection.rb' - Copy and send me the output.
Thanks
-
Works fine in the 'standard' plugin location (C:\Users\Bob\AppData\Roaming\SketchUp\SketchUp 2014\SketchUp\Plugins), but does not work (gets loading errors) in additional plugin location
-
@bob james said:
Works fine in the 'standard' plugin location (C:\Users\Bob\AppData\Roaming\SketchUp\SketchUp 2014\SketchUp\Plugins), but does not work (gets loading errors) in additional plugin location
That sounds like the RBS usesSketchup.find_support_file('Plugins')
and looks for files in the main Plugins folder.
This has long be sorted by usingFile.dirname(__FILE__)
to find the location of a loading RB file to link other files to it, so it loads properly from any folder.
This path can be set in the initial loader RB.
Unfortunately the main code inside the subfolder is RBS and until v2014 encrypted code couldn't use__FILE__
inside itself...
BUT a cross-version friendly way is to define a value [Constant or @var] in the body of the RB file's code, that carries over into the same RBS method[s] too...
There is no intellectual property rights to protect in setting some folder-paths.
A common way is to have the 'initial_loader' RB in Plugins - which sets up the Extension, and in turn loads another RB 'code_loader' in the matching subfolder sorting out folder-paths etc, and then loads the various RBS [or other RB] files it needs to complete the tool's creation... That way the 'code_loader' can access FILE etc and set 'module based variables', accessible in the companion RBS files which it about to load too... -
-
@pgarmyn said:
@Caronte01
Thanks for testing on Mac. So it works on MacI don't know. I switched to windows recently.... I'll update my profile to reflect that.
S
-
pgarmyn says that mine are warnings and that my plugin is being loaded twice. I used plugin store to install and used the standard plugins location. any ideas?
-
@krisidious said:
pgarmyn says that mine are warnings and that my plugin is being loaded twice. I used plugin store to install and used the standard plugins location. any ideas?
YES/No. Errors in your first post (above)
Warnings after loading manually by the command 'load ....' (private post)Try again this :
- In Menu Windows/preferences/extensions by shure to have activated the plugin
- If not, do so.
If still no Panel or Menu (plugin/RichSection) is visible : - Disable the plugin in Sketchucation Plugins Manager (I wrote deactivate, wich was wrong)
- Open The Ruby console and type (correction .rb! and not .rb ) + return key
load 'PiGa_RichSection.rb!'
Copy and post the output in the Ruby console
Thanks
-
following that route I get
load 'PiGa_RichSection.rb!'
truebut plugin does not load.
shows in extensions
not in toolbar.
not in plugins.restarting SU shows Ruby warning of
"Error Loading File PiGa_RichSection.rbundefined method ~+' for nil:NilClass"
SU locks and acts as though there is an dialog box open somewhere and needs prompting. but no dialog is visible. Process must be killed to restart. plugin must be removed to get SU going.
I have 3 screens and perhaps the dialog is off screen somewhere. I can't find it.
-
Hi pgarmy
A couple of questions:
Is there a need to have a style created per scene? In the model Iยดm working on right now, I have 15 rich sections, and that creates 15 different styles. Maybe have a switch to create only two, when the first rich section is created?
I know it has been asked before, but an option to only create 1 scene instead of two. I kind of understand, from reading previous posts that it is necessary, but maybe an option to only create one.
There is a bug (i think). I renamed a couple of rich sections with the context menu. The layer was renamed accordingly, but only one of the two scenes was.
Also, some of the cut geometry will not create a face. I checked and they are solids (report a volume). What else should I look for when this happens?
Thanks
Santiago
-
@pgarmyn said:
- 1 scene : it's already in the settings
Hi Pgarmyn,
Sorry to ask, but how, I looked through the entire topic and could not find it?
Thanks for your time!
S
Edit:
Thanks for clarifying. Lots of settings to play with.....
-
@caronte01 said:
....and could not find it?...
I'v put a picture of the 'RichSection Setting' panel in my previous post.
Update your plugin if you don't have those settings in Menu/plugin/RichSection/settings -
@caronte01 said:
...., some of the cut geometry will not create a face....
This is the first time i see a solid not producing a section face in RichSection.
It's not a matter of complexity. Even when i copy the solid group in an empty model it doesn't want to produce a horizontal cut. The solid group is part of a component. In 2 of the 3 instances it produces a section-cut.
The only way to correct : redefine de geometry:
-you can redraw
-faster (tested on SU 2013 and SU2014: open the group (or component) containing only edges and faces (use Menu/Component edit/Hide rest of model +Hide similar); Select all edges and faces ; copy ; past in place ; close the nested groups & components >> Sketchup will redefine (simplify) all faces and edges ; update de RichSection. -
- Different scenes with same style : is on my 'todo' list, but ruby 2.0 / SU2014 came inbeween.
To change the scene style and purge the unused styles :
Activate scene 001; In the scene panel : select multiple scenes : 001, 002, 003...;
Update : in the options unselect everyting except 'style'; Section plan visibility, cut color, cut line width are in the scene style.
they will be the same.
Do the same for 001_,002_, .... . - 1 scene : this option is in the settings : [highlight=#ffffbf:hjq3xewl]Menu/Plugins/RichSection/Settings[/highlight:hjq3xewl]
- renaming : bug
- no section face for some elements: can you send me a file or part of your file ? (Post can be privat, i will only use your file for debugging)>> see my post on 25 Mar 2014 23:39, below
Thanks for reporting.
- Different scenes with same style : is on my 'todo' list, but ruby 2.0 / SU2014 came inbeween.
Advertisement