• Login
sketchucation logo sketchucation
  • Login
๐Ÿ”Œ Quick Selection | Try Didier Bur's reworked classic extension that supercharges selections in SketchUp Download

Checkerboard painting ? (or selection)

Scheduled Pinned Locked Moved Developers' Forum
18 Posts 5 Posters 2.7k Views 5 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.
  • P Offline
    pilou
    last edited by pilou 4 Feb 2009, 12:34

    Does exist a script capable to paint facets checkered? Useful for big surfaces! โ˜€
    Faces are not obliged to have equal form like follow even its'a quadrangular grid! ๐Ÿ˜‰
    Or have you a trick for select the half of the checkerboard uniform colored?
    checker.jpg

    Frenchy Pilou
    Is beautiful that please without concept!
    My Little site :)

    1 Reply Last reply Reply Quote 0
    • M Offline
      Matt666
      last edited by 4 Feb 2009, 13:04

      +1 ! That would be great....

      Frenglish at its best !
      My scripts

      1 Reply Last reply Reply Quote 0
      • T Offline
        todd burch
        last edited by 4 Feb 2009, 16:23

        The good news is that something like this wouldn't be too hard to write

        1 Reply Last reply Reply Quote 0
        • T Offline
          todd burch
          last edited by 4 Feb 2009, 17:51

          This is with one line of code. I'll have to add a few others to make it color / select properly. ๐Ÿคฃ

          Todd


          SketchUp016.png

          1 Reply Last reply Reply Quote 0
          • P Offline
            pilou
            last edited by 4 Feb 2009, 18:12

            Small is beautiful! โ˜€
            Just "selection" is sufficient ๐Ÿ˜‰
            Color will be superfluous ๐Ÿ’š
            And with one line of code, you will enter inside the Guiness Book with the best
            average number of line of code / result! ๐Ÿ˜„

            Frenchy Pilou
            Is beautiful that please without concept!
            My Little site :)

            1 Reply Last reply Reply Quote 0
            • P Offline
              pilou
              last edited by 4 Feb 2009, 22:26

              Cool news because I know the guy Orgelf who "paint" that! ๐Ÿ˜ฒ
              So I want help him ๐Ÿ˜‰
              If the same ruby can make the same for any surface squared that will be terrific !:

              http://i44.tinypic.com/2ypb3pg.jpg

              http://i43.tinypic.com/rvzzae.jpg

              Frenchy Pilou
              Is beautiful that please without concept!
              My Little site :)

              1 Reply Last reply Reply Quote 0
              • T Offline
                todd burch
                last edited by 5 Feb 2009, 06:37

                Well, it took a few more lines to write than the one line I started with, but it's working. ๐Ÿ‘ See attached pictures.

                Notice the Orange cylinder with the center band that is solid. That is a result of clicking the current selection, which was correctly selected as every other face, with the fill tool. Since Sketchup recognizes the cylinder face as a whole "Surface", (like it might a terrain??), even though every other face that makes up the Surface is selected, whatever band you click on, gets the fill color for the whole band. The faces of the Surfaces that were not clicked fill just fine.

                The purple cylinder example is one in which I picked the colors as part of running the script - they fill just fine.

                The two-tone example was from playing around with it with two colors. Nice Checkerboard, eh?!

                Also note that when a cylinder is checker-boardered, if the # of segments is even, it will work just fine. If odd, the results will be unpredictable.

                I'll get it packaged and uploaded to Smustard sometime tomorrow.

                Todd


                SketchUp024.png


                SketchUp026.png


                SketchUp027.png

                1 Reply Last reply Reply Quote 0
                • T Offline
                  todd burch
                  last edited by 5 Feb 2009, 06:43

                  In reference to the even / odd issue, this is what might happen with a 13 sided cylinder.


                  SketchUp028.png

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    pilou
                    last edited by 5 Feb 2009, 07:56

                    Very cool speedy start! ๐Ÿ˜Ž

                    Does it be adaptable to this? Thx Zorro2 by Whaat ๐Ÿ˜‰
                    (click image for no Scroll bar)


                    Crossed.jpg

                    Frenchy Pilou
                    Is beautiful that please without concept!
                    My Little site :)

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      todd burch
                      last edited by 5 Feb 2009, 13:24

                      Yes, it will do non-quadrangular crossed lines, but it won't do faces that don't have 4 sides. For your example, make your starting face much larger than in needs to be, and then use a pattern to get the shape you want. Extrude the pattern, group, move into position, intersect_selected, remove the bits you don't want, and bingo - Happy Valentines day!

                      I think I'll put a user interface on it to allow you to pick the color, or colors, and to swap the colors if you don't get the starting square color where you wanted it.


                      SketchUp029.png


                      SketchUp030.png

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        pilou
                        last edited by 5 Feb 2009, 13:46

                        @unknownuser said:

                        Yes, it will do non-quadrangular crossed lines, but it won't do faces that don't have 4 sides.

                        Bravo! ๐Ÿ‘ And very cool trick for the no four roses faces โ˜€ ๐Ÿ˜Ž
                        ๐Ÿ˜Ž

                        Frenchy Pilou
                        Is beautiful that please without concept!
                        My Little site :)

                        1 Reply Last reply Reply Quote 0
                        • P Offline
                          pilou
                          last edited by 8 Feb 2009, 01:33

                          @ Todd : I am desolated to say that Chris Fulmer had create a ruby script that make exactly that asked at the first post (and more: any selections of form of facets) ๐Ÿ˜„
                          I am so sorry for you ๐Ÿ˜‰
                          You have shown the way! โ˜€


                          paint2.jpg

                          Frenchy Pilou
                          Is beautiful that please without concept!
                          My Little site :)

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            todd burch
                            last edited by 8 Feb 2009, 01:50

                            Good for you and good for him!

                            I'm still working on my user interface.

                            1 Reply Last reply Reply Quote 0
                            • Chris FullmerC Offline
                              Chris Fullmer
                              last edited by 8 Feb 2009, 02:38

                              Frenchy, mine doesn't do what Todd's does. Mine just randomly applies pre-selected color. Todd's makes a checkerboard like you asked for. I was making one for Equadorian who asked to have per-selected colors applied randomly to selected faces. So while they are similar, they are different. And I'm sure Todd's is going to be much more user friendly, and his menu probably won't end up in a never ending loop like mine likes to ๐Ÿ˜„

                              Chris

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

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                pilou
                                last edited by 8 Feb 2009, 02:57

                                Ok I understand you pick facets in any order! ๐Ÿ˜ณ ๐Ÿ˜ฎ ๐Ÿ˜’ ๐Ÿ˜†
                                It's a pity ๐Ÿ˜‰
                                So you are both winners โ˜€

                                Frenchy Pilou
                                Is beautiful that please without concept!
                                My Little site :)

                                1 Reply Last reply Reply Quote 0
                                • A Offline
                                  AcesHigh
                                  last edited by 14 May 2009, 22:49

                                  where is the download link? ๐Ÿ˜ž

                                  1 Reply Last reply Reply Quote 0
                                  • P Offline
                                    pilou
                                    last edited by 14 May 2009, 23:17

                                    Not yet released but you can try this one ๐Ÿ˜‰

                                    Frenchy Pilou
                                    Is beautiful that please without concept!
                                    My Little site :)

                                    1 Reply Last reply Reply Quote 0
                                    • A Offline
                                      AcesHigh
                                      last edited by 14 May 2009, 23:45

                                      @unknownuser said:

                                      Not yet released but you can try this one ๐Ÿ˜‰

                                      lol, come on, it was already said that Random Painter isnt able to create a checkbox pattern, since, of course, its randon ๐Ÿ˜„

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

                                      Advertisement