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

    Teaser or not teaser ?

    Scheduled Pinned Locked Moved Plugins
    40 Posts 22 Posters 6.7k Views 22 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.
    • soloS Offline
      solo
      last edited by

      Awesome ruby in the making, who needs Google to give us the tools we have enough very skilled (geeks) coders/programmers here to take our favourite app further and better.

      http://www.solos-art.com

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

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

        Hehe... True, solo (though the core engine of SU could be improved a little to handle hi-poly models - especially if we have a tool like this πŸ˜’ )

        Gai...

        1 Reply Last reply Reply Quote 0
        • R Offline
          rhankc
          last edited by

          Good Work Didier, and thanks for the show and tell. The possibilities are quite extensive.

          Hank

          1 Reply Last reply Reply Quote 0
          • A Offline
            alexander
            last edited by

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

            1 Reply Last reply Reply Quote 0
            • PixeroP Offline
              Pixero
              last edited by

              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
              • Didier BurD Offline
                Didier Bur
                last edited by

                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

                  @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

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

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      rv1974
                      last edited by

                      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

                        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
                        • jujuJ Offline
                          juju
                          last edited by

                          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
                          • JClementsJ Offline
                            JClements
                            last edited by

                            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
                            • CadFatherC Offline
                              CadFather
                              last edited by

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

                              1 Reply Last reply Reply Quote 0
                              • Didier BurD Offline
                                Didier Bur
                                last edited by

                                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

                                  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

                                    You're killing me, Didier... 😲

                                    Gai...

                                    1 Reply Last reply Reply Quote 0
                                    • jujuJ Offline
                                      juju
                                      last edited by

                                      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

                                        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

                                          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
                                          • Didier BurD Offline
                                            Didier Bur
                                            last edited by

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


                                            beach.jpg

                                            DB

                                            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