SketchUcation Premium Membership

 

 

[Plugin] Solid Inspector (1.1.0) — 30 June 2011

[Plugin] Solid Inspector (1.1.0) — 30 June 2011

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


tt_solid_inspector.rb


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

Please, register (free) to access all the attachments on the forums.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17907
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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.
Ben Ritter
 
Posts: 356
Joined: Wed Nov 14, 2007 4:55 pm
Location: Malta, Illinois

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!
dotdotdot
User avatar
Jeff Hammond
Global Moderator
 
Posts: 4394
Joined: Thu Jan 24, 2008 11:16 pm
Location: newyorkcity
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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

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

Creation's crisis! :D :enlight:
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10213
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

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

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

Nice!
Welcome to try Thea Render, Thea support | kerkythea.net -team member
notareal
Thea Render
 
Posts: 961
Joined: Tue Nov 13, 2007 9:54 pm
Location: Oulu, Finland
Name: notareal

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!
jsteacy
Premium Member
Premium Member
 
Posts: 110
Joined: Tue Dec 09, 2008 7:31 pm

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

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

cheers :thumb:
oli
User avatar
olishea
Premium Member
Premium Member
 
Posts: 2586
Joined: Sat Nov 01, 2008 4:22 pm
Location: Manchester, UK
Name: Oliver Shea

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
GWD
 
Posts: 85
Joined: Sun Jun 28, 2009 6:44 pm
Location: belgium
Name: Guy Wydouw

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?
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17907
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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
GWD
 
Posts: 85
Joined: Sun Jun 28, 2009 6:44 pm
Location: belgium
Name: Guy Wydouw

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.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17907
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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
Please, register (free) to access all the attachments on the forums.
GWD
 
Posts: 85
Joined: Sun Jun 28, 2009 6:44 pm
Location: belgium
Name: Guy Wydouw

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...
Kristoff Rand
Home Designer
Custom House Plans with a Point of View
User avatar
Krisidious
 
Posts: 3542
Joined: Mon Oct 22, 2007 1:52 pm
Location: Springfield, Missouri. USA
Name: Krisidious
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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
GWD
 
Posts: 85
Joined: Sun Jun 28, 2009 6:44 pm
Location: belgium
Name: Guy Wydouw

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. ;)
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17907
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17907
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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
GWD
 
Posts: 85
Joined: Sun Jun 28, 2009 6:44 pm
Location: belgium
Name: Guy Wydouw

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

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

:)
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17907
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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.
fountainhead
 
Posts: 22
Joined: Wed Jan 02, 2008 2:23 am

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

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

:)
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17907
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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!
tomislavm
 
Posts: 422
Joined: Wed Nov 21, 2007 9:35 am
Location: Croatia,Osijek
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

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.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17907
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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?
Jim
Global Moderator
 
Posts: 4126
Joined: Mon Nov 12, 2007 10:13 pm
Location: NEOH
Name: Jim
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

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*
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17907
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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 !
Bertier
 
Posts: 213
Joined: Sat May 01, 2010 1:30 pm
Location: France
Name: 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?
"There is a man in the world who will never be turned down... he is the man who delivers the goods."
d12dozr
Top SketchUcator
 
Posts: 1935
Joined: Mon Feb 09, 2009 8:43 am
Location: Minnesota
Name: Marcus
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: product design
Level of SketchUp: Advanced

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

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

thank, I hadnot seen it.
Bertier
 
Posts: 213
Joined: Sat May 01, 2010 1:30 pm
Location: France
Name: 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
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6758
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

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:
Mario C.
Certified SketchUp Trainer, QC CA, Mac Pro 2xQuad core & MacBook Pro 3.06 Ghz.
User avatar
mariocha
Premium Member
Premium Member
 
Posts: 173
Joined: Wed Nov 21, 2007 3:00 pm
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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!
User avatar
Fabiazz
 
Posts: 24
Joined: Mon Jun 28, 2010 9:13 am
Location: Yogyakarta, Indonesia
Name: Fahriza
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: game and/or sci-fi modelling
Level of SketchUp: Advanced

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Artisan Organic Toolset - a set of powerful organic modeling tools.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012

Next

Return to Plugins

Who is online

Users browsing this forum: Flippie123, kawa, Rodrigonotor, sohardaway and 7 guests