• Login
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.
  • D Offline
    Didier Bur
    last edited by 22 Jul 2008, 16:16

    Hi,

    @unknownuser said:

    I can't spray component#2 at all.

    Sure: density is based on bounds calculations, and 2D components have a depth of zero and a height of zero. This give either a floating domain error (when dividing by zero) or zillions of instances to drop.
    This can be fixed. Next release will accept 2d components.
    I'm still searching why some components don't appear in the dropdown lists. I cannot reproduce the error for now.
    And for the "too-big-list-of-50+-components-that-goes beyond-the-screen", there's no slider options for such lists. We need to ask for sliders for version 7 ( πŸ˜• ) of the API, OR use webdialogs.

    @plot-paris: interesting, this is what Majid asked for.

    DB

    1 Reply Last reply Reply Quote 0
    • J Offline
      juju
      last edited by 22 Jul 2008, 16:47

      Hear ya' on the sliders request Didier. How abbout if we could be able to type in the name of the component if it doesn't appear on the list. Currently that functionality isn't supported, but could be another workaround... Just trying to think a little laterally.

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

      1 Reply Last reply Reply Quote 0
      • J Offline
        juju
        last edited by 22 Jul 2008, 20:31

        Wow Didier, tlk about a quick turnaround time! MANY thanks, I really appreciate the trouble.

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

        1 Reply Last reply Reply Quote 0
        • D Offline
          Didier Bur
          last edited by 22 Jul 2008, 20:36

          Hi Juju,
          Thancks for the SKP. It DID help me to find why some components didn't appear in the list and why some other did.
          You know, when you take a look at the "In model" tab of your components browser, you see say, 38 components. But in fact there are much more components loaded in the model definitions list: groups, images, and internal components. In your file there are 184 of them ! Fortunately I discovered a ruby method to distinguish which component is shown or not in the browser. What's shown is what you must have in the list. I replaced my old buggy function with this method and (drumroll) all went well: 38 components in list.
          So I've some good news for you: version 1.12 has been uploaded at the top of this thread.
          I've also corrected the "zillions of comps" bug when using flat 2D components. Now the scripts supports wire components either in X,Y,orZ.
          Webdialogs to come in version 1.13 ... And maybe proxies too.
          Regards,

          DB

          1 Reply Last reply Reply Quote 0
          • P Offline
            plot-paris
            last edited by 23 Jul 2008, 06:50

            Didier, this is great news! thanks a lot for the uptate! πŸ‘

            1 Reply Last reply Reply Quote 0
            • T Offline
              Tobobo
              last edited by 23 Jul 2008, 07:23

              Didier,

              You are a true legend!

              Toby

              Philippians 4:13

              I can do everything through him who gives me strength.

              1 Reply Last reply Reply Quote 0
              • G Offline
                Gaieus
                last edited by 23 Jul 2008, 07:32

                Just a quick workaround idea for 2D components:

                Modify the component definition by adding a vertical line to the face on the red%green plane (to give it more than 0 depth) and use the script. Afterwards you can always delete this line (and of course it will be deleted from all instances).

                Gai...

                1 Reply Last reply Reply Quote 0
                • R Offline
                  rv1974
                  last edited by 23 Jul 2008, 07:48


                  http://img65.imageshack.us/img65/4219/screenshot055ns0.jpg


                  http://img65.imageshack.us/img65/4219/screenshot055ns0.8ee385c8ed.jpg

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    Didier Bur
                    last edited by 23 Jul 2008, 17:16

                    Hi Gaieus,
                    No need to do that now. Component with a single line in it will work, either a XY line,XZ line or YZ line, or a flat surface, whatever you like.

                    DB

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      david_h
                      last edited by 30 Jul 2008, 22:52

                      I have a 2D flower comp (Always face camera) and I can't seem to get this to do anything. It goes thru the dialogues, etc, but then after I click okay .. .nothing. . . .I even added the little line to make it a 3D comp. Nuthin'!!!

                      help please. .. .

                      If I make it look easy...It is probably easy

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        plot-paris
                        last edited by 31 Jul 2008, 06:43

                        did you specify a layer? everytime I left this one blank, it did'nt work for me

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          j_forrester
                          last edited by 31 Jul 2008, 08:17

                          Anyone seen this warning dialoge before?

                          Cant seem to get the plugin to work.

                          Many thanks


                          Picture 5.png

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            rv1974
                            last edited by 31 Jul 2008, 09:55

                            Didier is it complicated to add a new spray shape-
                            vertexes of selected surface ? There'll be lot of use for this mode.

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              Didier Bur
                              last edited by 31 Jul 2008, 11:17

                              Hi,
                              Not very difficult to add.
                              Dropped it on the todo list πŸ˜‰

                              @j_forester: is this happening on SU startup or when using the script ?

                              DB

                              1 Reply Last reply Reply Quote 0
                              • J Offline
                                j_forrester
                                last edited by 31 Jul 2008, 13:29

                                On SU Pro startup. Running Mac 10.4.9

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  david_h
                                  last edited by 31 Jul 2008, 14:00

                                  @plot-paris said:

                                  did you specify a layer? everytime I left this one blank, it did'nt work for me

                                  that did it. .. plus. . .always make sure there is a surface on which to spray. πŸŽ‰

                                  If I make it look easy...It is probably easy

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    Didier Bur
                                    last edited by 3 Aug 2008, 14:10

                                    Hi,
                                    Component Spray Tool updated (v 1.3.) here:
                                    http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=11746
                                    New shape option and bug fixes.

                                    Should interest especially plot-paris, rv1974 and j_forrester πŸ˜‰

                                    DB

                                    1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      juju
                                      last edited by 3 Aug 2008, 15:27

                                      Thx Didier.

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

                                      1 Reply Last reply Reply Quote 0
                                      • P Offline
                                        physicsguy
                                        last edited by 12 Oct 2008, 00:20

                                        my computer doesn't recognise the file type! please help!

                                        1 Reply Last reply Reply Quote 0
                                        • B Offline
                                          bellwells
                                          last edited by 12 Oct 2008, 01:11

                                          @physicsguy said:

                                          my computer doesn't recognise the file type! please help!

                                          You need to place the script within your Plugins folder inside SketchUp. Unzip it, if necessary.

                                          Ron

                                          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