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

[Plugin] Color by Z (Updated August 27th, 2009)

Scheduled Pinned Locked Moved Plugins
54 Posts 21 Posters 50.8k Views 21 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.
  • T Offline
    thomthom
    last edited by 16 Feb 2009, 21:09

    @chris fullmer said:

    So I tried to check his out, and its only painting black faces on my model regardless of what color I select. I suppose it might be a units thing? but I changed my model units to metric with no luck. Also the avi file wouldn't play for me so I couldn't see it in action.

    Ditto.

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

    1 Reply Last reply Reply Quote 0
    • G Offline
      Gaieus
      last edited by 17 Feb 2009, 11:15

      Okay guys, don't ask me. I just remembered seeing the ruby in the list about two ears ago (never tried). Maybe it has problems with SU 6+? The video plays to me and Didier uses a blue colour for the demo.

      Gai...

      1 Reply Last reply Reply Quote 0
      • C Offline
        chan
        last edited by 20 Feb 2009, 02:47

        This is just great Chris. Thank you so much.
        I deal with many diffrent urban projects and
        I clearly see that Skechup with smart programmers like yourself
        has great potential in evolving into sth not only for visual outcomes but
        for urban analysis.
        Color by Z is already a great start isn't it?
        Could this kind of approach broadens to....
        **- analyze daytime shadow coverage ratio

        • density analysis(maybe by comparing # of lines certain area contains)
        • open view condition by z**
          and so on and so on...

        If anyone is interested, I would love to discuss about it(just can't program it ;( ).
        Thanks again Chris.Untitled.jpg

        1 Reply Last reply Reply Quote 0
        • C Offline
          Chris Fullmer
          last edited by 20 Feb 2009, 05:18

          "analyze daytime shadow coverage ratio"

          That is one that has been on my mind lately. I just can't figure out how to figure out the percentage calculations because there is no easy way to get that data out of SU I think. So I would essentially have to find get the location data from the model, and evaluate each face myself using the sun angles every 15 minutes or something and run that on each face etc. I'm really not sure how that would go or if its even feasible. It would be cool if it was.

          Chris

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

          1 Reply Last reply Reply Quote 0
          • R Offline
            rinaldo
            last edited by 10 Oct 2009, 15:27

            Erro ao carregar o arquivo clf_color_by_z.rb
            No such file to load -- progressbar.rb

            1 Reply Last reply Reply Quote 0
            • T Offline
              TIG Moderator
              last edited by 10 Oct 2009, 15:59

              @rinaldo said:

              Erro ao carregar o arquivo clf_color_by_z.rb
              No such file to load -- progressbar.rb

              Download progressbar.rb free from SMustard...

              TIG

              1 Reply Last reply Reply Quote 0
              • S Offline
                snorky
                last edited by 28 Feb 2010, 09:11

                doesn't work for me.

                Error; #<ArgumentError; comparison of Float with nil failed>
                (eval);44;in `>'
                (eval);44;in `update'
                
                1 Reply Last reply Reply Quote 0
                • C Offline
                  Chris Fullmer
                  last edited by 28 Feb 2010, 16:27

                  You need to have progressbar from http://www.smustard.com installed also. Go install the plugin and then see if the plugin works after that,

                  Chris

                  PS - thanks for posting the error!

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

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    snorky
                    last edited by 28 Feb 2010, 18:03

                    @chris fullmer said:

                    You need to have progressbar from http://www.smustard.com installed also. Go install the plugin and then see if the plugin works after that,

                    Chris

                    PS - thanks for posting the error!
                    I have it...
                    sorry for uncompleted quoting, this is right error:

                    Error; #<ArgumentError; comparison of Float with nil failed>
                    (eval);44;in `>'
                    (eval);44;in `update'
                    C;/Program Files (x86)/Google/Google SketchUp 7/Plugins/clf_color_by_z.rb;140;in `colorbyz'
                    C;/Program Files (x86)/Google/Google SketchUp 7/Plugins/clf_color_by_z.rb;138;in `each'
                    C;/Program Files (x86)/Google/Google SketchUp 7/Plugins/clf_color_by_z.rb;138;in `colorbyz'
                    C;/Program Files (x86)/Google/Google SketchUp 7/Plugins/clf_color_by_z.rb;174
                    C;/Program Files (x86)/Google/Google SketchUp 7/Plugins/clf_color_by_z.rb;174;in `call'
                    

                    and sorry for my poor enghish

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      Chris Fullmer
                      last edited by 28 Feb 2010, 18:25

                      Try removing component spray from you plugins, then try my script. See if that is the problem.

                      Chris

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

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        snorky
                        last edited by 28 Feb 2010, 23:05

                        @chris fullmer said:

                        Try removing component spray from you plugins, then try my script. See if that is the problem.

                        Chris
                        yeeeeeeeeeeeees!
                        but... if you know that... can you solve it? component spray is very usefull for me πŸ˜„

                        ...by the way... yours is a good script!

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          thomthom
                          last edited by 28 Feb 2010, 23:16

                          @snorky said:

                          @chris fullmer said:

                          Try removing component spray from you plugins, then try my script. See if that is the problem.

                          Chris
                          yeeeeeeeeeeeees!
                          but... if you know that... can you solve it? component spray is very usefull for me πŸ˜„

                          ...by the way... yours is a good script!

                          Update to the latest version of Component Spray. The old Component Spray caused problems.

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

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            snorky
                            last edited by 1 Mar 2010, 13:09

                            @thomthom said:

                            Update to the latest version of Component Spray. The old Component Spray caused problems.
                            😳
                            works fine now...

                            EDIT!!!

                            sorry, doesn't work!
                            I remove old component spray tool and forgot to put new!
                            now I try with new compo-spray.rb but error is still there

                            1 Reply Last reply Reply Quote 0
                            • C Offline
                              Chris Fullmer
                              last edited by 1 Mar 2010, 15:02

                              That is the second error report in the last 2 days that component spray is not fixed. But it was fixed a while ago, so I'm not sure what happened. Maybe Didier updated it and re-broke it? 😑

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

                              1 Reply Last reply Reply Quote 0
                              • Y Offline
                                yvani
                                last edited by 29 Oct 2012, 16:16

                                hello Chris,
                                My first post on this great site, and many thanks for this very useful script!
                                Another great implementation would be to give as well possibility to have a [highlight=#ffffbf:11vlkwjz]gradient of transparency[/highlight:11vlkwjz] (I am thinking now of cloud generation....)

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

                                Advertisement