sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Elev45Shadows.rb

    Scheduled Pinned Locked Moved Plugins
    43 Posts 14 Posters 27.2k Views 14 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.
    • TIGT Offline
      TIG Moderator
      last edited by

      @orchard collie said:

      Hi Guys
      Have played with earlier versions of Shadows.rb (on Mac) and experienced the "blackout" problem. Found this post a few minutes ago, downloaded the latest version (thanks TIG). Set up model elevations as scene tabs and ran the script. Saved each scene with shadows on but it seems that the 45 degree shadows don't change direction for each elevation - the shadow direction is constant regardless of whether I save/update each scene with shadow settings on or off.
      Any ideas what I'm doing wrong?
      Cheers from Darwin Australia
      Orch

      Unfortunately with v7 you can't have multiple locations in the same model [Google-Earth compliance?] - but this tool has to reset the model's location to get the shadows to work right and it was developed for v5/6 !
      What you have to do it in v7 is import the model into another empty elev-skp [as a component its location settings are forgotten], then set your required elevation scene tab and then the 45 shadows in that elev-skp - the model's location will adjust in that elev-skp [save to a scene-tab/style etc to 'freeze' the settings]. To make other elevations with different shadow directions [and therefore 'locations'] you can make copies of your elev-skp [with the same model inserted] and change the view/elevation and shadows to suit, in each one. If later on you change the model then its inserted version in these new elev-skp's will not change UNLESS you 'reload' it from the Component Browser then it'll then update but automatically keep the desired shadows...
      💭

      TIG

      1 Reply Last reply Reply Quote 0
      • O Offline
        orchard collie
        last edited by

        Thanks TIG at least I know why I can't do it!
        Many thanks
        Orch

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

          I'm having a problem using Elev45shadows and vray for sketchup 1.5.30 combined....I need to change the location of my model to any city but not boulder to get 45 shadows io.....but vray doesn't accept this..It only remembers the default location settings that is of boulder colorado...what should i do to fix this......I'm using Sketchup Pro 7.1

          when you fail at something....you haven't really failed...you've found one way the thing will not work out

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

            @arjunmax09 said:

            but vray doesn't accept this..It only remembers the default location settings that is of boulder colorado...what should i do to fix this......I'm using Sketchup Pro 7.1

            I've never had problems with this in VfSU 1.05.30. I always worked with it where the location where set to Trondheim, Norway.

            What do you mean it doesn't "accept" it?

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

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

              @thomthom said:

              What do you mean it doesn't "accept" it?

              it means that vray uses the default settings i.e. boulder colorado......if i change my north axis by going to model info.....it also doesn't support the north.....for example if i rotated the north angle by 30 degrees ....vray will not know that the north direction has been rotated by 30 degrees

              when you fail at something....you haven't really failed...you've found one way the thing will not work out

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

                Not even if you reload the model?

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

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

                  @thomthom said:

                  Not even if you reload the model?

                  yes the problem persists even if i reload the model...have you ever experienced it i mean with boulder, colorado??

                  when you fail at something....you haven't really failed...you've found one way the thing will not work out

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    martinez001
                    last edited by

                    TIG,

                    I am trying to flip my shadows. I have the Ruby Console open and type in the values that you state and run the plug-in and nothing happens. Am I not running the ruby console properly?

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

                      @martinez001 said:

                      TIG,
                      I am trying to flip my shadows. I have the Ruby Console open and type in the values that you state and run the plug-in and nothing happens. Am I not running the ruby console properly?
                      Open the Ruby Console and type $e45s=0 then press <enter> this changes the angle.
                      And using $e45s=1 changes it back... 😕

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • pbacotP Offline
                        pbacot
                        last edited by

                        @martinez001 said:

                        TIG,

                        I am trying to flip my shadows. I have the Ruby Console open and type in the values that you state and run the plug-in and nothing happens. Am I not running the ruby console properly?

                        You can also flip shadows with the "enter North angle" tool under the Solar North tool palette--after using this EXCELLENT plugin. We always fudge on the north elevations (northern hemisphere) for presentations sake but I assume if the west elevation is wrong I'll hear from my clients!

                        MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          CGulland
                          last edited by

                          Anyone know if Elev45Shadows.rb will work in SU 2013? Or can direct me to an alternative plugin for creating 45 degree shadows for architectural elevations?

                          Many thanks

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

                            It should work 😕 , but NOT with geolocation set, AND also you'll now need a separate SKP set up for each elevation - in earlier SketchUps you could have different locations in different Scenes...
                            This tool has to set the location, time etc for each elevation in turn to achieve a proper 45 degree shadow []which obviously can't be done in a fixed geolocation - so it's not possible with just one fixed [geo]location...

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • demD Offline
                              dem
                              last edited by

                              dont work in su 2014(
                              45.png

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

                                Set sun for shading ?
                                Set UTC to 0 and it then works...
                                I'm looking at why it differs from earlier versions.
                                It is ~8 years old !
                                The default template has UTC-7 ?
                                The shadowinfo "TZOffset" should be forced to 0 ?
                                There's a typo in the ancient code - it says "TZoffset" NOT "TZOffset", so you currently still have to manually change the UTC = 0 😒

                                At least you can force it to work, I'll look at how it might be auto-run right...


                                Capture.PNG

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • demD Offline
                                  dem
                                  last edited by

                                  Thanks, UTC was whong in template))) default was 7 or 8

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

                                    BUT I am working on an improvement fix to auto-set UTC=0...

                                    TIG

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

                                      Version v1.4 is now available at the PluginStore http://sketchucation.com/pluginstore?pln=Elev45shadows
                                      Please read the guidance accessed via 'More Info'

                                      TIG

                                      1 Reply Last reply Reply Quote 0
                                      • C Offline
                                        Cubcrafter
                                        last edited by

                                        Is there an easy way to change the shadow angle from 45 to some other angle with this plugin?

                                        Larry

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

                                          No.
                                          Not unless you do some mind-numbing trig/geometry/maths...
                                          I couldn't do it !

                                          TIG

                                          1 Reply Last reply Reply Quote 0
                                          • P Offline
                                            putnik
                                            last edited by

                                            TIG, we quite often set correct Geo location for our models. It would be great if there was an option in this amazingly useful script to revert back to the previously set Geo location.

                                            I find it's easy enough to apply Elev45 temporarily to a select scene, and then revert the model back to the proper geo location, rather than fiddle with the importing files into a new SKP file etc. At the moment I manually type in the Geo location after letting Elev45 have its way with my model. A 'revert to previous geo location' button would be better. Is this possible to do?

                                            http://keshas.info

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

                                            Advertisement