sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Compo Spray 1.4.2 Updated

    Scheduled Pinned Locked Moved Plugins
    271 Posts 89 Posters 301.3k Views 89 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.
    • GaieusG Offline
      Gaieus
      last edited by

      Tanks a lot for the update, Didier! I can hardly wait to test it in "hot" action!
      ๐Ÿ˜„

      Gai...

      1 Reply Last reply Reply Quote 0
      • R Offline
        rv1974
        last edited by

        Thank you Didier!
        Please take a look at attached.
        The only mode is working is 'point'.
        P.S. And sorry if it was disscussed earlier but but this tool would greatly benefit if one could:
        1/ work with preselected set of components;
        2/ spray on component surfaces;
        3/ spray on surfaces placed one above another (example: to spray entourage upnon balconies stacked in a column)


        spray.skp

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

          @rv1974 said:

          1/ work with preselected set of components;

          +1

          @rv1974 said:

          2/ spray on component surfaces;

          +1

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

          1 Reply Last reply Reply Quote 0
          • H Offline
            hebeijianke
            last edited by

            THX
            But It does not work in my PC

            I know why it does not work
            I use it in sketchup8.0
            It works well in sketchup7.1

            1 Reply Last reply Reply Quote 0
            • TIGT Offline
              TIG Moderator
              last edited by

              @hebeijianke said:

              THX
              But It does not work in my PC
              I [don't] know why it does not work
              I use it in sketchup8.0
              It works well in sketchup7.1

              Have you double checked the files are all extracted into the correct Plugin folder/subfolder as directed... AND removed the earlier versions ?
              Error messages in Ruby Console??

              TIG

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

                @hebeijianke said:

                THX
                But It does not work in my PC

                Can you explain what doesn't work?
                Do you get errors?
                Are you missing menus?

                I use SketchUp8 - works for me.

                Didier:
                Instead of a modal window to set the preferences before you spray, how about leaving the window open so one can adjust the settings while you work?

                (Also: under OSX Webdialogs aren't true modal - they don't act like they do on Windows.)
                (The scrollbars in the webdialog should do away if do add body { overflow: hidden; } to the CSS. (or was it to the html element...? I think that might depend if you're using a strict doctype or not.)

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

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

                  I tried to use the Spray feature - clicked on a face and I was warned it'd create 3000 instances. (I had selected a 1x1x1m cube)
                  I said Cancel to abort the operation - the Ruby Console output:
                  Error: #<LocalJumpError: unexpected break> (eval):2544:incs_warning'
                  (eval):2088:in cs_n_points' (eval):1560:in create_geometry'
                  (eval):1488:in onLButtonDown'

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

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

                    @didier bur said:

                    Simon,
                    C'est pas clair รงร  ???
                    Nouvelle version 1.4, ancienne 1.3 obsolete, plus de fichiers, plus de lien.
                    [attachment=0:mz8opdge]<!-- ia0 -->cs13.jpg<!-- ia0 -->[/attachment:mz8opdge]

                    Would be good to have a redirect there as well.

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

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

                      I also have trouble making this work with SU 8... ๐Ÿ˜

                      Cheers
                      Kim Frederik

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

                        @frederik said:

                        I also have trouble making this work with SU 8... ๐Ÿ˜

                        Like I asked hebeijianke: what specifically is the problem?
                        It's hard to debug an issue without knowing what the symptoms are.
                        Exactly what doesn't work as expected and what was expected results/behaviour?

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

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          j_forrester
                          last edited by

                          Not sure if i'm having much luck with 1.4 version either. I'm using Sketchup Pro 6. The old 1.3 version worked great.

                          Everytime I go to run the script, I select my component to spray, selected faces to spray onto. Other options left alone.

                          I get a dialoge box saying "1000 trials to drop components done. Continue?". At this point it shows 1% complete on the taskbar, I click continue and get a dailoge "more than 2 minutes remaining to complete. Continue?" as soon as I click I get "more than 4 minutes remaining to complete. Continue?" and so on.... never actually creating any copies, just doubling the time with each click?

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

                            Hi,

                            @unknownuser said:

                            I get a dialoge box saying "1000 trials to drop components done. Continue?". And so on...

                            This dialog pops up when there are too much constraints (you drew your shape where there is no face that belongs to the layer mask for instance) and the script tries and tries to drop components and cannot.

                            @unknownuser said:

                            Other options left alone.

                            This may be the cause of the problem. Check if your options are consistent.

                            @unknownuser said:

                            Would be good to have a redirect there as well.

                            @TT : done.

                            @unknownuser said:

                            Error: #<LocalJumpError: unexpected break>

                            done too (fixed the bug).

                            @unknownuser said:

                            body { overflow: hidden; }

                            I tried that but no luck (CSS is greek to me ๐Ÿ˜ณ )
                            I'd like to get rid of that horizontal scrollbar too...

                            I've found a way to use dialog.show{} instead of show_modal{} ๐Ÿ˜›

                            Keep the bugs comin', I'll fix 'em and publish a patch then.

                            DB

                            1 Reply Last reply Reply Quote 0
                            • H Offline
                              hebeijianke
                              last edited by

                              Error: #<TypeError: can't convert Array into Float>
                              (eval):1752:in raytest' (eval):1752:in raytestH'
                              (eval):2323:in cs_random_points' (eval):1160:in create_geometry'
                              (eval):1052:in onLButtonDown' (eval):1752 Error: #<TypeError: can't convert Array into Float> (eval):1752:in raytest'
                              (eval):1752:in raytestH' (eval):2323:in cs_random_points'
                              (eval):1160:in create_geometry' (eval):1064:in onLButtonUp'
                              (eval):1752

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

                                @didier bur said:

                                Hi,

                                @unknownuser said:

                                Would be good to have a redirect there as well.

                                @TT : done.

                                @unknownuser said:

                                Error: #<LocalJumpError: unexpected break>

                                done too (fixed the bug).

                                @unknownuser said:

                                body { overflow: hidden; }

                                I tried that but no luck (CSS is greek to me ๐Ÿ˜ณ )
                                I'd like to get rid of that horizontal scrollbar too...

                                Because you used a strict doctype the HTML DOM acts a bit different. When I applied the rule to the HTML element it worked:

                                <span class="syntaxdefault"><br />htmlย </span><span class="syntaxkeyword">{<br /></span><span class="syntaxdefault">ย ย overflow</span><span class="syntaxkeyword">;</span><span class="syntaxdefault">ย hidden</span><span class="syntaxkeyword">;<br />}<br /></span><span class="syntaxdefault">ย </span>
                                

                                I think that you can get rid of the inset frame if you set the scrollable argument to false when you create the WebDialog.


                                NoScrollbar.png

                                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 folks,

                                  Just a note to keep the thread on top of stack...
                                  Update 1.4.1. of CompoSpray is available here: http://rhin.crai.archi.fr/RubyLibraryDepot/plugin_details.php?id=76

                                  Mainly bug fixes, backward compatibility, non-modal dialog BUT a true "Ignore hidden geometry" option (thanks to ThomThom): spray can now ignore entities that are masked OR on invisible layers.

                                  Next step: a directionnal spray ๐ŸŽ‰

                                  DB

                                  1 Reply Last reply Reply Quote 0
                                  • X Offline
                                    xrok1
                                    last edited by

                                    this is a sweet update. ๐Ÿ˜
                                    do you have an explanation of how to use the layer mask? ๐Ÿ˜ณ

                                    โ€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.โ€

                                    http://www.Twilightrender.com try it!

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

                                      Hi,

                                      @unknownuser said:

                                      how to use the layer mask?

                                      Select a layer in the dropdown list and components will "fall" only on that layer...

                                      DB

                                      1 Reply Last reply Reply Quote 0
                                      • A Offline
                                        Aldob
                                        last edited by

                                        Thanks,
                                        My SU 7.1 just closing down as soon as I press component spray button on toolbar.
                                        I deleted older version from Plugins folder and my system is Win XP 64
                                        Regards

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

                                          @unknownuser said:

                                          My SU 7.1 just closing down as soon as I press component spray button on toolbar.

                                          ๐Ÿ˜ฒ ๐Ÿ˜ฒ ๐Ÿ˜ฒ
                                          It does bugsplat ?

                                          DB

                                          1 Reply Last reply Reply Quote 0
                                          • pep75P Offline
                                            pep75
                                            last edited by

                                            It looks very promising, but it does nothing. I can see the menu etc, but when I push the "spray" button; "the computer says: "No".... ๐Ÿ˜‰

                                            Oh I'm working with v8!

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

                                            Advertisement