sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    Mac User? | Join the Rayscaper Beta for Mac Learn More

    [Plugin] Component Spray Tool 1.3.

    Scheduled Pinned Locked Moved Plugins
    92 Posts 44 Posters 103.6k Views 44 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.
    • S
      sbthomas
      last edited by

      Gaieus & Didier;
      Using your suggestions I have been able to overcome the issue of spraying in the valleys of GE snapshots. The process is as follows:

      Get GE snapshot
      toggle terrain
      save-as "snapshotname"
      unlock terrain
      explode terrain
      edit>copy terrain
      file>new sketchup project
      edit>paste-in-place
      insert component
      spray component
      delete terrain
      import saved snapshot
      place model back to GE

      thanks again for your help.
      STAN

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

        Hi Stan,

        In order to make sure your original terrain remains intact,after the step where you copy it,you can just undo the steps in the original model (the copied version will remain on the clipboard and you can use the paste in place command in the new model to spray the components).

        Gai...

        1 Reply Last reply
        Reply Quote 0
        • thomthomT
          thomthom
          last edited by

          This is one of my absolute favourite rubies. I just detailed a large terrain model with 4000 trees in no time. I would never have gotten such a rich detail to it manually.

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

          1 Reply Last reply
          Reply Quote 0
          • Chris FullmerC
            Chris Fullmer
            last edited by

            Hi Didier, I have found that this script is conflicting with progressbar.rb, and therefore crashing all scripts that are using progressbar (makefaces in particular!, but I found the problem while developing my own script). There is a pb.update() method in the progressbar that seems to not work so I'm guessing that is where the conflict is - but I could be WAAAAY off. Thanks Didier!

            I was wondering if anyone else could confirm this?

            Chris

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

            1 Reply Last reply
            Reply Quote 0
            • thomthomT
              thomthom
              last edited by

              Does it make use of the disable UI argument for .start_operation ?

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

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

                @unknownuser said:

                Does it make use of the disable UI argument for .start_operation ?

                No.
                Is there still a conflict with progressbar ? πŸ‘Š
                I changed the class and methods names to get rid of any conflict in the latest version released. 😲

                DB

                1 Reply Last reply
                Reply Quote 0
                • thomthomT
                  thomthom
                  last edited by

                  It'd be interesting to see what speed this plugin worked at with the SU UI disabled. Any chance of an updated version?

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

                  1 Reply Last reply
                  Reply Quote 0
                  • Chris FullmerC
                    Chris Fullmer
                    last edited by

                    @didier bur said:

                    Is there still a conflict with progressbar ?

                    Nope! It is working great now with progressbar. Thanks for fixing it so quickly too,

                    Chris

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

                    1 Reply Last reply
                    Reply Quote 0
                    • M
                      milfot
                      last edited by

                      Wow, this plugin is fantastic!!

                      Much appreciated... i am off to build a forest.

                      ..cam

                      1 Reply Last reply
                      Reply Quote 0
                      • D
                        denna003
                        last edited by

                        THAnk you very much!!!! πŸ˜‰

                        1 Reply Last reply
                        Reply Quote 0
                        • A
                          AcesHigh
                          last edited by

                          Didier, is this the last version of your tool?

                          Can I make a suggestion? It seems the altitude option is too "hard". I mean, I think you could add some dialogue to add a % of chance that components will spray below and above the maximum altitude. That way, they will concentrate on the set altitude, but some of them will spread casually beyond (unless you set the chance of that happening to 0%)

                          1 Reply Last reply
                          Reply Quote 0
                          • T
                            tomislavm
                            last edited by

                            Thank You!
                            Where in Croatia?

                            1 Reply Last reply
                            Reply Quote 0
                            • M
                              madhav
                              last edited by

                              Thanks a lot

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

                                @unknownuser said:

                                Where in Croatia?

                                Pisak, that's 40kms South of Split and 20kms North of Makarska.

                                DB

                                1 Reply Last reply
                                Reply Quote 0
                                • T
                                  tomislavm
                                  last edited by

                                  Nice place for vacation!

                                  1 Reply Last reply
                                  Reply Quote 0
                                  • A
                                    alsenhawk
                                    last edited by

                                    Thank you,that's what i m looking~

                                    1 Reply Last reply
                                    Reply Quote 0
                                    • A
                                      arjunmax09
                                      last edited by

                                      @rv1974 said:

                                      Didier thanks for your efforts!
                                      One can get interesting things with new vertice mode.

                                      http://img212.imageshack.us/img212/6828/screenshot060qi3.jpg

                                      [URL=http://g.imageshack.us/g.php?h=212&i=screenshot060qi3.jpg][IMG]http://img212.imag
                                      But there's bug in vertex+no to keep vertical . It's not working (see lonely cylinder over mesh, in all other cases components stay vertical)
                                      To "keep vertical" unchecked will result the component to be placed vertical to mesh, it'll work this way, right?
                                      P.S. I'm not programmer (my wife is- it's enough for one family) but you're one step from "spray along vertices of curve" ? πŸ˜‰
                                      P.P.S. Do you shine in ruby field only or there are some lisp routins of yours?

                                      hey!!! how did you create the cool DNA model man???!!!... i mean the perfect spiral thing... which plugin did you use???

                                      when you fail at something....you haven't really failed...you've found one way the thing will not work out

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

                                        Hi

                                        @unknownuser said:

                                        Do you shine in ruby field only or there are some lisp routins of yours?

                                        I was used to code in Autolisp years ago, and now I'm learning Javascript along with Unity3D. πŸ˜›
                                        Regards

                                        DB

                                        1 Reply Last reply
                                        Reply Quote 0
                                        • A
                                          arjunmax09
                                          last edited by

                                          didier... your compo spray is interfering with the progressbar script.. any improvements you've made to compo spray so that it doesn't do the progressbar thing??

                                          when you fail at something....you haven't really failed...you've found one way the thing will not work out

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

                                            Hi

                                            @unknownuser said:

                                            any improvements you've made to compo spray so that it doesn't do the progressbar thing?

                                            I though I had done this several monthes ago, but just in case see page 1 of this thread and download the latest version. The spray uses its own progress bar class named "sprayprogressbar", so there should not be any conflict with other plugin(s).
                                            If the problem persists, not my fault anymore πŸ˜‰
                                            Regards,

                                            DB

                                            1 Reply Last reply
                                            Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better πŸ’—

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 3 / 5
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement