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

[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.
  • R Offline
    rangrstudio
    last edited by 7 Apr 2010, 23:10

    Hi I'm trying to install this on Mac with Sketchup 7.
    The compo_spray.rb is in the Plugins folder, but I'm not seeing it in the plugins menu. Have reinstalled SKP 7 from scratch, then unzipped the zip file in the plug-ins folder per instructions but nothing.
    Is it not mac compatible?

    EDIT: I tried it on a windows machine (XP with SKP 7) and I couldn't get it to work there either. The zip contains "compo_spray.rb" and the pdf file. Is there something missing? Thanks for any help.

    1 Reply Last reply Reply Quote 0
    • T Offline
      TIG Moderator
      last edited by 8 Apr 2010, 08:14

      If you read the PDF help file you'd see that Component Spray Tool is accessed from a pop-out menu in Draw Menu NOT the Plugins Menu !CStool.png

      TIG

      1 Reply Last reply Reply Quote 0
      • R Offline
        rangrstudio
        last edited by 12 Apr 2010, 23:34

        @tig said:

        If you read the PDF help file you'd see that Component Spray Tool is accessed from a pop-out menu in Draw Menu NOT the Plugins Menu ![attachment=0:2qfvuyqu]<!-- ia0 -->CStool.png<!-- ia0 -->[/attachment:2qfvuyqu]

        Thank you! I guess I should read the whole manual...

        This is an amazing tool.

        1 Reply Last reply Reply Quote 0
        • F Offline
          Frederik
          last edited by 7 May 2010, 17:28

          This is a GREAT tool...
          Would it be possible to make an option, where components sprayed don't intersect with each other...??
          It's possible to prevent stacking, but I miss an option, where components don't intersect also...

          Perhaps even an option, where I can define how close components can be to each other...
          Could have both positive and negative entries...
          Any ideas...??

          Cheers
          Kim Frederik

          1 Reply Last reply Reply Quote 0
          • S Offline
            solo
            last edited by 7 May 2010, 20:48

            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 11 May 2010, 16:43

              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 11 May 2010, 17:07

                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
                • D Offline
                  Didier Bur
                  last edited by 12 May 2010, 19:36

                  Hi csolar,
                  Do you have set any angle snapping ?

                  DB

                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    Frederik
                    last edited by 13 May 2010, 09:48

                    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 13 May 2010, 14:16

                      @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
                      • D Offline
                        Didier Bur
                        last edited by 13 May 2010, 18:53

                        @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
                        • F Offline
                          Frederik
                          last edited by 13 May 2010, 21:35

                          @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 20 May 2010, 13:50

                            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
                            • D Offline
                              Didier Bur
                              last edited by 20 May 2010, 18:53

                              Hi tt,
                              πŸ’­ πŸ’­ πŸ’­ πŸ’­ πŸ’­ πŸ’­

                              DB

                              1 Reply Last reply Reply Quote 0
                              • I Offline
                                inbal
                                last edited by 21 Jun 2010, 22:52

                                thank so much πŸ˜„

                                1 Reply Last reply Reply Quote 0
                                • L Offline
                                  lapx
                                  last edited by 19 Jul 2010, 01:19

                                  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 28 Jul 2010, 15:01

                                    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
                                    • D Offline
                                      Didier Bur
                                      last edited by 28 Jul 2010, 21:42

                                      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 28 Jul 2010, 22:01

                                        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 29 Jul 2010, 13:33

                                          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
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 4 / 5
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement