sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Shadows - odds and ends

    Scheduled Pinned Locked Moved Plugins
    3 Posts 2 Posters 303 Views 2 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.
    • M Offline
      mozzie
      last edited by

      Some plugin shadow tools I used to learn about SU Ruby. I've tried to follow TT rules. Mostly based on Shadow_Info.
      Caveats:

      1. Dev platform Win7 64 bit SU8. YMMV
      2. Little here is original; it's mostly modded from other people's code.
      3. Credits given in code where remembered (happy to add any missed).
      4. Tries to deal sensibly with N/S hemispheres.
      5. Shadow_info time is sometimes hard to understand so I chose to go with the flow for Daylight Saving - and let SU work it out.
      6. Scene Export is Rick Wilson's - just changed to PNG and wrapped in a module.
      7. No warranties, use it as you want. Post back here if you want to suggest a change/correct code
        Following are a few odds and ends I hacked up to look at shadows. Nothing sophisticated like shadow analysis, just some tools to:

      Add time and season to the top LH side of screen (shadow_time.rb)

      • Add lat/long to top RH side of screen (Shadow_latlong.rb)
      • Slightly modded Scene_Exporter (scene_expLM.rb)
      • Plugin to produce a set of scenes for export (shadow_scenes.rb) This allows you to produce a logical (to me) set of shadow scenes. By season at solstice/equinox, or by month with a range of intervals (daily, weekly etc), selectable time start/end inc sunrise/sunset and selectable hourly intervals

      Adds lat & long to scene


      Adds Time and season to scene


      Generates a set of scenes


      Exports scenes (Rick Wilson slightly modded)

      1 Reply Last reply Reply Quote 0
      • srxS Offline
        srx
        last edited by

        Thanks. Could you integrate them in one Shadow tools plugin?

        www.saurus.rs

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

          That, and an rbz are the next stage. I haven't because
          l) Lack of skills - hopefully fixable.
          2) It would be best if I could include the scene exporter
          (not mine in any way, so I would prefer to have Author's permission)

          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