Category Archives: SweptSurface

#DesignScript – Geometry.Surface.CoordinateSystemAtParameters#2- Code to Node to Code

Hi Everyone:

This is the second of twenty-eight DesignScript Surface translations, from the Surface category of the DS Editor (DSE) Samples.

Geometry.Surface.CoordinateSystemAtParameters-ds#2

Geometry.Surface.CoordinateSystemAtParameters-ds#2

Open the file Geometry.Surface.CoordinateSystemAtParameters.ds, in the DS Editor and run it. The script is shown below.

Geometry.Surface.CoordinateSystemAtParameters.ds#2

Geometry.Surface.CoordinateSystemAtParameters.ds#2

Now open DS Studio, copy & paste the DSE script,  Geometry.Surface.CoordinateSystemAtParameters.ds, into a blank canvas.

Geometry.Surface.CoordinateSystemAtParameters#a2

Geometry.Surface.CoordinateSystemAtParameters#a2

Note the highlighted commenting out which must be deleted in order to activate the code.

Geometry.Surface.CoordinateSystemAtParameters#a2-edited

Geometry.Surface.CoordinateSystemAtParameters#a2-edited

Now comment out the “(import(ProGeometry.dll)” script as highlighted above.  It can now be run as a Code Block of script, before the translation to Nodes takes place.

Geometry.Surface.SweptSurface.ByProfilePath#1

Geometry.Surface.SweptSurface.ByProfilePath#1

The preliminary translation is shown above, while the developed translation is shown below.

Geometry.Surface.CoordinateSystemAtParameters#2

Geometry.Surface.CoordinateSystemAtParameters#2

The red and yellow highlighted areas match the description and properties layout that is given to the script in the initial DS Editor *.ds file.

Geometry.Surface.CoordinateSystemAtParameters#2a

Geometry.Surface.CoordinateSystemAtParameters#2a

The “Node to Code” operation as shown above.

The geometry that results from the various code translations is shown below.

Geometry.Surface.CoordinateSystemAtParameters#2a-Graphic Window

Geometry.Surface.CoordinateSystemAtParameters#2a-Graphic Window

Liberty was taken with making the color have some transparency as shown above in the graphic window.

DSS was run as a stand-alone application and the translation files are available to download from the DropBox links below.

2014_09_25-Geometry.Surface.CoordinateSystemAt Parameter#a2

2014_09_25-Geometry.Surface.CoordinateSystemAt Parameter#2

2014_09_25-Geometry.Surface.CoordinateSystemAt Parameter#2a

2014_09_25-Geometry.Surface.CoordinateSystemAt Parameter#2b

Thanks for looking.

T!M

Advertisements

#DesignScript – Geometry.Surface.SweeptSurface.ByProfilePath#1- Code to Node to Code

Hi Everyone:

This is the first of twenty-eight DesignScript Surface translations, from the Surface category of the DS Editor (DSE) Samples.

Geometry.Surface.SweptSurface.ByProfilePath-ds#1

Geometry.Surface.SweptSurface.ByProfilePath-ds#1

Open the file Geometry.Surface.SweeptSurface.ByProfilePath.ds, in the DS Editor and run it. The script is shown below.

Geometry.Surface.SweptSurface.ByProfilePath.ds#1

Geometry.Surface.SweptSurface.ByProfilePath.ds#1

Now open DS Studio, copy & paste the DSE script,  Geometry.Surface.SweeptSurface.ByProfilePath.ds, into a blank canvas.

Geometry.Surface.SweptSurface.ByProfilePath#a1

Geometry.Surface.SweptSurface.ByProfilePath#a1

Note the highlighted commenting out which must be deleted in order to activate the code.

Geometry.Surface.SweptSurface.ByProfilePath#a1-edited

Geometry.Surface.SweptSurface.ByProfilePath#a1-edited

Now comment out the “(import(ProGeometry.dll)” script as highlighted above.  It can now be run as a Code Block of script, before the translation to Nodes takes place.

Geometry.Surface.SweptSurface.ByProfilePath#1

Geometry.Surface.SweptSurface.ByProfilePath#1

The preliminary translation is shown above, while the developed translation is shown below.

Geometry.Surface.SweptSurface.ByProfilePath#1a

Geometry.Surface.SweptSurface.ByProfilePath#1a

The red and yellow highlighted areas match the description and properties layout that is given to the script in the initial DS Editor *.ds file.

Geometry.Surface.SweptSurface.ByProfilePath#1b

Geometry.Surface.SweptSurface.ByProfilePath#1b

The “Node to Code” operation as shown above.

The geometry that results from the various code translations is shown below.

Geometry.Surface.SweptSurface.ByProfilePath#1-Windows Graphic

Geometry.Surface.SweptSurface.ByProfilePath#1-Windows Graphic

Liberty was taken with making the color have some transparency as shown above in the graphic window.

DSS was run as a stand-alone application and the translation files are available to download from the DropBox links below.

Geometry.Surface.SweeptSurface.ByProfilePath#a1

Geometry.Surface.SweeptSurface.ByProfilePath#1

Geometry.Surface.SweeptSurface.ByProfilePath#1a

Geometry.Surface.SweeptSurface.ByProfilePath#1b

Thanks for looking.

T!M