[Plugin] Solid Inspector

[Plugin] Solid Inspector

Postby thomthom » Wed Sep 01, 2010 7:12 pm

Overview
A feeble beginning for a tool that checks if Groups or Components are solids or not, highlighting holes or areas or errors.

mmc-solid-test.png

SolidInspector.png




Access
Tools > Solid Inspector

Usage
Click on an group or component to analyst it for holes.
Use Tab (Shift+Tab) to cycle through and zoom to the errors.
Use Up/Down Left/Right arrows to cycle between errors.
Use Return to zoom to current error.
Version 1.1.0:
If nothing is selected - the current context will be inspected.

Future Ideas
  • Webdialog list of errors with description of each error. If possible, attempt to automatically fix.

Requirements
  • SketchUp 7 or newer - ( Other versions untested )
  • TT_Lib2

Download



Footprint
<Sketchup>/Plugins/
+-
tt_solid_inspector.rb

8
Last edited by thomthom on Thu Nov 28, 2013 11:20 pm, edited 1 time in total.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby Ben Ritter » Wed Sep 01, 2010 7:32 pm

Wow Thomas, this is more exciting than the version 8 release. Thank you.
0

Ben Ritter 
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby jeff hammond » Wed Sep 01, 2010 7:52 pm

ha! that just saved me a a bunch of headache (well the headache was already coming on trying to figure out why and older group of mine wouldn't be recognized as a solid in su8)..

used your inspector and it found the teeniest tiniest little face inside
:thumb: :thumb:

thank you!
0
dotdotdot
User avatar
jeff hammond 
Global Moderator
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby pilou » Thu Sep 02, 2010 1:31 am

Creation's crisis! :D :enlight:
0
Is beautiful that please without concept!
My Little site :)
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby notareal » Fri Sep 03, 2010 7:53 am

Nice!
0
Welcome to try Thea Render, Thea support | kerkythea.net -team member

notareal 
Thea Render Support
Thea Render Support
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby jsteacy » Fri Sep 03, 2010 2:31 pm

This is a great tool! Awesome!
0

jsteacy 
Premium Member
Premium Member
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby olishea » Fri Sep 03, 2010 4:24 pm

cheers :thumb:
0
oli
User avatar
olishea 
Premium Member
Premium Member
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby GWD » Sat Sep 04, 2010 12:58 pm

Solid Inspector doesn't load. I place the plugin in the plugin folder and also downloaded the TT_lib2 and placed it on the right placed. But the menu doesn't show up. I tried to load it manually and get the following error:

Error: #<LoadError: (eval):923:in `load': No such file to load -- tt_solid_inspector.rb>
(eval):923

regards,

Guy
0

GWD 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby thomthom » Sat Sep 04, 2010 1:01 pm

What is the exact location to extracted tt_solid_inspector.rb to?
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby GWD » Sat Sep 04, 2010 8:15 pm

C:\Program Files\Google\Google SketchUp 8\Plugins
0

GWD 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby thomthom » Sat Sep 04, 2010 10:01 pm

This is just odd...

You have the file at "C:\Program Files\Google\Google SketchUp 8\Plugins\tt_solid_inspector.rb" - and when you type in load "tt_solid_inspector.rb" into the Ruby Console you get

Error: #<LoadError: (eval):923:in `load': No such file to load -- tt_solid_inspector.rb>
(eval):923


which claims the file is not there... ?


I also don't understand why it says (eval):923
When I try to load a non-existent file I get:
load 'test'
Error: #<LoadError: (eval):0:in `load': no such file to load -- test>
(eval)
(eval):0



Are you sure you didn't but the .rb file in a folder and not directly in the Plugins folder?
Can you post a screenshot of the file in Explorer (including the filepath in the address bar). Sorry to have to make you confirm what you say, but I have had cases like this where the file actually was misplaced.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby GWD » Sun Sep 05, 2010 5:04 am

thomthom,

no problem...

CaptureSolid.JPG

CaptureTT_lib.JPG

CaptureTTlibfiles.JPG


regards,

Guy
0

GWD 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby Krisidious » Sun Sep 05, 2010 5:40 am

I know you're tryin to get me to upgrade Thom...
0
By: Kristoff Rand
Home Designer
Unique House Plans
User avatar
Krisidious 
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby GWD » Sun Sep 05, 2010 9:14 am

ThomThom,

Problem is fixed. I completly removed v7 from my system. It seams that he sometimes opened v7 when i thought i was working with v8.

regards,

Guy
0

GWD 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby thomthom » Sun Sep 05, 2010 9:46 am

Krisidious wrote:I know you're tryin to get me to upgrade Thom...

This doesn't require SU8. ;)
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby thomthom » Sun Sep 05, 2010 9:47 am

GWydouw wrote:ThomThom,

Problem is fixed. I completly removed v7 from my system. It seams that he sometimes opened v7 when i thought i was working with v8.

regards,

Guy

Ah - yes, if you double-click a file to open SU it will open the version you last used.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby GWD » Mon Sep 06, 2010 2:40 pm

ThomThom,

Thanks for this fantastic plugin!!!!

regards,

Guy
0

GWD 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby thomthom » Mon Sep 06, 2010 2:42 pm

:)
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby fountainhead » Mon Sep 06, 2010 7:06 pm

I think this plug-in is long overdue...great job ThomThom! I can't tell you the number of times I've tried a boolean operation, or a volume calculation, only to get the "this ain't a real solid dude" message.

"It isn't a real solid...well what's wrong with it?"

"Not gonna tell ya...but it's wrong for sure. Good luck finding the problem man."

Now instead of hunting aimlessly for the micro gapped edge, or the itty bitty hanging triangle that can only be seen under exponential magnification, you point us right to it.

NICE.
1

fountainhead 
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby thomthom » Mon Sep 06, 2010 7:16 pm

:)
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby tomislavm » Tue Sep 07, 2010 2:31 pm

Thanks!
When can we expect this
Future Ideas

* Webdialog list of errors with description of each error. If possible, attempt to automatically fix.
Automatically fix, o yes!
0

tomislavm 
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby thomthom » Tue Sep 07, 2010 2:44 pm

I don't know. It all depends on when I get a spare moment. I'm currently looking into some UV mapping tool.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby Jim » Tue Sep 07, 2010 3:02 pm

Hi Thom. Here's a scenario - I have a Group I'm checking for a solid. It's quite big and takes a few seconds to open and close the Group. When I use Solid Inspector on the Group to find the errors, I then need to open the Group for editing to fix them, then close it to re-check - open, close, open, close, etc.

Would it be possible to tell the plugin to operator on the current context so we do not need to always change the context between checking and fixing?
-1
Hi

Jim 
Global Moderator
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby thomthom » Tue Sep 07, 2010 3:10 pm

Jim wrote:Would it be possible to tell the plugin to operator on the current context so we do not need to always change the context between checking and fixing?

Yea - I've been thinking it needs a function like that.

*adding to the todo list*
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Weight calculator

Postby Bertier » Wed Sep 08, 2010 3:36 am

Hi there, would it be possible to tell solid :

this is (for example) : solid oak

solid oak is : 640 kg / cubic meter

solid weight : whatever volume * 640 in this case ?

that would be great.

thanx to you guys !
0

Bertier 
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby d12dozr » Wed Sep 08, 2010 4:35 am

Bertier,

Have you seen Volume Calculator by TIG?
0
3D Printing with SketchUp Book
http://goo.gl/f7ooYh

d12dozr 
Top SketchUcator
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby Bertier » Wed Sep 08, 2010 6:27 pm

thank, I hadnot seen it.
0

Bertier 
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby Chris Fullmer » Thu Sep 09, 2010 4:56 am

tomislavm wrote:Future Ideas

* Webdialog list of errors with description of each error. If possible, attempt to automatically fix.
Automatically fix, o yes!


I've also written a solid checking tool about a year and a half ago here:
viewtopic.php?f=323&t=17876

The next day TIG followed my plugin with one of his own that attempts to fix missing faces here:
viewtopic.php?p=143720

So you might already have a script that eill help detect and cleanup non-solids. Good luck,

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby mariocha » Wed Sep 15, 2010 3:16 am

You made made day !!!
Works just fine.
This is going to be so usefull ! :berserk:
0
Mario C.
Every rule has exceptions, but some.
User avatar
mariocha 
Premium Member
Premium Member
 

Re: [Plugin] Solid Inspector (1.0.0) — 01 September 2010

Postby Fabiazz » Tue Oct 12, 2010 4:09 pm

Why I didn't notice this plugin before. This will fix all my unsolidity problem. Great work!
1
User avatar
Fabiazz 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

Who is online

Users browsing this forum: ayindzh, martyfeng, raine110101, suehanfrank and 16 guests