sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    [Obsolete] Component Spray Tool

    Scheduled Pinned Locked Moved Plugins
    88 Posts 32 Posters 24.3k Views 32 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.
    • Didier BurD Offline
      Didier Bur
      last edited by Didier Bur

      --- PLEASE SEE LATEST VERSION BELOW ---

      Hi all,
      Here is the spray toy.

      compo_spray.rb is for english users, version 1.12 (22.07.08)
      fr_compo_spray.rb is for french users only, version 1.12 (22.07.08)

      Enjoy πŸ˜„

      22.07.08: Latest version 1.12. Replace your old version in your Plugins folder.
      New: accepts 2D components, bug fixes.

      Obsolete version. Get the latest version here: http://forums.sketchucation.com/viewtopic.php?f=323&t=11746

      DB

      1 Reply Last reply Reply Quote 0
      • J Offline
        JGA
        last edited by

        Thanks very much, I'm sure it'll come in handy once I've had a go.

        Regards,
        JGA

        1 Reply Last reply Reply Quote 0
        • CadFatherC Offline
          CadFather
          last edited by

          doesn't seem to work with me

          when spraying i always get the circle (whatever my settings) - click centre, radius and nothing happens.. just once i managed point, only after setting both default and dialog the same.

          also tried it on a clean install.. is it just me?

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

            Hi CadFather,
            Please post an example SKP so I can see if the problem is script-related or not.
            Regards,

            DB

            1 Reply Last reply Reply Quote 0
            • CadFatherC Offline
              CadFather
              last edited by

              well there's no skp really - all i did was put a rectangular ground plane, and then tried the spray on it. also tried on a small sandbox mesh.

              i tried again after posting yesterday and got the spray by point to work. the others though, will recognise the first click (centre of shape) but not the second so that i am in a sort of loop and the shape does not set.

              i noticed at times if i drew the radius (second click), way beyond the mesh a message would pop up warning me that a huge number of comps would be sprayed, when i reduced the radius to be inside the boundaries of the mesh, nothing happened..

              i will keep lookng into it - i seem to be the only one with this

              by the way great ruby, even by point it is great.

              1 Reply Last reply Reply Quote 0
              • K Offline
                kobus
                last edited by

                nice tool ! respect.

                you should be interested in the future. you will spend the rest of your life there

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

                  Hi CadFather,
                  i think I've found what's wrong. It is bug-like but not really.
                  Watch the "Layer" list and select a layer, don't let this field blank the first time you use the script.
                  Am I right ?

                  DB

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    JAP
                    last edited by

                    Really nice tool, have used already quite a lot, very handy. Thanx Didier!

                    1 Reply Last reply Reply Quote 0
                    • CadFatherC Offline
                      CadFather
                      last edited by

                      thanks for looking into it Didier - you are right, it works very well now and wow, really a must have tool, thanks!

                      so now i also know the intruding 2d bryce man in the 3d template has been drawn on 2 different layers!

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

                        Incredible!
                        I can't believe that this for free, you know that you gave away a "super-randor.rb" to us?

                        Thank you very much for the hours(?) you were spending for the devolpment. I agree with CadFather: A must have.
                        Thank you.

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

                          Hi,
                          Call me stupid, but what's a "super-randor.rb" ???

                          DB

                          1 Reply Last reply Reply Quote 0
                          • CadFatherC Offline
                            CadFather
                            last edited by

                            it's a smustard plugin to randomise rotation and scale of selected objects by TBD

                            1 Reply Last reply Reply Quote 0
                            • G Offline
                              gorec
                              last edited by

                              At me problem as well as at CadFather. Second click does not work.
                              I so did not understand that it is there needed to do with layers.

                              1 Reply Last reply Reply Quote 0
                              • CadFatherC Offline
                                CadFather
                                last edited by

                                in the dialog box there is a layer field which has to be chosen

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

                                  Thanks CadFather. It's all said πŸ˜„

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

                                    Hi Didier!
                                    May be it was discussed earlier ..
                                    1.There are 2 bugs: the plug-in limits drop-down list of components (for example 290 in model is reduced to 10 in dialog).
                                    2.drop-down list is not stable: drop-down list of components is visible only if down arrow
                                    is continually pressed.
                                    Thanks for attention.

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      dmytty
                                      last edited by

                                      @didier bur said:

                                      Hi all,
                                      Here is the new toy.

                                      The last file is for french users only.

                                      Enjoy πŸ˜„

                                      How about including the ability to use a layer as a mask for including/excluding selected areas for component placement? Or how about being able to select a material type to include/exclude? Thus, if I had a street layout on a layer, I could click on 'Streets' layer and use it as an exclude mask for vegetation. Or I could click on a 'Soils' layer and 'include' this for component placement. The material option would allow me to select a material named 'dirt' as receiving all vegetation components.

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

                                        @unknownuser said:

                                        How about including the ability to use a layer as a mask

                                        Doable. It's on the wish_list πŸ˜‰

                                        @unknownuser said:

                                        drop-down list of components is visible only if down arrow
                                        is continually pressed.

                                        Ruby API is guilty here...

                                        DB

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

                                          @rv1974 said:

                                          Hi Didier!
                                          May be it was discussed earlier ..
                                          1.There are 2 bugs: the plug-in limits drop-down list of components (for example 290 in model is reduced to 10 in dialog).
                                          2.drop-down list is not stable: drop-down list of components is visible only if down arrow
                                          is continually pressed.
                                          Thanks for attention.

                                          For the some or other reason the grass component I want isn't showing up in the drop-down list for components to spray. I've renamed the component so the name starts with a "#" as well as with a "01" in an attempt to get it to surface to the top of the list, but it still isn't showing up.

                                          Does anybody have any idea how to get components onto the list that isn't showing up?

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

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

                                            OK, just tried the tool in a blank skippy. If you have a sky dome the spray tool doesn't work as expected - stuff ends up on top of the sky dome.

                                            Didier, is it possible for you to sort this out?

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

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

                                            Advertisement