sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] RichSection V0.5.8 UPDATED march 2015

    Scheduled Pinned Locked Moved Plugins
    395 Posts 85 Posters 131.9k Views 85 Watching
    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.
    • R Offline
      rhott311
      last edited by

      Plugin does not display correct input panels in OS X Yosemite in SU 08, textured section does not appear at all. Previous versions of this plugin did not work either. Are there known panel issues for OS X?

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        @pgarmyn said:

        Read again : I NEVER intended to write to the main materials folder.
        Test the code : it will return the documents folder for the current user.
        You are mistaken.

        Your current somewhat convoluted code returns whatever folder the User might have set up to be the default folder for saving Materials in SketchUp's Preferences - and of course this may well be the default SketchUp.../Materials folder...
        To find the default Materials folder Sketchup.find_support_file('Materials') would do...

        If there is no change to the User's default settings the Preferences path should default to be the User's Documents folder...

        BUT in my case it is set to be: C:\Program Files\SketchUp\SketchUp 2015\Materials\
        Although I'd have no problem because the permissions are FULL...

        BUT some Users' won't be so lucky...

        To always point to a folder that should 'always' be fully accessible to the User try some ENV['???'] paths... like 'TEMP' [Win], 'TMPDIR' [Mac], 'USERPROFILE' [+'/Documents'] etc
        These ensure the same folder is used and it has FULL permissions...

        TIG

        1 Reply Last reply Reply Quote 0
        • P Offline
          pgarmyn
          last edited by

          @TIG
          If you know better my intentions than i do, then i am on the wrong site.

          1 Reply Last reply Reply Quote 0
          • srxS Offline
            srx
            last edited by

            Where is this wonderful plugin?

            www.saurus.rs

            1 Reply Last reply Reply Quote 0
            • TIGT Offline
              TIG Moderator
              last edited by

              @pgarmyn said:

              @TIG
              If you know better my intentions than i do, then i am on the wrong site.
              I did NOT say I knew your intentions.
              You said what your intention was.
              I simply point out that your current convoluted Registry hacking code returns the User's Preferences setting for the Materials folder set up under Files...
              This is NOT always the User's Documents folder [your intention].
              It can be any folder that has been set...
              That folder might not have the FULL permissions your coding requires...

              There are simpler ways of finding the User's Documents folder - if that is what you want...

              If you explained the reasoning behind your 'intention' then perhaps a more fruitful dialog would ensue...
              😒

              TIG

              1 Reply Last reply Reply Quote 0
              • TIGT Offline
                TIG Moderator
                last edited by

                @srx said:

                Where is this wonderful plugin?
                PluginStore...
                http://sketchucation.com/pluginstore?pln=RichSection

                It was set to 'unpublished' in its PluginStore entry.
                I assume this was an oversight by the author when updating it.
                Previously he had had an issue with the updating to v0.5.5 RBZ, but this was fixed recently...
                I have used my admin powers to 'published' it.
                However, if for some unclear motive, the author wishes to revert its 'published' status, then he needs to reverse my admin changes, and 'unpublish' it...

                TIG

                1 Reply Last reply Reply Quote 0
                • H Offline
                  hgdar
                  last edited by

                  @pgarmyn said:

                  @hgdar said:

                  Hello,
                  Extension seems great but i can't make it working
                  It seems to install but when i restart SU, i've got the following errors :...
                  I can't launch SU as an administrator. Is it still possible to use plugin?

                  I don't understand : your computer returns "C:/Program Files/SketchUp/SketchUp 2015/" as the default user directory.
                  What Windsows version are you on ?
                  Can you copy these lines in redin the ruby console (copy+past the complete text in red in the input field of the ruby-panel + return button) and send me the result ?

                  defaultFileDir = Win32::Registry::HKEY_CURRENT_USER.open "Software\\SketchUp\\Sketchup 2015\\File Locations", Win32::Registry::KEY_READ puts "result = "+defaultFileDir["Materials"].gsub(/\\/,'/')

                  On my computer it returns :
                  result = C:/Users/MYUSERNAME/Documents/

                  For an unknown reason, the returned path seems to be "C:/Program Files/SketchUp/SketchUp 2015/" on your computer, which is not writable. Can you confirm this ?

                  Mmmh, i don't kwow what happened and why the materials folder path has been changed. I change it back to default value and it's ok now. thx very much

                  1 Reply Last reply Reply Quote 0
                  • 2 Offline
                    2Harry
                    last edited by

                    Sorry pgarmyn, I've been travelling for the past two days and have just now seen your reply to my question.

                    I will try to work out what folders it is trying to access and their permission status.

                    Thanks

                    1 Reply Last reply Reply Quote 0
                    • 2 Offline
                      2Harry
                      last edited by

                      pggarmyn,

                      I ran your ruby code in the console and got this: result = C:/Users/Mark-MSI/Documents/

                      Note that this is on a different computer (my laptop for travelling) but I am getting the same errors with this plugin. Previous machine was running Win7, this one Win8.1

                      I have not changed any of the default file locations in Sketchup

                      Regards

                      1 Reply Last reply Reply Quote 0
                      • 2 Offline
                        2Harry
                        last edited by

                        Sorry pgarmyn,

                        I see that you posted a fixed 0.5.5 version. That is the one I installed on this Win8.1 laptop and it seems that I am getting the same type of error as hgdar:

                        Error: #<Win32::Registry::Error: The system cannot find the file specified.>
                        C:/Program Files/SketchUp/SketchUp 2015/Tools/RubyStdLib/win32/registry.rb:385:in open' C:/Program Files/SketchUp/SketchUp 2015/Tools/RubyStdLib/win32/registry.rb:496:in open'
                        c:/users/mark-msi/appdata/roaming/sketchup/sketchup 2015/sketchup/plugins/piga_richsection/richsection.rbs:1003:in userFileLocations' c:/users/mark-msi/appdata/roaming/sketchup/sketchup 2015/sketchup/plugins/piga_richsection/richsection.rbs:1103:in module:PiGaRSection'
                        c:/users/mark-msi/appdata/roaming/sketchup/sketchup 2015/sketchup/plugins/piga_richsection/richsection.rbs:113:in <main>' C:/Users/Mark-MSI/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/PiGa_RichSection/RSloader.rb:25:in eval'
                        C:/Users/Mark-MSI/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/PiGa_RichSection/RSloader.rb:25:in require' C:/Users/Mark-MSI/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/PiGa_RichSection/RSloader.rb:25:in module:PiGa'
                        C:/Users/Mark-MSI/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/PiGa_RichSection/RSloader.rb:3:in <top (required)>' C:/Program Files/SketchUp/SketchUp 2015/Tools/extensions.rb:197:in require'
                        C:/Program Files/SketchUp/SketchUp 2015/Tools/extensions.rb:197:in load' C:/Users/Mark-MSI/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/PiGa_RichSection.rb:40:in register_extension'
                        C:/Users/Mark-MSI/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/PiGa_RichSection.rb:40:in <module:PiGa>' C:/Users/Mark-MSI/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/PiGa_RichSection.rb:17:in <top (required)>'

                        Regards

                        1 Reply Last reply Reply Quote 0
                        • srxS Offline
                          srx
                          last edited by

                          Still, there is no download in plugin store...

                          www.saurus.rs

                          1 Reply Last reply Reply Quote 0
                          • P Offline
                            pgarmyn
                            last edited by

                            You will have to wait for an update.
                            V0.5.4 won't work on SU 2015 if SU 2014 wasn't installed before
                            V0.5.4 and V0.5.5 won't work on 2014 and 2015 if the user folder for materials isn't defined (even if you see the default path in 'preferences') or if it isn't writable

                            1 Reply Last reply Reply Quote 0
                            • srxS Offline
                              srx
                              last edited by

                              OK. Thanks.

                              www.saurus.rs

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                pgarmyn
                                last edited by

                                [Plugin] RichSection V0.5.6 UPDATED dec 2014

                                PLUGINSTORE

                                1 Reply Last reply Reply Quote 0
                                • P Offline
                                  pgarmyn
                                  last edited by

                                  @rhott311 said:

                                  Plugin does not display correct input panels in OS X Yosemite in SU 08, textured section does not appear at all. Previous versions of this plugin did not work either. Are there known panel issues for OS X?

                                  Hy rhott311

                                  I can not test all combinations of Sketchup versions and Systems.
                                  The last version has been tested on OS X (10.9.4), Sketchup 2014 and 2015
                                  The input panel works on OS X

                                  There was a bug (only on OS X) with the previous versions : Textures displayed only after switching them 'off' and 'on' again
                                  (Menu : View/Face_Style/Shaded and View/Face Style/Shaded_with_Textures)

                                  Try again here : PLUGINSTORE

                                  Thanks for the interest.

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    maxosmedia
                                    last edited by

                                    Sketchup Launch:
                                    RS: ERROR RichSection: REINSTALL THE PLUGIN : could not find file :
                                    RS: /Users/uusername/Library/Application Support/SketchUp 2015/SketchUp/Plugins/PiGa_RichSection/resources/RS-create-icon.png

                                    Console:
                                    Error: #<TypeError: no implicit conversion of nil into String>
                                    /users/uusername/library/application support/sketchup 2015/sketchup/plugins/piga_richsection/richsection.rbs:4866:in small_icon=' /users/uusername/library/application support/sketchup 2015/sketchup/plugins/piga_richsection/richsection.rbs:4866:in module:PiGaRSection'
                                    /users/uusername/library/application support/sketchup 2015/sketchup/plugins/piga_richsection/richsection.rbs:114:in <main>' /Users/uusername/Library/Application Support/SketchUp 2015/SketchUp/Plugins/PiGa_RichSection/RSloader.rb:25:in eval'
                                    /Users/uusername/Library/Application Support/SketchUp 2015/SketchUp/Plugins/PiGa_RichSection/RSloader.rb:25:in require' /Users/uusername/Library/Application Support/SketchUp 2015/SketchUp/Plugins/PiGa_RichSection/RSloader.rb:25:in module:PiGa'
                                    /Users/uusername/Library/Application Support/SketchUp 2015/SketchUp/Plugins/PiGa_RichSection/RSloader.rb:3:in <top (required)>' /Applications/SketchUp 2015/SketchUp.app/Contents/Resources/Content/Tools/extensions.rb:197:in require'
                                    /Applications/SketchUp 2015/SketchUp.app/Contents/Resources/Content/Tools/extensions.rb:197:in load' /Users/uusername/Library/Application Support/SketchUp 2015/SketchUp/Plugins/PiGa_RichSection.rb:40:in register_extension'
                                    /Users/uusername/Library/Application Support/SketchUp 2015/SketchUp/Plugins/PiGa_RichSection.rb:40:in <module:PiGa>' /Users/uusername/Library/Application Support/SketchUp 2015/SketchUp/Plugins/PiGa_RichSection.rb:17:in <top (required)>'

                                    1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      pgarmyn
                                      last edited by

                                      @maxosmedia and OTHERS
                                      Install again, missing files have been added ! SORRY 😳

                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        maxosmedia
                                        last edited by

                                        Sketchup frozen on hit "Update RichSection" button. No section results.
                                        The plugin does not work now 😞

                                        (Mac OS X 10.9.5 SU2015Pro (15.2.686)

                                        1 Reply Last reply Reply Quote 0
                                        • 2 Offline
                                          2Harry
                                          last edited by

                                          Installed V0.5.6 in Sketchup2015 Pro on Win8.1.

                                          Works great now. Will be experimenting over the next few days.

                                          Thank you for your focused efforts to get it running for everyone.

                                          Regards

                                          1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            Sl-m
                                            last edited by

                                            Hi There,

                                            Seems like a very powerful plugin, Well done and thanks for sharing!
                                            I have a question though:

                                            I'm using pro SKetchup pro 2015.
                                            When i have already created cut plans and select one of them, right click and "make realsection", nothing happens. I pressed "show real section" but doesn't make any difference.

                                            What M'I doing wrong ?

                                            Thank you
                                            Sl!m

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 15
                                            • 16
                                            • 17
                                            • 18
                                            • 19
                                            • 20
                                            • 17 / 20
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement