Null

There was this funny article on BBC about a guy whose last name was Null. Bad luck doing anything online, because Null in any database checks out like no input.

Sorry Mr. Null, please enter your last name again.

Let’s go to business here:

Dynamo days:

I tried to demo Dynamo graphs in Revit 2017.2 and when trying to create a code block like this:

Noname

BANG – crash…

WTF – especially in front of people demoing. I quickly found out that this was an add-in I installed the night before. The culprit:

Noname

PyRevit –  love these tools – check them out here.

But now I am in a state of limbo – if I have the latest PyRevit running Dynamo breaks… I still dig PyRevit – cudos to the dude.

Anyways – this is the workflow we did:

Capture.png

Basically we create a curve in space and the place a coordinate system

Result is:

Noname

Why the local coordinate system X direction of a curve point looks at world coordinate Z direction is slightly mysterious – alas – but at least it is consistent.

Like sunrise in he morning.

A variation with local X-coordinates locked to global Z

Noname

Here’s the magic(k) – lock local X-axis to global Z-axis and you’ll get:

Fun stuff – now they all stand upright since we oriented local x to global z axis. I love geometry…

Noname

The graph:Capture

If anybody out there cares for the scripts – all OOTB – shoot me a line…

Advertisements

Author: LRCZ

Platform for multiple talents

2 thoughts on “Null”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s