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

[Obsolete] Component Spray Tool

Scheduled Pinned Locked Moved Plugins
88 Posts 32 Posters 24.3k 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.
  • D Offline
    Didier Bur
    last edited by Didier Bur 15 Jan 2008, 14:34

    --- 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 18 Jan 2008, 23:14

      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
      • C Offline
        CadFather
        last edited by 19 Jan 2008, 23:20

        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
        • D Offline
          Didier Bur
          last edited by 20 Jan 2008, 09:01

          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
          • C Offline
            CadFather
            last edited by 20 Jan 2008, 10:27

            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 21 Jan 2008, 08:14

              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
              • D Offline
                Didier Bur
                last edited by 21 Jan 2008, 10:43

                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 21 Jan 2008, 10:47

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

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    CadFather
                    last edited by 21 Jan 2008, 17:02

                    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 22 Jan 2008, 08:24

                      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
                      • D Offline
                        Didier Bur
                        last edited by 22 Jan 2008, 21:02

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

                        DB

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

                          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 24 Jan 2008, 12:22

                            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
                            • C Offline
                              CadFather
                              last edited by 24 Jan 2008, 12:49

                              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 25 Jan 2008, 12:50

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

                                1 Reply Last reply Reply Quote 0
                                • R Offline
                                  rv1974
                                  last edited by 30 Jan 2008, 11:56

                                  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 16 Feb 2008, 19:00

                                    @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
                                    • D Offline
                                      Didier Bur
                                      last edited by 16 Feb 2008, 19:44

                                      @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 11 Apr 2008, 11:14

                                        @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 11 Apr 2008, 11:24

                                          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