GDL
About building parametric objects with GDL.

3D Object to show the time and location for Sun Shadow

Wokka
Contributor

I'm trying to create a 3D object for use in Sun Studies that will show the current 3D window time and date as well as sun azimuth, altitude and project location (Obviously not casting shadows... ) I can get most of the information i need except the Date and Time. Using the GLOB_PROJECT_DATE is apparently only set for EcoDesigner.

Am I missing something simple? Any ideas??

Cheers

Warwick Lloyd-Martin
3 D E N V I R O N M E N T
http://www.3de.com.au
Windows 11 Pro 64bit
ArchiCad 4.55>27 AUS
Lumion 12.5/2023
D5 Render
7 REPLIES 7

IMHO, You have to built in some sun engine into the object... was there done that. Anyway it will not be 100% the same with the AC engine. I did a code refactoring + UI for sun study object started by my friend for Polish direct sun regulations that produces the diagrams that the building authorities understand  😜

 

If the parameter produces a value in the 2d/3d/UI script: there is a way to automatically save them to csv file and, then on trigger load them to parameters. I had to do that for Geo cords and north angle.

 

Piotr

 

Piotr, Thanks... I was hoping for a simpler solution, as my coding is not that sophisticated. 🙃

Cheers

Warwick Lloyd-Martin
3 D E N V I R O N M E N T
http://www.3de.com.au
Windows 11 Pro 64bit
ArchiCad 4.55>27 AUS
Lumion 12.5/2023
D5 Render
Peter Baksa
Graphisoft
Graphisoft

Hi,

 

there is REQUEST ("DateTime")

 

 

Péter Baksa
Software Engineer, Library
Graphisoft SE, Budapest

@Peter Baksa wrote:

there is REQUEST ("DateTime")



But isn't that the current date and time as in the real date and time?

I didn't think that was the time set for a sun study which is what Warwick is after.

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

That's what I thought... I need the current time/date with in the 3D Window/3D Document to show in conjunction with the shadows.

Cheers

Warwick Lloyd-Martin
3 D E N V I R O N M E N T
http://www.3de.com.au
Windows 11 Pro 64bit
ArchiCad 4.55>27 AUS
Lumion 12.5/2023
D5 Render

The biggest trouble with sun analyze object is: that there is no request/whatever (IMHO) that would give the sun azimuth/height.

And the calculation mostly is done on some set date in the year, not constantly, otherwise results will not be comparable.

In Poland those are the equinox days (both because of daylight saving).

 

Piotr

I've been able to get the sun information which will update from image to image, it's just the time / date I have issues with..


3D TEXT.JPG3D time.JPG
Warwick Lloyd-Martin
3 D E N V I R O N M E N T
http://www.3de.com.au
Windows 11 Pro 64bit
ArchiCad 4.55>27 AUS
Lumion 12.5/2023
D5 Render

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!