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

      Try changing/re-saving you Model Info > Location settings, then retry ?

      TIG

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

        @tig said:

        Try changing/re-saving you Model Info > Location settings, then retry ?

        the location settings.. what change can i apply to them??

        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
        • TIGT Offline
          TIG Moderator
          last edited by

          @arjunmax09 said:

          the location settings.. what change can i apply to them??

          Change the city, then back again ?
          What're you Location setting at the moment ?

          TIG

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

            @tig said:

            Change the city, then back again ?
            What're you Location setting at the moment ?

            thanks tig... changed the setting to yugoslavia... earlier it was boulder, co usa workin fine now!! Thanks a lot

            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
            • O Offline
              orchard collie
              last edited by

              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

              1 Reply Last reply Reply Quote 0
              • 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
                                            • 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