• Login
sketchucation logo sketchucation
  • Login
๐Ÿ”Œ Quick Selection | Try Didier Bur's reworked classic extension that supercharges selections in SketchUp Download

Greeble Beta (Updated Feb-06-2009)

Scheduled Pinned Locked Moved Developers' Forum
69 Posts 15 Posters 7.2k Views 15 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.
  • P Offline
    pilou
    last edited by 2 Feb 2009, 08:49

    More and more powerful! ๐Ÿ˜Ž
    A lot of fun in perspective! โ˜€


    sgrebble.jpg

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

    1 Reply Last reply Reply Quote 0
    • T Offline
      thomthom
      last edited by 2 Feb 2009, 09:10

      I like that last shape you made there.

      A tip for your script, if you change

      model.start_operation ("Greeble")
      

      to

      model.start_operation("Greeble", true)
      

      you will most likely get a speed boost. All though, it won't be compatible with SU then. (you can do a version check to work around that.)

      Thomas Thomassen โ€” SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      1 Reply Last reply Reply Quote 0
      • L Offline
        linea
        last edited by 2 Feb 2009, 12:17

        Thanks Chris, great script

        1 Reply Last reply Reply Quote 0
        • P Offline
          pilou
          last edited by 2 Feb 2009, 13:06

          A little icon "hourglass" will be useful because anything show that the program is calculating! ๐Ÿ˜‰

          Suggestion : introduce a new form inside the start's facet like a circle or triangle or anything on the first volume!
          sug.jpg

          PS You have forgotten Didier Bur and his "Push Push Randomly within an Interval" inside his projection bar tools ๐Ÿ˜‰

          Here Greeble Super Beta โ˜€


          sg.jpg

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

          1 Reply Last reply Reply Quote 0
          • S Offline
            solo
            last edited by 2 Feb 2009, 16:43

            Cool script and pretty stable.


            http://img244.imageshack.us/img244/3892/greebleba9.jpg

            http://www.solos-art.com

            If you see a toilet in your dreams do not use it.

            1 Reply Last reply Reply Quote 0
            • M Offline
              MALAISE
              last edited by 2 Feb 2009, 16:59

              Just a short trial, wonderfull ๐Ÿ‘ ๐Ÿ‘ and very clear tutorial too !
              Pilou's clock idea would be appreciate
              MALAISE ๐Ÿ˜„

              La Connaissance n'a de valeur que partagรฉe

              1 Reply Last reply Reply Quote 0
              • C Offline
                Chris Fullmer
                last edited by 2 Feb 2009, 17:18

                @thomthom said:

                A tip for your script, if you change

                model.start_operation ("Greeble")
                

                to

                model.start_operation("Greeble", true)
                

                you will most likely get a speed boost. All though, it won't be compatible with SU then. (you can do a version check to work around that.)

                Great suggestion Thom, I've now added that with a version check to the code. So if you have version 7 or higher, it will use the speed-up code. Anything lower than 7 does not use it. I'll look into the hourglass mouse too. Thanks for the suggestions and compliments,etc.

                Chris

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

                1 Reply Last reply Reply Quote 0
                • J Offline
                  JClements
                  last edited by 2 Feb 2009, 17:27

                  Chris:

                  Not only a good effort at scripting, but a good, easy-to-follow video. Congrats!

                  John | Illustrator | Beaverton, Oregon

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sepo
                    last edited by 2 Feb 2009, 17:48

                    Works nice....Thank you.

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      RickW
                      last edited by 2 Feb 2009, 18:12

                      Nice job, Chris!

                      The next step would be to get min/max offset parameters (that could be the same if consistency is desired) to randomize the offset size.

                      RickW
                      [www.smustard.com](http://www.smustard.com)

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        Chris Fullmer
                        last edited by 2 Feb 2009, 19:02

                        Yeah, I agree Rick. I think that would be another great addition, and something within my abilities right now.

                        I also want to add better units support so that the inputs work with the user's default units instead of always being in inches. I am guessing there is a way to figure out what units they are in and convert them around and stuff.

                        Another key thing I am working on is a taper on the greebled face. But I'm still thinking that through. Transforming is not as easy as scaling. Also adding widgets onto the greebled faces, making the offset greebles not be perfectly centered on their parent face, but randomly organized. Ahh, the list goes on and on.

                        But I'll start with the offset min.max and the organizer.rb compatibiltity. Thanks for the tips Rick, and the comments from everyone,

                        Chris

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

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          chango70
                          last edited by 3 Feb 2009, 01:49

                          Cool script. Does it support metric?

                          1 Reply Last reply Reply Quote 0
                          • C Offline
                            Chris Fullmer
                            last edited by 3 Feb 2009, 02:06

                            @chango70 said:

                            Cool script. Does it support metric?

                            Thanks! But no, it does not currently support metric really. All units are in inches at this point so you have to convert it all beforehand. I'm just finishing up some touches on the offset random distances feature. Once that is done, metric is then officially my next development phase. So hopefully by this weekend (or maybe tonight with any luck) I'll get metric working.

                            Chris

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

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              RickW
                              last edited by 3 Feb 2009, 05:51

                              Change all the ".to_i" methods to ".to_l" when handling the user input data, and you'll have metric support. Users will be able to enter 50mm, 12m, 23'4", etc. and it will be converted to SU units automatically.

                              Oddly enough, though the ruby console will convert 1.km to SU units, it will not work from within a text string.

                              RickW
                              [www.smustard.com](http://www.smustard.com)

                              1 Reply Last reply Reply Quote 0
                              • C Offline
                                Chris Fullmer
                                last edited by 3 Feb 2009, 09:50

                                @rickw said:

                                Change all the ".to_i" methods to ".to_l" when handling the user input data, and you'll have metric support. Users will be able to enter 50mm, 12m, 23'4", etc. and it will be converted to SU units automatically.

                                Oddly enough, though the ruby console will convert 1.km to SU units, it will not work from within a text string.

                                Ok, now you can specify min/max scale offsets. It might take some time to figure that out. I'm pretty sure it is easy to break. But I generally use two negative numbers. The first one being larger than the second. But rememeber they are negative, so larger actually means closer to zero. So I would use -10 and -100 in that order.

                                It should also be compatible with metric now too. It has serious issuse though with accuracy and I'm sure its how I'm doing it. In inches and feet, you enter values (like 100-1000 inches) and it would always stick to whole integers. But in metric, it doesn't stick to whole numbers because of how SU is converting the value to a length. So maybe I'll figure out a fix for that.

                                Chris

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

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  todd burch
                                  last edited by 3 Feb 2009, 13:34

                                  What, no WebDialog user interface??? Chicken!!

                                  Very nice work indeed Chris!!! Very nice. You can implement ProgressBar.rb and you'll satisfy Pilou. It's real easy, instructions are on Smustard with the script.

                                  Todd

                                  1 Reply Last reply Reply Quote 0
                                  • P Offline
                                    pilou
                                    last edited by 3 Feb 2009, 14:38

                                    โ˜€

                                    Ps Seems to me there is a big bug ๐Ÿ˜„
                                    After use the Super Greeble, grouping this one, the Move, Rotation with copy don't work for the greebled object or for any other object!!! ๐Ÿ˜ฎ
                                    Curious that don't make that at each time but sometime ๐Ÿ˜ฒ
                                    After the * only one group is created and it is re-centered like the first!

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

                                    1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      Chris Fullmer
                                      last edited by 3 Feb 2009, 17:04

                                      ๐Ÿ˜ž, yeah I know this version right now has bugs. I made the mistake of updating it thinking I had all the bugs worked out. Then I found some problems and realized I did not have a backup copy of the older version - oops! So give me some time and I'lkl get a more stable version up, but I might have to revert a few features.

                                      @Todd the progressbar.rb is a great idea. I was a little overwhelmed thinking about making an hourglass cursor and stuff, but progressbar sounds like a great option!

                                      Chris

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

                                      1 Reply Last reply Reply Quote 0
                                      • C Offline
                                        Chris Fullmer
                                        last edited by 4 Feb 2009, 02:48

                                        Interesting. It should not happen. Would you mind trying again with this new version I just finished? It now supports (requires) progressbar.rb from smustard and it also supports a min/max offset value. I think its kind of confusing, but I'll leave it in because it is sort of cool what it allows you to do. But to get decent results, the first offset # should be closer to zero than the second offset number. Or set them both to zero for no offset or both to -10 for an even -10 offset on all faces. And remember, that negative numbers will make an inset face, while positive numbers will offset a larger face. It might be time to update my beginning video now. Thanks for testing everyone!

                                        Chris

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

                                        1 Reply Last reply Reply Quote 0
                                        • P Offline
                                          pilou
                                          last edited by 4 Feb 2009, 10:12

                                          Another thing ๐Ÿ˜‰
                                          Is that normal on a Tin surface all facets are selected but all facets don't be greebled โ“


                                          tin.jpg

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

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

                                          Advertisement