sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

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

    Scheduled Pinned Locked Moved Plugins
    94 Posts 24 Posters 73.6k Views 24 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Chris FullmerC Offline
      Chris Fullmer
      last edited by

      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...

      Lately you've been tan, suspicious for the winter.
      All my Plugins I've written

      1 Reply Last reply Reply Quote 0
      • B Offline
        Bertier
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • TIGT Online
          TIG Moderator
          last edited by

          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?

          TIG

          1 Reply Last reply Reply Quote 0
          • B Offline
            Bertier
            last edited by

            :0

            sound chinese to me...

            1 Reply Last reply Reply Quote 0
            • Chris FullmerC Offline
              Chris Fullmer
              last edited by

              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

              Lately you've been tan, suspicious for the winter.
              All my Plugins I've written

              1 Reply Last reply Reply Quote 0
              • pilouP Offline
                pilou
                last edited by

                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

                Frenchy Pilou
                Is beautiful that please without concept!
                My Little site :)

                1 Reply Last reply Reply Quote 0
                • pilouP Offline
                  pilou
                  last edited by

                  About the repetition from the last action : now we must make that
                  Select faces

                  @unknownuser said:

                  begin
                  Grebble with "Yes I want grouping the all topmost faces"

                  • else any faces will be not selected for a next grebbling 😲
                    Result
                    Explode group = new topmost faces selected ☀
                    goto begin

                  it's possible but a little painful 😉
                  Vieria Da Silva inspiration (cool gallery zoom possible) ☀

                  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 😮
                  Have you some tests inside Grebble for exit if some faces are in particular positions (overlapsed) ?
                  (make nothing also with normal selection 😒

                  Frenchy Pilou
                  Is beautiful that please without concept!
                  My Little site :)

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    Pout
                    last edited by

                    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

                    1 Reply Last reply Reply Quote 0
                    • Chris FullmerC Offline
                      Chris Fullmer
                      last edited by

                      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.

                      Lately you've been tan, suspicious for the winter.
                      All my Plugins I've written

                      1 Reply Last reply Reply Quote 0
                      • E Offline
                        El_Sexto
                        last edited by

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

                        1 Reply Last reply Reply Quote 0
                        • TIGT Online
                          TIG Moderator
                          last edited by

                          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... 😕

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • E Offline
                            El_Sexto
                            last edited by

                            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.


                            model.skp

                            1 Reply Last reply Reply Quote 0
                            • Chris FullmerC Offline
                              Chris Fullmer
                              last edited by

                              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.

                              Lately you've been tan, suspicious for the winter.
                              All my Plugins I've written

                              1 Reply Last reply Reply Quote 0
                              • pilouP Offline
                                pilou
                                last edited by

                                No problem with your model Model.SKP! (in V8) Works like a charm! 😎 (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?

                                Frenchy Pilou
                                Is beautiful that please without concept!
                                My Little site :)

                                1 Reply Last reply Reply Quote 0
                                • E Offline
                                  El_Sexto
                                  last edited by

                                  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 valuesplugin folder


                                  first step


                                  second step


                                  third step


                                  4th step

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    masterplan
                                    last edited by

                                    it doesnt work for me. ❓

                                    1 Reply Last reply Reply Quote 0
                                    • GaieusG Offline
                                      Gaieus
                                      last edited by

                                      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...

                                      Gai...

                                      1 Reply Last reply Reply Quote 0
                                      • pilouP Offline
                                        pilou
                                        last edited by

                                        @ El-sexto
                                        That is very mysterious 😲
                                        What can I say? That works for me with your model with your version of SU 🤓
                                        Does this version the last one ?
                                        Have you try with a previous version of SU ?

                                        Frenchy Pilou
                                        Is beautiful that please without concept!
                                        My Little site :)

                                        1 Reply Last reply Reply Quote 0
                                        • E Offline
                                          El_Sexto
                                          last edited by

                                          Yes I tried with sketchup 7 - Maybe i should try with the version 1 ... 🤓

                                          1 Reply Last reply Reply Quote 0
                                          • Chris FullmerC Offline
                                            Chris Fullmer
                                            last edited by

                                            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 http://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

                                            Lately you've been tan, suspicious for the winter.
                                            All my Plugins I've written

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 4 / 5
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement