• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ 30% Off | Artisan 2 on sale until April 30th Buy Now

Teaser or not teaser ?

Scheduled Pinned Locked Moved Plugins
40 Posts 22 Posters 6.7k Views
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.
  • A Offline
    alexander
    last edited by 5 Jan 2008, 19:12

    definitly a teaser..
    awesome script again Didier.... πŸ˜†

    1 Reply Last reply Reply Quote 0
    • P Offline
      Pixero
      last edited by 6 Jan 2008, 17:05

      I've thought some more about you script and have some more ideas for you.

      I think a floating web dialog that stays on top while you work with the tool would be a good idea. Maybe it could have tabs to make the window as small as possible but still have room for lots of settings.

      At the top there could be four (or more) icons for the different tools: Click placement, Paint placement, Draw region and Select a predefined region from a curve.

      The paint tool should work like a brush or spraygun that you can set the diameter for the brush. Show the brush size in viewport as a ring and while pressing a specified key and dragging mouse right or left you could change the scale of the brush.

      As for the amount of different components I belive the more the better. Maybe a possibility to choose a directory and all components in that directory would be used.

      How does the script choose component based on randomness? Maybe it would be good if it recoginzed the last used component and removed that from the next "selection round" so that two identical components never was used next to each other.

      When it comes to scaling I believe that a way of choosing what axes it should scale would be good. Many times you might just want to scale it in one or two axes or use different min/max values for different axes.

      Just my thoughts...

      1 Reply Last reply Reply Quote 0
      • D Offline
        Didier Bur
        last edited by 6 Jan 2008, 23:33

        Hmm,hmm,
        Good ideas, but I didn't receive the Nobel prize of computer programming (yet) πŸ˜„
        I'll see what I can do.

        DB

        1 Reply Last reply Reply Quote 0
        • T Offline
          tomsdesk
          last edited by 7 Jan 2008, 04:54

          @unknownuser said:

          I wonder what will happen if for SketchUp 7 they made a bunch of tools and then these tools are coincidentally made by Ruby scripters as well.

          The ruby tools will work without screwing up something else!

          http://www.tomsdesk.moonfruit.com/
          2.5D Trees & Shrubs!

          1 Reply Last reply Reply Quote 0
          • G Offline
            gata
            last edited by 7 Jan 2008, 06:33

            That's already happened when SU6 came out. That's life.

            1 Reply Last reply Reply Quote 0
            • R Offline
              rv1974
              last edited by 7 Jan 2008, 09:12

              It would be great to have "pick" button to select components in the model space.

              1 Reply Last reply Reply Quote 0
              • R Offline
                rv1974
                last edited by 7 Jan 2008, 09:20

                And for me personally the best way to be commercial add-on is to be bought by Google (hope big brother will read this), not by end user

                1 Reply Last reply Reply Quote 0
                • J Offline
                  juju
                  last edited by 7 Jan 2008, 13:06

                  Awesome scripting there Didier! I can't add any comment that has not already been added - except that I'd like to get this script! So many good things (script wise) on the horizon!

                  Hmmm... OK, maybe these comments:

                  • Regarding the number of components to be used. I would like to have control over the amount of components that are to be used. Maybe have a list generated in a window so you can track the components used and an "add window" where you point the script to the component you wish to add to the list.

                  • Selecting the shape / surface / area. Maybe add an option so you could select and irregular shaped surface and define that as the selection to apply the randomisation and component placement to.

                  Save the Earth, it's the only planet with chocolate.

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    JClements
                    last edited by 7 Jan 2008, 16:12

                    Didier, once again you've "pulled a rabbit out of the hat". Congrats.

                    After you get the bugs out of the current script, do you think another script could be adapted from it to paint component along a path (curve)? See a simple example here, http://www.sketchucation.com/forums/scf/viewtopic.php?f=57&t=3210?

                    The dialog box you have now does scaling, all there would need to be is a couple rotation-on-path options.

                    Regards, John

                    John | Illustrator | Beaverton, Oregon

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      CadFather
                      last edited by 8 Jan 2008, 03:59

                      how about 'Splasher' - it almost sounds sketchup 5 era to me

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        Didier Bur
                        last edited by 9 Jan 2008, 11:22

                        Here are the news of the development:

                        Done:

                        • up to 6 components to choose from,
                        • "brush" shapes: point (click to drop a single random component),line, triangle, square, circle, face or faces set (select faces and the script will only drop on these, no matter their shapes)
                        • brush pressure 0 to 100%
                        • option: random rotation of components
                        • option: allow or disallow components stacking
                        • option: keep components vertical or let them follow the slope of faces they are dropped on,
                        • option: put all new components on specified layer
                        • option: allow/disallow random scaling, with min and max scaling values
                        • option: allow/disallow mirroring of components (except along Z, to prevent upside-down components)
                        • option: min and max steepness values (drop components only on a face if its slope is between min and max values)

                        To do:

                        • optimize algorithms for speed,
                        • use/set default settings and advanced settings
                        • drop components between min and max altitude values

                        Regards,

                        DB

                        1 Reply Last reply Reply Quote 0
                        • ToboboT Offline
                          Tobobo
                          last edited by 9 Jan 2008, 11:37

                          We are definately not worthy!

                          I can't wait, it's like having Christmas twice in one year!

                          Toby

                          Philippians 4:13

                          I can do everything through him who gives me strength.

                          1 Reply Last reply Reply Quote 0
                          • GaieusG Offline
                            Gaieus
                            last edited by 9 Jan 2008, 11:39

                            You're killing me, Didier... 😲

                            Gai...

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              juju
                              last edited by 9 Jan 2008, 11:52

                              Damn, sounds exciting! I can't wait for this to be released "in the wild".

                              Save the Earth, it's the only planet with chocolate.

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                a4chitect
                                last edited by 9 Jan 2008, 14:54

                                man! didier! wonderful, perfect

                                i hope that you would consider adding another important feature to let sketchup quickly design cities, populate roads (man i like it!!!) - alignment (rotation) based by the surface texture, or by any texture. this could help in large scale projects where you could just generate a texture for the road from its path (i created a script for the freeware GIMP that does just that and am willing to share).

                                i know that ruby can access the average color of a texture, but am not sure if you can actually read the pixel color of texture at the point of your raytest interception

                                anyways - maybe it's too much effort, then i'll gladly try to help with this

                                thanks
                                looking forward to the release

                                1 Reply Last reply Reply Quote 0
                                • A Offline
                                  a4chitect
                                  last edited by 10 Jan 2008, 09:14

                                  to further promote my point, here is the gimp script this is the gimp script (extract to "..\Gimp\share\gimp\2.0\scripts" and in gimp 'Filters\Render\Circles@Path') to generate path gradient from white to black depending on the orientation. it's not very mature but could be a good starting point for enhancements.

                                  there is only one limitation to this script: you are obliged to share any upgrades and modifications for free

                                  note: this plugin is already useful when using Vue, there it's possible to align ecosystem objects by texture

                                  note2: for a real road you should use 2 paths for each lane with opposite orientation


                                  original paths in gimp (for example roads)


                                  after the script is finished - ready to place and align components

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    Didier Bur
                                    last edited by 11 Jan 2008, 16:08

                                    Virtual "coconut beach", with slope and altitude constraints, eh eh...
                                    10 seconds process πŸ˜„


                                    beach.jpg

                                    DB

                                    1 Reply Last reply Reply Quote 0
                                    • ToboboT Offline
                                      Tobobo
                                      last edited by 11 Jan 2008, 18:19

                                      Thats amazing!

                                      nuff said

                                      Toby

                                      Philippians 4:13

                                      I can do everything through him who gives me strength.

                                      1 Reply Last reply Reply Quote 0
                                      • I Offline
                                        ilay7k
                                        last edited by 11 Jan 2008, 19:43

                                        Didier, nice place...skipy eco-system(like e-on vue) πŸ˜‰...
                                        i see some ruby technologies from skpPhysics(solids), and ect - era of modificators! 😲 πŸ’­

                                        1 Reply Last reply Reply Quote 0
                                        • ToboboT Offline
                                          Tobobo
                                          last edited by 25 Mar 2008, 13:44

                                          http://sketchucation.com/forums/scf/sas/Ruby/Sandbox1.jpg

                                          This is a mesh created by sandbox. The tool creates the contours as a component.

                                          Toby

                                          Philippians 4:13

                                          I can do everything through him who gives me strength.

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

                                          Advertisement