DesignScript Curve Translation, Circle.ByCenterPointRadius#1– Code to Node to Code

 

Hi Everyone:

This is the first Circle file,”Curve.Circle.ByCenterPointRadius“,  in a series of four curve-circle  type translations.

The DSE (DesignScript Editor) opening window shows sample files. Click on the link to the file ”Geometry.Curve.Circle.ByCenterPointRadius.ds.” Open it and copy the resulting code to the windows clipboard, then open DSS (DesignScript Studio) to a blank canvas and paste from the windows clipboard the subject code into the canvas.

Geometry.Curve.Circle.ByCenterPointRadius.ds#1-Graphic

Geometry.Curve.Circle.ByCenterPointRadius.ds#1-Graphic

After doing the essential translation the file should look something like the node graph as shown below.

Geometry.Curve.Circle.ByCenterPointRadius#1-Graphic

Geometry.Curve.Circle.ByCenterPointRadius#1-Graphic

Continuing on,  translate the guaranteed properties for this curve. Then the guaranteed properties for a circle.

Geometry.Curve.Circle.ByCenterPointRadius#1a-Graphic

Geometry.Curve.Circle.ByCenterPointRadius#1a-Graphic

Then the guaranteed and nonguaranteed properties for this Geometry.

After complete the graph nodes in the canvas are encompassed by a windows pick box and the “Code to Node” operation is used. The resulting canvas translation will look something like below.

Geometry.Curve.Circle.ByCenterPointRadius#1b-Graphic

Geometry.Curve.Circle.ByCenterPointRadius#1b-Graphic

Should one choose, maybe a little more definition is needed with a “Variable”.

Geometry.Curve.Circle.ByCenterPointRadius#1b-Graphic

Geometry.Curve.Circle.ByCenterPointRadius#1b-Graphic

Geometry.Curve.Circle.ByCenterPointRadius#1b-Graphic

Geometry.Curve.Circle.ByCenterPointRadius#1b-Graphic

After editing and satisfied with the results one could run the code back in the DSE.

The resulting graphic from the various versions is shown below.

Geometry.Curve.Circle.ByCenterPointRadius#1-Windows Graphic

Geometry.Curve.Circle.ByCenterPointRadius#1-Windows Graphic

The files can be downloaded from the links below.

Geometry.Curve.Circle.ByCenterPointRadius#1

Geometry.Curve.Circle.ByCenterPointRadius#1a

Geometry.Curve.Circle.ByCenterPointRadius#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 )

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