• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] RichSection V0.5.8 UPDATED march 2015

Scheduled Pinned Locked Moved Plugins
395 Posts 85 Posters 131.8k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    caronte01
    last edited by 24 Mar 2014, 01:29

    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!!!!

    MID-Pot-Petro04h.jpg

    1 Reply Last reply Reply Quote 0
    • K Offline
      Krisidious
      last edited by 24 Mar 2014, 06:33

      "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.

      By: Kristoff Rand
      Home DesignerUnique House Plans

      1 Reply Last reply Reply Quote 0
      • P Offline
        pgarmyn
        last edited by 24 Mar 2014, 06:38

        @Caronte01
        Thanks for testing on Mac. So it works on Mac

        1 Reply Last reply Reply Quote 0
        • P Offline
          pgarmyn
          last edited by 24 Mar 2014, 07:03

          @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
          1 Reply Last reply Reply Quote 0
          • B Offline
            Bob James
            last edited by 24 Mar 2014, 08:03

            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

            i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

            1 Reply Last reply Reply Quote 0
            • T Offline
              TIG Moderator
              last edited by 24 Mar 2014, 10:52

              @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 uses Sketchup.find_support_file('Plugins') and looks for files in the main Plugins folder.
              This has long be sorted by using File.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...

              TIG

              1 Reply Last reply Reply Quote 0
              • P Offline
                pgarmyn
                last edited by 24 Mar 2014, 11:35

                @Bob, @TIG
                Thanks for the information. Yes i read about the RBS - find_support_file issue.
                Just forgot about it, since i only use 'standard' file locations.
                I will put a note in 'known issues' and update the plugin.

                1 Reply Last reply Reply Quote 0
                • C Offline
                  caronte01
                  last edited by 24 Mar 2014, 16:08

                  @pgarmyn said:

                  @Caronte01
                  Thanks for testing on Mac. So it works on Mac

                  I don't know. I switched to windows recently.... I'll update my profile to reflect that.

                  S

                  1 Reply Last reply Reply Quote 0
                  • K Offline
                    Krisidious
                    last edited by 24 Mar 2014, 16:37

                    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?

                    By: Kristoff Rand
                    Home DesignerUnique House Plans

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      pgarmyn
                      last edited by 24 Mar 2014, 18:44

                      @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
                      1 Reply Last reply Reply Quote 0
                      • K Offline
                        Krisidious
                        last edited by 24 Mar 2014, 19:02

                        following that route I get

                        load 'PiGa_RichSection.rb!'
                        true

                        but 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"
                        Untitled-1.jpg

                        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.

                        By: Kristoff Rand
                        Home DesignerUnique House Plans

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          caronte01
                          last edited by 24 Mar 2014, 19:50

                          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

                          Screenshot 2014-03-24 14.40.53.png

                          1 Reply Last reply Reply Quote 0
                          • C Offline
                            caronte01
                            last edited by 25 Mar 2014, 01:33

                            @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.....

                            1 Reply Last reply Reply Quote 0
                            • P Offline
                              pgarmyn
                              last edited by 25 Mar 2014, 20:10

                              @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 😉

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                pgarmyn
                                last edited by 25 Mar 2014, 21:39

                                @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.

                                1 Reply Last reply Reply Quote 0
                                • P Offline
                                  pgarmyn
                                  last edited by 25 Mar 2014, 21:42

                                  @caronte01

                                  • 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]
                                    RichSection Settings (Version 0.3.0)
                                  • 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.
                                  1 Reply Last reply Reply Quote 0
                                  • C Offline
                                    caronte01
                                    last edited by 26 Mar 2014, 02:52

                                    Perfect. It can be solved. So cut, and then paste in place will force a redraw.... Great! Thanks

                                    1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      chooyod
                                      last edited by 26 Mar 2014, 05:52

                                      Hi Pgarmyn,
                                      An error occurred in present version V0.3.1 as shown below. Thus could not find the RichSection tool as well.

                                      Please make any suggestions.
                                      Thank you.


                                      26-3-2557 12-38-11.jpg

                                      1 Reply Last reply Reply Quote 0
                                      • P Offline
                                        pgarmyn
                                        last edited by 26 Mar 2014, 06:26

                                        @caronte01 said:

                                        Perfect. It can be solved. So cut, and then paste in place will force a redraw.... Great! Thanks

                                        Correction : i did Copy + Past in place
                                        Double geometry will be 'unified' >> geometry will be redefined

                                        1 Reply Last reply Reply Quote 0
                                        • P Offline
                                          pgarmyn
                                          last edited by 26 Mar 2014, 07:07

                                          @chooyod said:

                                          Hi Pgarmyn,
                                          An error occurred in present version V0.3.1 as shown below. Thus could not find the RichSection tool as well.

                                          Please make any suggestions.
                                          Thank you.

                                          Please complete your profile : MAC or WINDOWS ?
                                          MAC : not compatible yet.

                                          You also have an error on Loading ExtrudeTools.rb >>Permission denied
                                          ExtrudeTools.rb is not part of my Plugin, i think it is TIG's

                                          Did you restart Sketchup after the update ?
                                          I suggest to

                                          • Un-install the RichSection plugin manually (Sketchucation Tools only renames the loader): go to de plugin directory and delete PiGa_RichSection.rb (or extensions .rb! .rbx) and folder PiGa_RichSection; for older versions :delete RichSection_loader.rb (or extensions .rb! .rbx) and folder RichSection;
                                          • restart Sketchup
                                          • Re-instal RichSection using Plugin Store & Sketchucation Tools
                                          • close and restart Sketchup
                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 8
                                          • 9
                                          • 10
                                          • 11
                                          • 12
                                          • 19
                                          • 20
                                          • 10 / 20
                                          10 / 20
                                          • First post
                                            185/395
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement