DesignScript Coordinate Translation #12, Code to Node

Hi Everyone:

Here is the twelfth DesignScript Editor (lite) Translation file entitled “CoordinateSystem.ByThreePoints” to be translated to DesignScript Studio.

CoordinateSystem.ByThreePoints.ds

CoordinateSystem.ByThreePoints.ds

As one opens the file note the opening coordinate requirements.

CoordinateSystem.ByThreePoints.ds

CoordinateSystem.ByThreePoints.ds

An origin point can also be generated by using the WCS CoordinateSystem Identity node.

CoordinateSystem Identity-get origin

CoordinateSystem Identity-get origin

Clicking on the three dots on the WCS nodes upper-right corner and scrolling (or typing) to Origin, the node can be accessed. After placing it on the canvas, use it in lieu of the prescribed Point.ByCartesianCoordinate node. Of course this isn’t necessary but it’s an alternative that was stumbled upon.

OriginCheck on the origin’s coordinate location by changing the graphic (hover your cursor over the three dots on the preview graphic) to the textual preview to verify the origin coordinates.

By passing CoordinateSystem.By Cartiesian Coordinates

By passing CoordinateSystem.By Cartiesian Coordinates

Getting on, below is the first pass at translating.

CoordinateSystem.ByThreePoints#12

CoordinateSystem.ByThreePoints#12

The file was kept intact, but the option to use the origin node remains. Next up filling out the properties.

CoordinateSystem.ByThreePoints#12a

CoordinateSystem.ByThreePoints#12a

Then the Node to Code translation.

CoordinateSystem.ByThreePoints#12b Node to Code

CoordinateSystem.ByThreePoints#12b
Node to Code

And the Window Graphic that results with the file versions.

CoordinateSystem.ByThreePoints#12- Window Graphic

CoordinateSystem.ByThreePoints#12- Window Graphic

The files can be downloaded from the links below.

CoordinateSystem.ByThreePoints#12

CoordinateSystem.ByThreePoints#12a

CoordinateSystem.ByThreePoints#12b

Thanks for looking

T!M

 

Advertisements

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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s