sketchucation logo sketchucation
    • 登入
    ℹ️ 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

    已排程 已置頂 已鎖定 已移動 Plugins
    395 貼文 85 Posters 131.9k 瀏覽 85 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • TIGT 離線
      TIG Moderator
      最後由 編輯

      @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 條回覆 最後回覆 回覆 引用 0
      • P 離線
        pgarmyn
        最後由 編輯

        @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 條回覆 最後回覆 回覆 引用 0
        • C 離線
          caronte01
          最後由 編輯

          @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 條回覆 最後回覆 回覆 引用 0
          • KrisidiousK 離線
            Krisidious
            最後由 編輯

            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 條回覆 最後回覆 回覆 引用 0
            • P 離線
              pgarmyn
              最後由 編輯

              @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 條回覆 最後回覆 回覆 引用 0
              • KrisidiousK 離線
                Krisidious
                最後由 編輯

                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 條回覆 最後回覆 回覆 引用 0
                • C 離線
                  caronte01
                  最後由 編輯

                  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 條回覆 最後回覆 回覆 引用 0
                  • C 離線
                    caronte01
                    最後由 編輯

                    @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 條回覆 最後回覆 回覆 引用 0
                    • P 離線
                      pgarmyn
                      最後由 編輯

                      @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 條回覆 最後回覆 回覆 引用 0
                      • P 離線
                        pgarmyn
                        最後由 編輯

                        @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 條回覆 最後回覆 回覆 引用 0
                        • P 離線
                          pgarmyn
                          最後由 編輯

                          @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 條回覆 最後回覆 回覆 引用 0
                          • C 離線
                            caronte01
                            最後由 編輯

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

                            1 條回覆 最後回覆 回覆 引用 0
                            • C 離線
                              chooyod
                              最後由 編輯

                              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 條回覆 最後回覆 回覆 引用 0
                              • P 離線
                                pgarmyn
                                最後由 編輯

                                @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 條回覆 最後回覆 回覆 引用 0
                                • P 離線
                                  pgarmyn
                                  最後由 編輯

                                  @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 條回覆 最後回覆 回覆 引用 0
                                  • TIGT 離線
                                    TIG Moderator
                                    最後由 編輯

                                    @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.
                                    Looks like you have got your v8 PC Plugins folder [and its contents] 'Security Permissions' all messed up...
                                    Read this http://sketchucation.com/resources/tutorials/36-intermediate/811-setting-security-permissions-in-sketchup
                                    This error does not relate directly to this specific Plugin - it also refers to mine.
                                    But rather to the fact that things are NOT installed properly - a user issue rather than a specific plugin problem 😒
                                    IF you have FULL security permissions setup properly for the Plugins folder and its contents, then ALL Plugins will be installed properly, then read-in and loaded... and then be available for use after SketchUp has loaded...
                                    You will also need to reinstall any Plugins that still display errors, as some of their files might be within your Windows VirtualStore, rather where you think they are... A 'Compatibilities Files...' link/button on the top-bars of your Plugins folder's Windows Explorer window is a give away!

                                    TIG

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • C 離線
                                      caronte01
                                      最後由 編輯

                                      Hi pgarmyn

                                      As I mentioned before, I´ve got a mac available to test your plugin. Initially, it installed and loaded ok, but most menu items did nothing. I did a small video and saved a log file.

                                      Here´s a link:

                                      Dropbox - Error - Simplify your life

                                      favicon

                                      (www.dropbox.com)

                                      What should I test specifically?

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • C 離線
                                        caronte01
                                        最後由 編輯

                                        I´m posting this separately to try and keep this thread organized.

                                        Can you set via ruby scenes to not generate scene thumbnails? Currently, all scenes created with rs have this set to yes. It is not to useful, and slows down scene creation/editing in large models.

                                        This is set per scene, not globally.

                                        Santiago

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • KrisidiousK 離線
                                          Krisidious
                                          最後由 編輯

                                          Any ideas on my errors? I'm dying to try this out.

                                          By: Kristoff Rand
                                          Home DesignerUnique House Plans

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • C 離線
                                            caronte01
                                            最後由 編輯

                                            Maybe a FR to turn thumbnails creation from ruby on or off to trimble. Quite annoying, and imo not that useful.

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 19
                                            • 20
                                            • 10 / 20
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement