DesignScript Curve Translation #1, Arc – Code to Node

Hi Everyone:

From Coordinate Systems we are now moving on to the next Class of DesignScript Geometry. One might want to review  DesignScriptMethods, which is located on the DS program, C:\ProgramData\Autodesk\ApplicationPlugins\DesignScript.bundle\Contents\Help\DesignScriptMethods.htm to get a understanding of the structural naming conventions of the program. For these samples, Curve, contains the sub classes of Arc, Line, BSplineCurve and Circle, all one dimensional constructs. The first one in this series is entitled Geometry.Curve.Arc.ByCenterPointRadiusAngle.ds.

Geometry.Curve.Arc.ByCenterPointRadiusAngle.ds

Geometry.Curve.Arc.ByCenterPointRadiusAngle.ds

Open the DSE, copy and paste the sample file into the DSS blank canvas and do the first translation.

Geometry.Curve.Arc.ByCenterPointRadiusAngle

Geometry.Curve.Arc.ByCenterPointRadiusAngle

Then generate the other properties that follow in the script.

Geometry.Curve.Arc.ByCenterPointRadiusAngle

Geometry.Curve.Arc.ByCenterPointRadiusAngle

And complete the translation with the “Node to Code” operation.

Geometry.Curve.Arc.ByCenterPointRadiusAngle

Geometry.Curve.Arc.ByCenterPointRadiusAngle

Seems like all nodes were identified adequately. The resulting Window’s Graphic is posted below.

Geometry.Curve.Arc.ByCenterPointRadiusAngle_Window_graphic

Geometry.Curve.Arc.ByCenterPointRadiusAngle_Window_graphic

The files are available for downloading below.

Geometry.Curve.Arc.ByCenterPointRadiusAngle#1

Geometry.Curve.Arc.ByCenterPointRadiusAngle#1a

Geometry.Curve.Arc.ByCenterPointRadiusAngle#1b

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