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

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

Postby pilou » Fri Jun 17, 2011 4:08 pm

Avec comme unité les mètres
Essaie avec ces valeur avec une figure qui fait au minimum 100 m par 100 par 100 m !
Pour avoir une extrusion continue
Il faut répondre oui à la question pour faire un "group" de la boite de dialogue une fois le plug lancé
Exploser le groupe résultat et recommencer ;)

grebble2_bert.png
0
Last edited by pilou on Fri Jun 17, 2011 10:09 pm, edited 4 times in total.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

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

Postby Chris Fullmer » Fri Jun 17, 2011 4:10 pm

Can you upload a simple model that you are trying to use it on that is not working? And also possibly open the Ruby Console (from the Window menu) and then run the plugin and see if it displays any errors there. Please paste those errors here.

This script does not always behave well...
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! (Updated August 31st, 2009)

Postby Bertier » Fri Jun 17, 2011 6:07 pm

set to meters as Pilou suggested

trying to greeble a simple 100 x 100 square :

#<Sketchup::Face:0x24e2b624> did not offset:
Error: #<NoMethodError: undefined method `normal' for nil:NilClass>
C:/Program Files/Google/Google SketchUp 8/Plugins/clf_greeble_2.rb:250:in `greeble'
C:/Program Files/Google/Google SketchUp 8/Plugins/clf_greeble_2.rb:223:in `each'
C:/Program Files/Google/Google SketchUp 8/Plugins/clf_greeble_2.rb:223:in `greeble'
C:/Program Files/Google/Google SketchUp 8/Plugins/clf_greeble_2.rb:294
C:/Program Files/Google/Google SketchUp 8/Plugins/clf_greeble_2.rb:250:in `call'
C:/Program Files/Google/Google SketchUp 8/Plugins/clf_greeble_2.rb:250
0

Bertier 
 

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

Postby TIG » Fri Jun 17, 2011 6:24 pm

Bertier

The error in line #250 is when it tries to get a normal new_vector = cl_newface.normal and the face cl_newface doesn't exist.
It is made by offsetting e which is one of clface[s] around lines #236 et al...
Not sure what's causing it... Chris?
0
TIG
User avatar
TIG 
Global Moderator
 

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

Postby Bertier » Fri Jun 17, 2011 6:29 pm

:0

sound chinese to me...
0

Bertier 
 

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

Postby Chris Fullmer » Fri Jun 17, 2011 8:47 pm

hmm, somehow it is passing a bad vector parameter to the offset script I think.

An example model would be helpful. Could you upload a small test model that is not working right? 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! (Updated August 31st, 2009)

Postby pilou » Fri Jun 17, 2011 11:32 pm

About the repetition from the last action : now we must make that
Select faces
begin
Grebble with "Yes I want grouping the all topmost faces"
- else any faces will be not selected for a next grebbling :shock:
Result
Explode group = new topmost faces selected :enlight:
goto begin

it's possible but a little painful ;)
Vieria Da Silva inspiration (cool gallery zoom possible) :enlight:

grebble4.jpg

Another thing: using the new plug of Selection aera by Sdmitch on a complex Greeble volume
Some faces are selected as wished, but the Greebble makes nothing :o
Have you some tests inside Grebble for exit if some faces are in particular positions (overlapsed) ?
(make nothing also with normal selection :roll:
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

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

Postby Pout » Fri Sep 16, 2011 7:45 am

Hey Chris, haven't look at it but i read in the previous version of this plugin that you planned on integrating a cancel button to cancel script execution.
Did you find a solution for this?

Thx
0

Pout 
 

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

Postby Chris Fullmer » Fri Sep 16, 2011 3:27 pm

No, this was one of the first scripts I ever wrote and I probably said that before I knew how how hard that can be to do. I really never even tried to do it though.
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! (Updated August 31st, 2009)

Postby El_Sexto » Mon Oct 03, 2011 12:37 pm

Hi guys ! somebody have the solution for the bertier problem plz ?
0

El_Sexto 
 

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

Postby TIG » Mon Oct 03, 2011 1:52 pm

Bertier never posted his problem SKP or anything further to help us, so it went no further...
If you are experiencing similar problems then please post the full error messages from the Ruby Console etc, and a copy of a SKP that displays this aberrant behavior... :?
0
TIG
User avatar
TIG 
Global Moderator
 

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

Postby El_Sexto » Tue Oct 04, 2011 2:45 pm

Ok

Ruby Message : #<Sketchup::Face:0xcc62710> did not offset:
Error: #<NoMethodError: undefined method `normal' for nil:NilClass>
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_greeble_2.rb:250:in `greeble'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_greeble_2.rb:223:in `each'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_greeble_2.rb:223:in `greeble'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_greeble_2.rb:294
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_greeble_2.rb:250:in `call'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_greeble_2.rb:250

I used Sketchup 8, meters dimension and i use the Pilou's setting : 10,-10 ... and the Default setting, 1',-1'... and i have the same result : Anything !

Thanx.
0

El_Sexto 
 

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

Postby pilou » Tue Oct 04, 2011 5:01 pm

No problem with your model Model.SKP! (in V8) Works like a charm! :fro: (I am on PC)
Greeble buildings are just in the other side ;)
Are you sure you have also in the plugins folder
Progress bar and Offset?
0
Last edited by pilou on Tue Oct 04, 2011 8:55 pm, edited 1 time in total.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

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

Postby Chris Fullmer » Tue Oct 04, 2011 7:59 pm

What did you type to make it offset? I think it is does not work very well with meters, and might not work at all with comma's as decimal place deliminators. Meaning 1,2 should be written as 1.2 if you are from a part of the world that uses a comma as a decimal place.
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! (Updated August 31st, 2009)

Postby El_Sexto » Thu Oct 06, 2011 1:59 pm

Thanx guys for your answer !

Pilou : u can see the folder, offset and progressbar are here.

Chris :in this model i have not deliminators; see the attachment, 10,10,-2,-2,0,100 and i have also use the default and Pilou values
plugin.jpg
0

El_Sexto 
 

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

Postby masterplan » Thu Oct 06, 2011 4:37 pm

it doesnt work for me. :?:
0

masterplan 
 

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

Postby Gaieus » Thu Oct 06, 2011 4:44 pm

Masterplan (welcome, BTW) please, be more specific. What are you doing exactly and what do you expect? Is there any error message? Maybe attach a file that "does not work for you" or something.

For a sentence "it does not work for me" one can only answer "well that sucks". Give as much info as possible otherwise you will be left hanging...
0
User avatar
Gaieus 
 

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

Postby pilou » Thu Oct 06, 2011 5:09 pm

@ El-sexto
That is very mysterious :shock:
What can I say? That works for me with your model with your version of SU :geek:
Does this version the last one ?
Have you try with a previous version of SU ?
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

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

Postby El_Sexto » Thu Oct 06, 2011 5:14 pm

Yes I tried with sketchup 7 - Maybe i should try with the version 1 ... :ugeek:
0

El_Sexto 
 

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

Postby Chris Fullmer » Thu Oct 06, 2011 6:56 pm

Do you get any better results if you lift the geometry off the groundplane?

Just to verify (again), but you do have the most recent greeble and offset scripts from www.smustard.com?

What language is your Operating System set to?

I'll see if I can test this later tonight, sorry its not working!

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! (Updated August 31st, 2009)

Postby pilou » Thu Oct 06, 2011 7:54 pm

Make just a test from a cube!
Select the top face and launch the plug...
here i call it twice with thes same entries
SU 6, last version of greeble
Not sure of the units used "inside" the Plugin (maybe royal units )
My unit "outside" the plug is meter with 2 decimals
I input in the box dialog number without unit

greble2.jpg
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

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

Postby corgano » Thu Oct 13, 2011 12:50 am

I am getting the same error that was posted by El_Sexto on Thu Oct 06, 2011 6:59 am. I have downloaded and re-downloaded the files from smustard with no effect. It doesn't matter what I try to do it on, it never works. I'm running on win 7 64 bit, and the only important thing i have installed is vray for sketchup. Everything else is normal.
0

corgano 
 

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

Postby pilou » Thu Oct 13, 2011 2:22 am

So use Protrude by Jim Foltz waiting Chris Fullmer debuging (if bug exists that is not proved) ;)



0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

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

Postby Chris Fullmer » Thu Oct 13, 2011 6:01 am

Hmm, I'll re-download the files and install from scratch when I get some time. Currently that is not looking like any time soon though. Its been about 2 weeks of near all-nighters :knockout: I've not got much capacity to look into it at the moment.
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! (Updated August 31st, 2009)

Postby corgano » Tue Oct 18, 2011 8:27 pm

Right, so I got the protrude plugin as you recommended. It works ecpt for the offset function. for some reason offset.rb is not offsetting the faces, so it isn't so much a problem with either Greeble or protrude, but with offset.rb. I will do more debugging on offset.rb to see if I can narrow it down...

~Corgano
0

corgano 
 

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

Postby corgano » Tue Oct 18, 2011 11:53 pm

Found the problem!

Removing the begin....rescue -> end statement in offset.rb and trying again led me to line 61,
61: vecs << vec
It said that vec did not exist, and I noticed the cde before it was checking if vec3 was valid. I changed it to
61: vecs << vec3
and it worked!

Note: This is for the Failed to create offset error. Other errors may not be related to this
0

corgano 
 

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

Postby Jim » Wed Oct 19, 2011 9:22 am

Thanks corgano. I thought that this offset.rb bug had been fixed months ago, but maybe not. I've pinged Rick about it.
0
Hi

Jim 
Global Moderator
 

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

Postby RickW » Wed Oct 19, 2011 5:08 pm

I had reworked that whole section of Offset.rb, but must have not gotten it uploaded (which I have now done). Please try downloading the latest version.
0

RickW 
 

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

Postby El_Sexto » Tue Nov 15, 2011 2:45 pm

Yes Yes Yes YEEEEES ! It Works ! Thanx - Just replace by the new Offset.rb.
0

El_Sexto 
 

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

Postby pilou » Tue Nov 15, 2011 3:17 pm

So more fun for you in perspective! :enlight:
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

PreviousNext


 

Return to Plugins

Who is online

Users browsing this forum: rmmcontracting, whiteremon and 13 guests

Visit our sponsors: