💡 LightUp 7.1 | SketchUp's only real-time renderer that uses object-based rendering
Download Trial
Shadows - odds and ends
-
Some plugin shadow tools I used to learn about SU Ruby. I've tried to follow TT rules. Mostly based on Shadow_Info.
Caveats:- Dev platform Win7 64 bit SU8. YMMV
- Little here is original; it's mostly modded from other people's code.
- Credits given in code where remembered (happy to add any missed).
- Tries to deal sensibly with N/S hemispheres.
- 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.
- Scene Export is Rick Wilson's - just changed to PNG and wrapped in a module.
- 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
-
Thanks. Could you integrate them in one Shadow tools plugin?
-
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)
Advertisement