[Plugin] Remove group materials, leave geometry material

Re: [PLUGIN] Remove group materials, leave geometry materials?

Postby teofas » Sat Apr 25, 2009 12:33 am

thx for your quick answer sepo, i apreciated bro!
0

teofas 
 

Re: [PLUGIN] Remove group materials, leave geometry materials?

Postby Jackson » Sun Apr 26, 2009 9:20 am

Not a stupid question at all, but believe me- once you start using ruby scripts with SU, you won't be able to stop as they can increase SU's functionality many many times over.

Just save the .rb file to the "Plugins" folder in your Google SketchUp program files. The next time you open SU it will be accessible under the "Plugins" menu under the name "Remove C-G Materials".
0
Jackson

Jackson 
 

Re: [PLUGIN] Remove group materials, leave geometry materials?

Postby free agent » Tue Jun 02, 2009 6:56 pm

hi on the front page Mat666 says the new version has all the suggested improvements any way someone could post a features list, to save people (me) having to read through all 5 pages and descern what exactly was implemented :)...

lazy freeloaders...
0
User avatar
free agent 
 

Re: [PLUGIN] Remove group materials, leave geometry materials?

Postby Matt666 » Tue Jun 02, 2009 9:52 pm

Sorry, I have no time to work on this plugin... :oops: :(
And components & groups easily generates lots of bugsplats... It's very hard to work with...
Give me some time, I will certainly have a moment to improve it...
0
Frenglish at its best !
My scripts

Matt666 
 

Re: [PLUGIN] Remove group materials, leave geometry materials?

Postby Pout » Wed Jul 08, 2009 2:19 pm

is there an opposite of this plugin?
one that just keeps the group/component materials but deletes the geometry materials inside it?

regards
0

Pout 
 

Re: [PLUGIN] Remove group materials, leave geometry materials?

Postby thomthom » Wed Jul 08, 2009 2:57 pm

Pout wrote:is there an opposite of this plugin?
one that just keeps the group/component materials but deletes the geometry materials inside it?

regards

It does now: viewtopic.php?f=180&t=17587
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] Remove group materials, leave geometry materials?

Postby EarthMover » Wed Jul 08, 2009 2:59 pm

Anyone notice a REAL dramatic difference in parsing after running this script? Whenever I have a really long parse, I'll run this script, but it never really seems to speed things up. Is it just me?
0
3D Artist at Clearstory 3D Imaging
Guide Tool at Winning With Sketchup
Content Creator at Skapeup
User avatar
EarthMover 
Premium Member
Premium Member
 

Re: [PLUGIN] Remove group materials, leave geometry materials?

Postby thomthom » Wed Jul 08, 2009 3:03 pm

EarthMover wrote:Anyone notice a REAL dramatic difference in parsing after running this script? Whenever I have a really long parse, I'll run this script, but it never really seems to speed things up. Is it just me?

Yes, there's a VERY big increase in parsing time.
At the end of the script it tells you how much was replaced - what does it tell you? It could be that you are running into other issues. Lots and lots of groups and component definitions eats time as well, more if they are deeply nested.
But groups/component materials eats the most of the time.

The reason it's so slow is that when VfSU runs into group/component materials it has to internally create a new copy of that object and in order to get the proper UV mapping it has to apply all the group/component material to the faces contained inside - then afterwards restore it. And that takes an insane amount of time.
1
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] Remove group materials, leave geometry materials?

Postby thomthom » Wed Jul 08, 2009 3:07 pm

FYI: I have an imported Revit model that has 777 component definitions and ~2500 component instances. Totalling of about 70-80000 faces. This model takes 1-2 minutes to parse before it opens the render window and begin rendering.
And this model has no material at all - just plain default. If I had group/component materials applied the computer would tie a bucket of brick around itself and jump of the bridge...
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] Remove group materials, leave geometry materials?

Postby EarthMover » Wed Jul 08, 2009 5:21 pm

Must be other issues. It's really frustrating that there is no parsing progress bar. Or, the ability to have it only have to parse once. Seems like since it is just storing UV data, that as long as you don't move the camera, you should be able to reuse the same data. Nothing is more frustrating than having to wait for every test render.

On another note, I tried to open SS's Snowberry model (which took about 5 minutes to open) and render with VfSU (with no materials)......after 30 minutes of parsing, i just gave up.
0
3D Artist at Clearstory 3D Imaging
Guide Tool at Winning With Sketchup
Content Creator at Skapeup
User avatar
EarthMover 
Premium Member
Premium Member
 

Re: [PLUGIN] Remove group materials, leave geometry materials?

Postby thomthom » Wed Jul 08, 2009 6:10 pm

EarthMover wrote:Must be other issues. It's really frustrating that there is no parsing progress bar. Or, the ability to have it only have to parse once. Seems like since it is just storing UV data, that as long as you don't move the camera, you should be able to reuse the same data. Nothing is more frustrating than having to wait for every test render.

But you need to parse the whole lot again anyway to check if anything has changed.

The next version should see some improvements though.


EarthMover wrote:On another note, I tried to open SS's Snowberry model (which took about 5 minutes to open) and render with VfSU (with no materials)......after 30 minutes of parsing, i just gave up.

That model is up in the millions in face count isn't it?
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] Remove group materials, leave geometry materials?

Postby Matt666 » Fri Jul 10, 2009 2:33 pm

Hi all.
Sorry for the delay, I will see what I can do.
0
Frenglish at its best !
My scripts

Matt666 
 

Re: [PLUGIN] Remove group materials, leave geometry materials?

Postby m48 » Thu Oct 22, 2009 6:15 am

holy shit, it really works!!! :o you s-a-v-e my a-s-s.
I need to give something in return men, i owe you one,you are my new hero.
0

m48 
 

Re: [Plugin] Remove group materials, leave geometry material

Postby chango70 » Sun Jun 27, 2010 11:41 pm

Do you still need to do this with the new Vray? (v1.488) I seem to encouter problems when with Vray 1.488 after running this script (not 100% this was the culprit)

Cheers
0

chango70 
 

Re: [Plugin] Remove group materials, leave geometry material

Postby thomthom » Mon Jun 28, 2010 7:17 am

chango70 wrote:Do you still need to do this with the new Vray? (v1.488)

No - Only with 1.05.30 and older. The new one might actually be faster if you use group/component materials.
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] Remove group materials, leave geometry material

Postby dragonbizcut » Sat Jul 03, 2010 7:05 am

I can not run the remove CG materials plugin, is the link broken or corrupted?
0

dragonbizcut 
 

Re: [Plugin] Remove group materials, leave geometry material

Postby thomthom » Sat Jul 03, 2010 9:21 am

dragonbizcut wrote:I can not run the remove CG materials plugin, is the link broken or corrupted?

You have problem downloading or using the plugin?
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] Remove group materials, leave geometry material

Postby chango70 » Mon Jul 05, 2010 3:53 am

thomthom wrote:
chango70 wrote:Do you still need to do this with the new Vray? (v1.488)

No - Only with 1.05.30 and older. The new one might actually be faster if you use group/component materials.


Hey cheers, thats why...
0

chango70 
 

Re: [Plugin] Remove group materials, leave geometry material

Postby AliMG » Sun Dec 05, 2010 6:29 pm

Thank-you Matt, Your plugin has saved me!
0

AliMG 
 

Re: [Plugin] Remove group materials, leave geometry material

Postby lukdoberder » Mon Jan 24, 2011 7:14 pm

nice plugin!definitely speed things up!thanks matt! :berserk:
0

lukdoberder 
 

Re: [Plugin] Remove group materials, leave geometry material

Postby derei » Thu Mar 10, 2011 1:41 am

[FEATURE REQUEST]

It's a useful plugin, until I found it, I had to remove all materials from selection using This Plugin, then reassign materials only to geometry inside group/component -often I have different materials on faces.

I would like some features to this plugin: Now, with so many plugins, the Plugins Menu gets really crowded, so submenus are welcomed. So, I was thinking if you could add a feature to this plugin to remove all materials, something like this:

REMOVE MATERIALS
>Remove CG Materials
>Remove ALL Materials

In this way, instead of having two entries for those two plugins, I would have one single menu with two child options.

Also, if the inputbox could be disabled, to speed-up the usage. I never replaced CG material using the inputbox, so for me is just a unnecessary mouse click :D Actually, I'm curious if anyone uses that feature.

Thank you.
0
DESIGNER AND ARTIST DEREI.UK
User avatar
derei 
 

Re: [Plugin] Remove group materials, leave geometry material

Postby Tobobo » Fri Sep 23, 2011 11:13 am

The link to the rapid share download doesn't work, can some post the script?
0
Toby

Philippians 4:13

I can do everything through him who gives me strength.
User avatar
Tobobo 
 

Re: [Plugin] Remove group materials, leave geometry material

Postby Gaieus » Fri Sep 23, 2011 11:26 am

It's attached straight to the post here:
viewtopic.php?p=102323#p102323
0
User avatar
Gaieus 
 

Re: [Plugin] Remove group materials, leave geometry material

Postby Tobobo » Thu Sep 29, 2011 8:28 am

Thanks Gai
0
Toby

Philippians 4:13

I can do everything through him who gives me strength.
User avatar
Tobobo 
 

Re: [Plugin] Remove group materials, leave geometry material

Postby Panga » Mon Oct 24, 2011 9:54 am

Thanks a lot for this plugin ! :thumb:
0

Panga 
Premium Member
Premium Member
 

Re: [Plugin] Remove group materials, leave geometry material

Postby Myhand » Sun Nov 11, 2012 11:07 pm

dereeei wrote:[FEATURE REQUEST]

It's a useful plugin, until I found it, I had to remove all materials from selection using This Plugin, then reassign materials only to geometry inside group/component -often I have different materials on faces.

I would like some features to this plugin: Now, with so many plugins, the Plugins Menu gets really crowded, so submenus are welcomed. So, I was thinking if you could add a feature to this plugin to remove all materials, something like this:

REMOVE MATERIALS
>Remove CG Materials
>Remove ALL Materials

In this way, instead of having two entries for those two plugins, I would have one single menu with two child options.

Also, if the inputbox could be disabled, to speed-up the usage. I never replaced CG material using the inputbox, so for me is just a unnecessary mouse click :D Actually, I'm curious if anyone uses that feature.

Thank you.


This plugin should do what you want: http://www.keepingmyhandin.com/Downhome ... ntenance_2
1

Myhand 
 

Re: [Plugin] Remove group materials, leave geometry material

Postby srx » Mon Nov 12, 2012 9:28 am

Thank you MyHand. Very useful plugin which I haven't seen it before. :thumb:
0
www.saurus.rs
User avatar
srx 
 

Re: [Plugin] Remove group materials, leave geometry material

Postby blenditall » Fri Jul 19, 2019 3:18 pm

Just wanted to add my thanks -- this plugin works perfectly!
0

blenditall 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Previous


 

Return to Plugins

Who is online

Users browsing this forum: No registered users and 10 guests

Visit our sponsors: