[Plugin] Greeble 2 released! (Updated August 31st, 2009)

[Plugin] Greeble 2 released! (Updated August 31st, 2009)

Postby Chris Fullmer » Wed Feb 11, 2009 8:01 pm

Greeble 2 is out. I think its stable enough to take it out of beta now (arbitrary decision based on no facts :) ) It still requires offset.rband progressbar.rb.

It maintains all of its previous functionality (set min/max greeble heights, min/max offset distances, and greeble the inside or outside face of the offset function).

I've added two new and great features! First is the abilty to scale the greebled face. It works as a percentage: so 100 = 100% or no scale change, 20 = 20% of the original size (smaller) and 200 = 200% or twice as large as the original.

It also now prompts you if you would like to group all the top greeble faces. Think of the greeble shape as a building. This will take all the "roofs" of the greebles and put them into a single group. Not always needed, but sometimes it is.

GREEBLE2.jpg

(Left to Right) Flat square made using default settings on a grid. 1st Sphere using equal greeble heights, no offsets, no scaling. 2nd spehere random greeble heights, random negative offsets, "1" for which faces to greeble, 200% scale. 3rd sphere same greeble height, no offsets, and 20% scaling. 4th Sphere (spiky!) large random greebles, no offsets, scaling 5%.

Hope that helps! Let me know of any bugs, or questions and comments or workflow ideas, thanks!



History::
2.00:: 2009-02-11
  • First non beta release, and we'll just skip version 1 altogether!
  • Added the ability to scale the greebles
  • Propmts to group greeble "roofs" all together in one group. Useful for some applications of the script.
2.10:: 2009-02-13
  • The first Smustard release!
  • Update rdoc compatiblity
  • New license info to conform to Smustard's EULA
2.11:: 2009-03-09
  • Organizer.rb support. If you place this script into an organizer directory, it will appear in the correct submenu. If its just in the plugins folder, it will appear in "Chris Fullmer Tools" submenu of the Plugins Menu."

----New in this update listed below----

UPDATE August 31, 2009
2.20:: 2009-08-31
  • Fixed a MAJOR bug that would cuase SketchUp to crash when greeble was used inside a group or component. So yes, you can now safely use Greeble inside a group or component!
  • Changed some code that should theoretically speed things up ever so slightly....frankly I don't think it helped.
  • Changed some code to make it run smarter, skip certain methods if they were not being executed.
  • Fixed some code that could cause problems when faces would overlap.
2.21:: 2009-08-31
  • Now user input settings are rembered between script uses.

Download
This script is hosted at http://www.smustard.com/script/Greeble2

Chris
1
Last edited by Chris Fullmer on Tue Mar 10, 2009 9:24 am, edited 2 times in total.
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] Greeble 2 released!

Postby thomthom » Wed Feb 11, 2009 9:05 pm

hehe looks like the design suggestions for the Death Star. :D

Nice one Chris.
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] Greeble 2 released!

Postby bubbalove » Wed Feb 11, 2009 9:06 pm

Thanks man! Don't know what I would use it for just yet but I'll come up with something...
0
"Success consists of going from failure to failure without loss of enthusiasm." - Churchill

bubbalove 
 

Re: [Plugin] Greeble 2 released!

Postby boilingsnow » Wed Feb 11, 2009 9:23 pm

the same skript with protrude.rb?
0

boilingsnow 
 

Re: [Plugin] Greeble 2 released!

Postby pilou » Wed Feb 11, 2009 9:56 pm

So we can put the old Super Grebble at the garbage?

PS It's not "looping" between generation? you must recall plug!
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Greeble 2 released!

Postby Chris Fullmer » Wed Feb 11, 2009 11:19 pm

Is it not working?

I tested it and it works fine on my end. Did I misunderstand you Frenchy?

@Thom yeah, in fact it was named greeble by the team that created the models for starwars. This is the process they used to make the deathstar and add detail to the exteriors of their spaceships.

@boilingsnow - yes, its pretty much the same thing as protrude. Only protrude I tihnk has a better user interface, and one of his versions sub-divides faces which is super cool :) There is also a random push/pull script that does similar things.


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] Greeble 2 released!

Postby pilou » Wed Feb 11, 2009 11:44 pm

I select something: a cube
Call the plug grebble beta2
Box dimension ok
Would you like....
Yes : works :enlight:
but now I must reselect something and recall the plug! :o is that normal? ;)
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Greeble 2 released!

Postby Chris Fullmer » Wed Feb 11, 2009 11:50 pm

Oh I see. I think that is normal. I added some things in there that probably messed with the active selection.

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] Greeble 2 released!

Postby thomthom » Wed Feb 11, 2009 11:58 pm

Chris Fullmer wrote:@Thom yeah, in fact it was named greeble by the team that created the models for starwars. This is the process they used to make the deathstar and add detail to the exteriors of their spaceships.


Being a modelmaker, I should know that. But I'd not heard of the term before. I'll look it up.
I think you should get a thread started where people make their own death star. :D
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] Greeble 2 released!

Postby olishea » Fri Feb 20, 2009 6:34 pm

Hi guys I'm new to this greeble plugin, is there a tutorial anywhere? (I'm using a mac)

Also is there a way of making the units in millimeters?

Looks great by the way

Thanks in advance

Oli
0
oli
User avatar
olishea 
Premium Member
Premium Member
 

Re: [Plugin] Greeble 2 released!

Postby Chris Fullmer » Fri Feb 20, 2009 7:15 pm

Hi, I had made a video tutorial when I first released it here:

http://www.sketchucation.com/forums/scf ... &sk=t&sd=a

It is a little outdated as it does not show a few of the possible commands (I think it is missing the scale ability). Watch that video, and ask any questions you have. I need to make another video to put on the smustard.com host site. So just let me know how I can help. Hopefully that video will get you started,

Chris

EDIT: And I think that to use mm you should be able to type in "10mm" (minus the quotation marks of course) and that will make it work in mm's.
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] Greeble 2 released!

Postby olishea » Mon Feb 23, 2009 10:55 pm

thanks im having a play with it now!!

Can't thank you enough by the way.....fantastic plugin im really impressed. Good tutorial as well.

soapskin+greeble 2+FFD+subsmooth (not necessarily in that order) = lots of fun

this is a greeble 2, subsmooth (1 iteration) and 'color by z' mix hope you like it.
0
oli
User avatar
olishea 
Premium Member
Premium Member
 

Re: [Plugin] Greeble 2 released!

Postby pibuz » Tue Feb 24, 2009 5:42 pm

Hi Chris!
Thank you so much for this plugin!

I have some problems, though, unfortunately.. I installed everything (I hope) crrectly, your plugin DOES start but after the setting of the parameters, it just doesn't do anything. SIGH...

Oh, and another thing: the units in the parameters window are in inches, and don't match my file's unit system (which works in meters at the moment). Maybe this can give you some clues.

Sorry to bother you Chris...
0

pibuz 
 

Re: [Plugin] Greeble 2 released!

Postby Chris Fullmer » Tue Feb 24, 2009 6:48 pm

@olishea - Wow, thats great! Really cool looking stuff you've got there. I like the top one a lot with the color by Z thrown in the mix. I'm glad its working for you!

@pibuz - Sorry its not working yet. The script requires that you haveprogressbar.rbinstalled too (its also free). So you should put the clf_greeble_2.rb and progressbar.rb in your plugins folder. That is the first thing to try. Hopefully that will work. If not, please open the ruby console at Window>Ruby Console. Then have that open when you run the script. And copy anything that shows up int hat box when you run greeble and paste it over here for me to look at. We'll start with that. Hopefully its just a missing progressbar script. But if its something more, the error messages in the ruby console will hopefully help me find the problem.

Also, I am realizing that the default values that are in the script do show as inches, even if the model is in cm, m, mm, etc. That is something I can fix. But just removing the foot tick mark at the end of each number will change their unit from feet to the model default. The script will accept whatever unit you type with your number (10m, 32cm, 15') but if you leave it unitless (10, 32, 15) then it will use the deafult units.

Let me know how it goes, thanks

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] Greeble 2 released!

Postby pibuz » Wed Feb 25, 2009 5:48 pm

Hi Chris! Thank you for your answer!
I had already downloaded and installed correctly "progressbar.rb" cos it's a basic plugin for other applications too ;). BTW I re-downloaded and re-installed it, but unfortunately still nothing changes.. :oops:
I didn't know anything about erasing the ' to get the current system unit settings: thank you. I asked since I'm not too familiar with anglo-saxon's units' system..

BTW, I followed your directions and this is what the ruby console tells me. I copy-paste it here:

Error: #<ArgumentError: comparison of Float with nil failed>
(eval):44:in `>'
(eval):44:in `update'
C:/Programmi/Google/Google SketchUp 6/Plugins/clf_greeble_2.rb:173:in `greeble'
C:/Programmi/Google/Google SketchUp 6/Plugins/clf_greeble_2.rb:171:in `each'
C:/Programmi/Google/Google SketchUp 6/Plugins/clf_greeble_2.rb:171:in `greeble'
C:/Programmi/Google/Google SketchUp 6/Plugins/clf_greeble_2.rb:259
C:/Programmi/Google/Google SketchUp 6/Plugins/clf_greeble_2.rb:259:in `call'

Thank you so much, chris.
0

pibuz 
 

Re: [Plugin] Greeble 2 released!

Postby Chris Fullmer » Wed Feb 25, 2009 6:19 pm

Hmm, did you download the version that is posted on Smustard? That error corresponds to a line of code that is not part of the code. And the provided error does not correspond to what is written on that line also. BUt I have another thought, it does not work on groups or components. You have to have regular ungrouped faces. Or go into a group and then run the script. Is that by chance the problem?

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] Greeble 2 released!

Postby pibuz » Wed Feb 25, 2009 7:46 pm

Hey!
..I'm sorry to report that I downloaded and installed the Smustard version of the plugin.
And that I tried to greeble a manually-subdivided plane which was not a group..
0

pibuz 
 

Re: [Plugin] Greeble 2 released!

Postby Chris Fullmer » Wed Feb 25, 2009 7:54 pm

Are you on a Mac, or XP, or Vista? Are you using SU 6 or 7? And lastly, maybe could you pm me a copy of the plugin you have installed? And maybe also a model that you tried to use it on. There seems to be something fishy. But we'll figure it out,

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] Greeble 2 released!

Postby pibuz » Thu Feb 26, 2009 12:04 am

Oh, I use Windows Xp service pack2 or 3, don't remember..
Sketchy6pro.
..I'm gonna pm you the ".rb"s later, cos now I'm at home and I tried the plugin at work. But I can tell you I'm quite sure that all of them are the latest plugins available. :evil:
Moreover, my not-so-well-working-scene is really simple: a square 1m x 1m subdivided into smaller squares 10cm x 10cm. No groups no components nothing at all: just the square. If I select all and start the plugin I get the message i pasted previously..

I'm so embarassed to bother this much, Chris. But now it's become sort of a personal matter. :D
0

pibuz 
 

Re: [Plugin] Greeble 2 released!

Postby pilou » Thu Feb 26, 2009 12:12 am

I miss something or we are obliged to recall the box dialog between each generation?
0
Last edited by pilou on Thu Feb 26, 2009 12:46 am, edited 2 times in total.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Greeble 2 released!

Postby pibuz » Thu Feb 26, 2009 12:19 am

..I had NO generation at all, Pilou... :oops: :oops: :oops:
0

pibuz 
 

Re: [Plugin] Greeble 2 released!

Postby Chris Fullmer » Thu Feb 26, 2009 1:29 am

Yeah, I think the inputbox has to be recalled each time you want to use it Frenchy.

And Pibuz, I will make a grid and divide into 10cm boxes and try the script. Are you trying to offset it more than 5cm?

If it helps, I use a grid that is roughly made up of boxes that are 9m x 9m. So the deafult values will work best on a much larger grid than 10cm. Maybe just try it on a larger grid for starters. I think you will run into issues if you are trying to offset the face more than is tolerable.

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] Greeble 2 released!

Postby pibuz » Thu Feb 26, 2009 9:28 am

Hi Chris!
I made a rar file containing all that you requested.
-skp file
-greeble.rb
-progressbar.rb
-offset.rb
-screenshots of the problem

Thank you so much. You're so kind...
0

pibuz 
 

Re: [Plugin] Greeble 2 released!

Postby pibuz » Thu Feb 26, 2009 9:45 am

...Oh, BTW: I tried to use protrude.rb by Jim Foltz, and it appears to have the same problem.
I'm starting to feel like I've sort of a plugin conflict... :roll:
0

pibuz 
 

Re: [Plugin] Greeble 2 released!

Postby Chris Fullmer » Thu Feb 26, 2009 11:55 am

ok, we're getting somewhere. It is possible that you are experiencing a problem that component spray tool is causing. Get the newest release here:
viewtopic.php?f=180&t=16446&p=129280

That might very well fix the problem. Let me know if it does,

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] Greeble 2 released!

Postby pibuz » Thu Feb 26, 2009 3:22 pm

:berserk:
Yey! everything works allright now!!! Thank you so much!
Sorry to have been such a pain in the ***, chris...

Thank you again!
0

pibuz 
 

Re: [Plugin] Greeble 2 released!

Postby Chris Fullmer » Thu Feb 26, 2009 9:05 pm

Nope, absolutely not a pain at all. Thanks for staying around until we could find the fix. I really want my script to work for everyone.

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] Greeble 2 released!

Postby pibuz » Fri Feb 27, 2009 9:49 am

...I owed it to you :D

Thank you Chris!


PS. Rendered in Indigo. I'm trying a blend map between pure gold shader (metal nk) and stone (diffuse bumpy shader). One night of calculations. I was looking for an high-contrasted image, to give the all scene a dark overall feeling. What do you think? Volume light in postpro.
0

pibuz 
 

Re: [Plugin] Greeble 2 released!

Postby Chris Fullmer » Fri Feb 27, 2009 10:01 am

Hey, that looks great! I don't know much about shaders, but the image sure looks good. Glad I could help,

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] Greeble 2 released!

Postby bugmcw » Mon Mar 09, 2009 6:54 pm

hey guys! i've tried searching and can't find it..... was there ever a plugin that randomly divides a face?

There is one on the web that says it is in production (but that was updated August '08)

Thanks in advance!
0

bugmcw 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

Who is online

Users browsing this forum: No registered users and 5 guests

Visit our sponsors: