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

    [Plugin] Component Spray Tool 1.3.

    Scheduled Pinned Locked Moved Plugins
    92 Posts 44 Posters 91.2k 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.
    • soloS Offline
      solo
      last edited by

      Yes please, I have the same issue where I need to mass some proxies but the boxes I'm using are all stacked and intersecting, maybe a collision checkbox?

      http://www.solos-art.com

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

      1 Reply Last reply Reply Quote 0
      • C Offline
        csolar
        last edited by

        I've just installed this (SU 7.1, WinXP), and I have a question about the spray pressure parameter. In the user guide it says that the # of components dropped is calculated as:

        [area of surface]/[average area of component(s)]*[spray pressure]

        In my case, the surface is a 10x10 square, and the component is a 1x1 square -- so the surface is 100 times the component area. If I select a spray pressure of 10%, I would expect 10 components to be dropped, but what I get is 100 components. Basically this calculation seems to be off by a factor of 10: if I ask for 100% pressure, then 1000 components get dropped, and so on.

        Am I missing something? I ask because for my model I really need lower densities; i.e. in line with the calculation described in the guide.

        Thanks,

        Chris.

        1 Reply Last reply Reply Quote 0
        • C Offline
          csolar
          last edited by

          Another observation:

          I select "random rotate", but when I look at the results it's clear that only 6 specific rotation angles are being used...actually more like 3 pairs of angles, 120 degrees apart, with the items in each pair being 8 degrees apart. Is this expected?

          Thanks, Chris.

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

            Hi csolar,
            Do you have set any angle snapping ?

            DB

            1 Reply Last reply Reply Quote 0
            • FrederikF Offline
              Frederik
              last edited by

              Hi Didier,

              Any chance of adding what Solo and I have requested...??

              Cheers
              Kim Frederik

              1 Reply Last reply Reply Quote 0
              • C Offline
                csolar
                last edited by

                @didier bur said:

                Do you have set any angle snapping ?

                I did, but the results are the same after I turned off angle snapping.

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

                  @unknownuser said:

                  Any chance of adding what Solo and I have requested...?

                  Yes. The only question is: when ? 😕

                  DB

                  1 Reply Last reply Reply Quote 0
                  • FrederikF Offline
                    Frederik
                    last edited by

                    @didier bur said:

                    Yes.

                    @didier bur said:

                    The only question is: when ? 😕

                    👊
                    Hopefully soon...

                    Cheers
                    Kim Frederik

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

                      Didier:

                      If you replace the native model.raytest with this method the rays won't stop on invisible entities:

                      
                        # Raytrace method that does not stop on hidden entities.
                        def self.raytest(ray)
                          model = Sketchup.active_model
                          vector = ray[1]
                          while true
                            # Shot ray
                            test = model.raytest(ray)
                            return nil if test.nil?
                            # Verify visibility
                            point, path = test
                            if path.all? { |e| e.visible? && e.layer.visible? }
                              return test
                            else
                              # raytest stopped on a hidden entity - create a new ray from that point
                              # and let the loop continue until it hits something visible, or nothing.
                              ray = [ point, vector ]
                            end
                          end # while
                        end
                      
                      

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

                        Hi tt,
                        💭 💭 💭 💭 💭 💭

                        DB

                        1 Reply Last reply Reply Quote 0
                        • I Offline
                          inbal
                          last edited by

                          thank so much 😄

                          1 Reply Last reply Reply Quote 0
                          • L Offline
                            lapx
                            last edited by

                            Problems with component spray tool...Tool will not pick point after clicking.
                            Is anyone else have problems with the tool? All the parameters appear correct.
                            I'm placing byce on a simple plane is not working. Openig a new drawing helped but it always goes back to not working at some point.

                            I'm using in V6.

                            1 Reply Last reply Reply Quote 0
                            • charly2008C Offline
                              charly2008
                              last edited by

                              Hi,

                              I wanted to try compo spray but I get a huge number of components at a small circle. What am I doing wrong?

                              Charly


                              compo1.JPG


                              compo2.JPG

                              He who makes no mistakes, makes nothing

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

                                Hi,
                                Did you draw a great circle (20m or so) or a small one (2m or so) ?
                                But don't worry, since FaceMe components don't really have a bounding box, the number of components to be created is wrong, if I remember well...
                                Regards,

                                DB

                                1 Reply Last reply Reply Quote 0
                                • charly2008C Offline
                                  charly2008
                                  last edited by

                                  Hi Didier,

                                  The circle was about three meters. I tried the whole day. If i use it at a single line or a point then i get very small copies.

                                  Charly


                                  compo.JPG


                                  Untitled.skp

                                  He who makes no mistakes, makes nothing

                                  1 Reply Last reply Reply Quote 0
                                  • charly2008C Offline
                                    charly2008
                                    last edited by

                                    For the above mentioned problem i found the solution. The values for Low and high scale where to less.

                                    But now although Keep vertical is selected, the tree is horizontal. For this I could not find the reason.

                                    Charly


                                    Unbenannt.JPG

                                    He who makes no mistakes, makes nothing

                                    1 Reply Last reply Reply Quote 0
                                    • charly2008C Offline
                                      charly2008
                                      last edited by

                                      Hi,

                                      I found the error. This component was the reason. After I exploded the component and made it a new component, the error was gone.

                                      Charly

                                      He who makes no mistakes, makes nothing

                                      1 Reply Last reply Reply Quote 0
                                      • mariochaM Offline
                                        mariocha
                                        last edited by

                                        I'm having difficulty to make it work in SU 8.
                                        Confirmation ?
                                        But it is my first try, I must say.

                                        %(#008000)[Mario C.
                                        Every rule has exceptions, but some.]

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

                                          @mariocha said:

                                          I'm having difficulty to make it work in SU 8.
                                          Confirmation ?
                                          But it is my first try, I must say.

                                          Exactly what isn't working?

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

                                          1 Reply Last reply Reply Quote 0
                                          • mariochaM Offline
                                            mariocha
                                            last edited by

                                            Well, like I said it was my first try. I finally got it after a few more tries.
                                            My mistake was to try to "spray" on a face in a group being outside of it.
                                            Somehow I assumed that's what it did. 😳
                                            Maybe cause I cannot get the "selection" option to work. It just stops and asks to select objects, even when a face is selected before, and it stays suck there, clicking or enter do nothing.
                                            I read the manual, again (very well done btw). Maybe a warning line could be added about groups. 😄
                                            Although it is so obvious now.

                                            %(#008000)[Mario C.
                                            Every rule has exceptions, but some.]

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

                                            Advertisement