SketchUcation Premium Membership

 

 

[Plugin] Component Comparison (0.2.0a) — 15 August 2010

Re: [Plugin] Component Comparison (0.2.0a) — 15 August 2010

Postby thomthom » Tue Oct 26, 2010 10:44 pm

The tolerance is more of a debug thing at the moment. During my testing I had some cases where SU's own tolerance of 1/1000" was too strict.

These leaves: are you sure they really are all geometrical identical? The plugin does not take into account scaling, for instance, a square of 20x30 and one of 20x40 will not be made into one component where one is scaled.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17894
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] Component Comparison (0.2.0a) — 15 August 2010

Postby wyatt » Tue Oct 26, 2010 11:10 pm

Then no, they are not identical. The length and width of each component varies. The ratio of l to w is the same (hence the square). I guess I thought the tolerance setting could be used to adjust how the similar components were replaced. I can use the component browser and replace components manually to simplify the model, but it would be great if there were a way to automate that process.

[Edit] Do your Selection Toys select by component area? That would definitely help if the tolerance method isn't possible.
wyatt
 
Posts: 345
Joined: Wed May 28, 2008 3:41 pm
Location: Manhattan, Kansas
Name: Wyatt
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Intermediate

Re: [Plugin] Component Comparison (0.2.0a) — 15 August 2010

Postby Chris Fullmer » Tue Oct 26, 2010 11:39 pm

I tihnk what you are looking for is a good idea Wyatt, but its definitely different than what the original scope of this plugin was. This one is supposed to find virtually identical components and make them all use the same definition.

But a replacer that just looked for fairly similar components could be interesting too. Maybe it fits within the scope of this plugin even. I can see where it does have some usefulness in the scenario you outlined.
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6753
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] Component Comparison (0.2.0a) — 15 August 2010

Postby wyatt » Wed Oct 27, 2010 12:26 am

I don't know if it fits Thom's original idea for this plugin or not; I'll leave that for him to decide. But what I would like to have is a tool that would, based on a selection set, calculate the range of area values, ask me how many intervals I'd like to set, and then replace all the components in a given range with the resized component. So if I had leaves that ranged from 30 to 80 square inches, I could set 5 intervals and it would resize the components based on that 10 square inch interval, so a component with an area of 42, would get "rounded down" to 40. There might be other ways to do the same thing; this is just what I was hoping I could get CC to do for me. Even if I could select components by those area intervals, it would be a huge help.
wyatt
 
Posts: 345
Joined: Wed May 28, 2008 3:41 pm
Location: Manhattan, Kansas
Name: Wyatt
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Intermediate

Re: [Plugin] Component Comparison (0.2.0a) — 15 August 2010

Postby thomthom » Wed Oct 27, 2010 7:20 am

Making tree leaves into components appear to be a often requested feature, so maybe a plugin designed specifically for this. One that finds all rectangle faces in the selection and converts them into one component with scaled instances.
That could work. For Component Comparison it'd not be so easy as it's already doing some heavy work comparing complex objects, but if one limits the scope to simple primitive...
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17894
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] Component Comparison (0.2.0a) — 15 August 2010

Postby wyatt » Wed Oct 27, 2010 2:15 pm

Thom, that sounds like it would work great, and cut several steps from my current workflow.
wyatt
 
Posts: 345
Joined: Wed May 28, 2008 3:41 pm
Location: Manhattan, Kansas
Name: Wyatt
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Intermediate

Re: [Plugin] Component Comparison (0.2.0a) — 15 August 2010

Postby guaucorreo » Thu Jul 07, 2011 9:54 am

excuse me,
this plugin can´t compare similar objects with DIFERENT scale ¿is there a plugin that make that?
thanks
guaucorreo
 
Posts: 15
Joined: Fri Jul 25, 2008 12:48 pm

Re: [Plugin] Component Comparison (0.2.0a) — 15 August 2010

Postby halroach » Tue Nov 29, 2011 8:35 am

Hi Thomthom,

This plugin is great!
Very helpful when importing lame models from Autocad and 3DSMax.

Just a little note.
As I was searching for this thread to see if any changes have been made, specifically wondering if detecting scaled objects will be possible (like the post above this one) - I was having a hard time finding this thread in the forums. Partly because the search engine here isn't great, but also because the name of the thread and the name of the plugin files and commands are different. In sketchup it's "replace similar objects" and here it's called Component Comparison...
halroach
 
Posts: 170
Joined: Sat Mar 29, 2008 1:12 pm
Name: Halroach

Re: [Plugin] Component Comparison (0.2.0a) — 15 August 2010

Postby thomthom » Tue Nov 29, 2011 9:05 am

I've had no time at all to work on this. There's much more that needs doing before even attempting to detect scaled components.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17894
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] Component Comparison (0.2.0a) — 15 August 2010

Postby thirty6 » Fri Dec 16, 2011 11:23 am

Thanks thomthom really cool time saver.

How did you get on with rendering in 3ds max?

Matt
thirty6
 
Posts: 57
Joined: Fri Nov 07, 2008 10:08 am
Location: Staffordshire, UK
Name: Matthew
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Intermediate

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Need SketchUp Books, Models, Styles or Textures? Check out our One Stop Shop for SketchUp.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012

Previous

Return to Plugins

Who is online

Users browsing this forum: archkuja, Google Feedfetcher, Hyena1327, tomb85 and 10 guests