[Plugin] Elev45Shadows.rb
-
@tig said:
Here's your skp file back with the 45 degree shadows added - I had no problems doing it [v7 pro] - I added some extra details to show the effect better - like recesses and overhangs...
I think it must be a free/pro thing ?[attachment=1:2d4xr0rt]<!-- ia1 -->elev experiment.skp<!-- ia1 -->[/attachment:2d4xr0rt][attachment=0:2d4xr0rt]<!-- ia0 -->elev experiment.png<!-- ia0 -->[/attachment:2d4xr0rt]hmm... that's weird... when i opened your file.... the plugin worked fine... but when i created a new file and tried to do the shadow thing... the blackout still occurs... btw i'm using google sketchup pro 7.1
-
Try changing/re-saving you Model Info > Location settings, then retry ?
-
@tig said:
Try changing/re-saving you Model Info > Location settings, then retry ?
the location settings.. what change can i apply to them??
-
@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 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
-
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 -
@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
OrchUnfortunately 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...
-
Thanks TIG at least I know why I can't do it!
Many thanks
Orch -
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
-
@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?
-
@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
-
Not even if you reload the model?
-
@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??
-
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?
-
@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... -
@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!
-
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
-
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... -
dont work in su 2014(
-
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 = 0At least you can force it to work, I'll look at how it might be auto-run right...
Advertisement