• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ 30% Off | Artisan 2 on sale until April 30th Buy Now

[Plugin] Solid Inspector

Scheduled Pinned Locked Moved Plugins
302 Posts 98 Posters 260.0k 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.
  • A Offline
    Anton_S
    last edited by 25 Sept 2012, 03:14

    Useful, plus efficient plug. πŸ‘

    I've been wondering, what is a rough pseudo code to check whether the group is a solid?

    • at least two faces per edge?
    1 Reply Last reply Reply Quote 0
    • T Offline
      thomthom
      last edited by 25 Sept 2012, 07:40

      @anton_s said:

      Useful, plus efficient plug. πŸ‘

      I've been wondering, what is a rough pseudo code to check whether the group is a solid?

      • at least two faces per edge?

      All edges should have exactly 2 faces. Anything else and it's not a solid. No need to check for anything else.

      Thomas Thomassen β€” SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 25 Sept 2012, 10:22

        Although checking for nested objects like groups/images/instances also helps because they stop 'solidness' too...
        Normally, to be seen as a 'solid' a group/component should contain only edges/faces and ALL edges must have two faces [no more, no fewer]. Note that there could also be 'Guides' inside a 'solid', because they won't interact with its geometry...

        TIG

        1 Reply Last reply Reply Quote 0
        • A Offline
          Anton_S
          last edited by 25 Sept 2012, 22:38

          @thomthom said:

          All edges should have exactly 2 faces. Anything else and it's not a solid. No need to check for anything else.

          Wow, I was close! πŸ˜„

          @tig said:

          Although checking for nested objects like groups/images/instances also helps because they stop 'solidness' too... Guides...

          Thanks, good advice! πŸ‘ I guess that makes-up a complete defenition of a solid. πŸ˜„

          1 Reply Last reply Reply Quote 0
          • M Offline
            MYguel
            last edited by 27 Sept 2012, 10:33

            Hi,
            I have the following problem after installing solid inspector. When I start SketchUp I get the error dialog box:

            Error Loading File tt_solid_inspector.rb
            uninitialized constant TT;;GUI;;ToolWindow
            

            Does anyone encountered the same error previously? I use SketchUp 8 (the free version) from wine under linux, I do not think it could be related, but it is the only thing that is special considering my case.

            • sincerely,

            Myguel

            1 Reply Last reply Reply Quote 0
            • D Offline
              Dave R
              last edited by 27 Sept 2012, 13:35

              Did you also install TT_Lib2 as specified in the original post?

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

              1 Reply Last reply Reply Quote 0
              • M Offline
                MYguel
                last edited by 27 Sept 2012, 15:15

                Thanks for the quick answer. I copied the TT_LIB2 folder inside the Plugin folder of SketchUp. I suppose it's correctly installed so, but maybe I'm wrong?

                • sincerely,
                  MYguel
                1 Reply Last reply Reply Quote 0
                • T Offline
                  thomthom
                  last edited by 27 Sept 2012, 15:42

                  @myguel said:

                  Thanks for the quick answer. I copied the TT_LIB2 folder inside the Plugin folder of SketchUp. I suppose it's correctly installed so, but maybe I'm wrong?

                  • sincerely,
                    MYguel

                  Can you post screenshot of the file and where they are located?

                  Thomas Thomassen β€” SketchUp Monkey & Coding addict
                  List of my plugins and link to the CookieWare fund

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    MYguel
                    last edited by 27 Sept 2012, 17:50

                    All the files are in the .wine/drive_c/Program Files/Google/Google SketchUp 8/Plugins
                    Here are the output of the command that list the content of the folders:

                    $$>ls -1
                    config-thumb.jpg
                    Examples
                    examples.rb
                    hideall.rb
                    __MACOSX
                    Ocean
                    ocean_extension.rb
                    samples_library
                    samples_library_ext.rb
                    TT_Lib2
                    tt_solid_inspector.rb
                    Utilities
                    utilities.rb
                    VolumeCalculator21.rb
                    
                    $$> cd TT_Lib2
                    $$> ls -1
                    config-thumb.jpg
                    Examples
                    examples.rb
                    hideall.rb
                    __MACOSX
                    Ocean
                    ocean_extension.rb
                    samples_library
                    samples_library_ext.rb
                    TT_Lib2
                    tt_solid_inspector.rb
                    Utilities
                    utilities.rb
                    VolumeCalculator21.rb
                    manu@rebus;Plugins$ cd TT_Lib2/
                    manu@rebus;TT_Lib2$ ls -1
                    arc.rb
                    attributes.rb
                    babelfish.rb
                    bezier.rb
                    binary.rb
                    bounds.rb
                    CHANGELOG.txt
                    color.rb
                    core.rb
                    cursor.rb
                    cursors
                    debug.rb
                    definition.rb
                    dimension.rb
                    edges.rb
                    entities.rb
                    faces.rb
                    geom3d.rb
                    gizmo_manipulator.rb
                    gui.rb
                    image.rb
                    inputbox.rb
                    instance.rb
                    integrity_list.dat
                    javascript.rb
                    json.rb
                    libraries
                    locale.rb
                    materials.rb
                    modal_wrapper.rb
                    model.rb
                    point3d_ex.rb
                    point3d.rb
                    progressbar.rb
                    ray.rb
                    README.txt
                    selection.rb
                    settings.rb
                    simpletask.rb
                    sketchup.rb
                    system.rb
                    toolbarwindow.rb
                    toolwindow.rb
                    uv_plane.rb
                    uvq.rb
                    version.rb
                    webdialog
                    webdialog_patch.rb
                    win32.rb
                    window.rb
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      MYguel
                      last edited by 30 Sept 2012, 19:19

                      Hi,
                      I confirm the problem comes from the wine install somehow. I install the plugin on a mac the same way as with the linux and it works perfectly.
                      I will ask for some help in the wine community.

                      Thanks for your answers so far.

                      • sincerely,

                      Myguel

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        thomthom
                        last edited by 30 Sept 2012, 20:21

                        @myguel said:

                        Hi,
                        I confirm the problem comes from the wine install somehow. I install the plugin on a mac the same way as with the linux and it works perfectly.
                        I will ask for some help in the wine community.

                        Thanks for your answers so far.

                        • sincerely,

                        Myguel

                        Let me know what you find out.

                        Maybe it could be encoding difference? I wonder if I recall someone on the forum mention something about line ending characters being an issue.

                        Thomas Thomassen β€” SketchUp Monkey & Coding addict
                        List of my plugins and link to the CookieWare fund

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          Soctrep
                          last edited by 8 Oct 2012, 17:45

                          I'm a noob. Do I need SU PRO? I have SU 8, Mac OSX, dragged both TT_Lib2 2.6.0 and tt_solid_inspector to Google Sketchup 8 folder, tried unzipping in Terminal (says cannot find or open file even tho it's on desktop) and still can't find Solid Inspector in Tools. What else could it be?

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            thomthom
                            last edited by 8 Oct 2012, 21:27

                            Could be that you installed it incorrectly... not sure.
                            You might find it easier and more reliable to use this utility to install plugins:
                            http://sketchucation.com/forums/viewtopic.php?t=42315

                            Thomas Thomassen β€” SketchUp Monkey & Coding addict
                            List of my plugins and link to the CookieWare fund

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              TIG Moderator
                              last edited by 8 Oct 2012, 21:31

                              @soctrep said:

                              I'm a noob. Do I need SU PRO? I have SU 8, Mac OSX, dragged both TT_Lib2 2.6.0 and tt_solid_inspector to Google Sketchup 8 folder, tried unzipping in Terminal (says cannot find or open file even tho it's on desktop) and still can't find Solid Inspector in Tools. What else could it be?
                              Read and understand this http://www.thomthom.net/thoughts/2012/01/installing-plugins-for-google-sketchup/ and then this http://sketchucation.com/forums/viewtopic.php?p=426513#p426513
                              We could debate what files went into which folders... but if you follow this it will give you good results.
                              Also some tools are Extensions and need activating from the Preferences menu the first time you install them, and/or they have special submenus from which you can run them etc... Read the tool's usage notes to clarify this aspect...

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • K Offline
                                karel1962
                                last edited by 19 Oct 2012, 20:14

                                Can't get to solid inspector work in Pro8 ???

                                .rbz plugins do work ... . rb plugins don't ??

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  TIG Moderator
                                  last edited by 20 Oct 2012, 00:32

                                  @karel1962 said:

                                  Can't get to solid inspector work in Pro8 ???

                                  .rbz plugins do work ... . rb plugins don't ??
                                  You are somewhat cryptic in your error reporting...
                                  I suspect that you are not installing the files properly.
                                  Read the tool's download page again.
                                  If you have v8 pro then the Preferences > Extensions > Installer tool will easily extract what's needed from the rbz archive and put it in the correct locations for you.
                                  Note that this is an Extension and might require that it is one-time activated from 'Extensions', you might also need to restart SketchUp to get everything to auto-load the first time...
                                  ALSO the tool needs a TT support Lib folder.
                                  This is clearly explained on that page, there is a link to its download page...
                                  Follow the instructions for the installation of that Lib too...
                                  You'll probably have to restart SketchUp after the install to get everything working...

                                  On a MAC the correct 'plugins' folder is the one at the root HD level NOT the 'users' one - this has been discussed in several threads in great detail...

                                  To make installing tools' files and their support subfolders etc thomthom has also made a free Simple-Plugins-Installer, available via the Plugins Index. Once this is installed you can then easily install files and subfolders from rbz/zip archives and also individual rb/rbs files, without worrying about finding the correct folders etc...

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    thomthom
                                    last edited by 23 Oct 2012, 10:34

                                    @karel1962 said:

                                    Can't get to solid inspector work in Pro8 ???

                                    .rbz plugins do work ... . rb plugins don't ??

                                    What exactly "isn't working"?
                                    Did you install the rb file correctly?
                                    Here's an article on how to install plugins: http://www.thomthom.net/thoughts/2012/01/installing-plugins-for-google-sketchup/

                                    Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                    List of my plugins and link to the CookieWare fund

                                    1 Reply Last reply Reply Quote 0
                                    • mvollrathM Offline
                                      mvollrath
                                      last edited by 30 Oct 2012, 20:30

                                      You sir are a godsend! Thank you so very much! πŸ˜„

                                      -Michael Vollrath

                                      1 Reply Last reply Reply Quote 0
                                      • P Offline
                                        Poffel
                                        last edited by 15 Nov 2012, 13:24

                                        @thomthom: With this tool and your fantastic tt_lib2 tools you are my hero! Before, I was almost desperated.

                                        πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘

                                        1 Reply Last reply Reply Quote 0
                                        • A Offline
                                          amrossi
                                          last edited by 16 Nov 2012, 17:37

                                          Muito Obrigado!!!!

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 5
                                          • 6
                                          • 7
                                          • 8
                                          • 9
                                          • 15
                                          • 16
                                          • 7 / 16
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement