Views from sun

2 min read
Share on twitter
Share on linkedin
Share on facebook
Share on email

Often when producing a SEPP65 solar access analysis, you will want to generate views from the sun to visually verify the results of the Ladybug ‘heat map’. This can be achieved with both Dynamo and Grasshopper.

Dynamo workflow

Views in Revit can be achieved by using the ‘View.FromSun‘ custom node from the Parametric Monkey Dynamo Package

Dynamo_ViewFromSun3_1600x700

The custom node utilises the Clockwork package to calculate the orientation of True North and the Ladybug package to generate the sun vector for a given analysis period. Please note that Ladybug currently has a minor bug which results in returning extra dates/vectors from the analysis period. However, for this tutorial, this bug is not critical, and any additional views can be simply manually deleted as required. Finally, the custom node uses Dynamo’s native ‘AxonometricView.ByEyePointAndTarget’ node to generates 3D orthographic views.

Dynamo_ViewFromSun1_1600x1070

To visually check that the node has worked as intended, you can turn on a view’s shadows. Then set the sun settings to ‘Still’ and set the date, time and location. If everything has worked correctly, you should not be able to see any shadows as the view is parallel to the sun. A neat feature of the ‘AxonometricView.ByEyePointAndTarget’ node is that the views generated will be locked. This setting will prevent any accidental orbiting of the view.

Dynamo_ViewFromSun2_1600x550

Grasshopper workflow

The same methodology can also be generated in Grasshopper using Ladybug and some Python. The Grasshopper script below will create ‘Named Views’ with the projection of the viewport set to ‘Parallel’. To run the script, activate the Boolean Toggle. This will trigger the ‘Ladybug_Fly’ component, which will animate a number sliders to produce the views.

Grasshopper_ViewsFromSun_1600x600
Share on twitter
Share on linkedin
Share on facebook
Share on email

2 Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Tutorials

Documenting Stairs with Dynamo
Premium

Documenting stairs

A Dynamo workflow to document stairs by creating dimensions, number systems, spot elevations, stair run tags & min clearances.

Stair Compliance
Premium

Stair compliance

Verify stairs compliance including riser height, going length, risers per stair run & clearance between top rails.

Align Views
Premium

Align views on sheet

Use the ‘Align Views on Sheet’ Dynamo graph for a consistent graphic layout between sheets.

Copyright​

© 2021 Parametric Monkey
Parametric Monkey and the Parametric Monkey logo are trademarks of Parametric Monkey Pty Ltd.

CONTACT US

Drop us a message and someone from our team will be in touch with you shortly.

BOOM!

Thank you for your interest. Someone from our team will be in touch soon.

WORKSHOP APPLICATION

To find out about upcoming public workshops or to organise a private workshop, please submit the following contact form and we’ll be in touch soon.