Category Archives: Topology

#DesignScript – Vector.ByCoordinateArrayN#1 – Code to Node to Code

Hi Everyone:

This is a first of seven DesignScript translations, from the Vector category of the DS Editor (DSE) Samples.

Vector.ByCoordinateArrayN-ds#1

Vector.ByCoordinateArrayN-ds#1

Open the file Vector.ByCoordinateArrayN.ds in the DS Editor and run it. The script is shown below.

Vector.ByCoordinateArrayN.ds#1

Vector.ByCoordinateArrayN.ds#1

Now open DS Studio, copy & paste the DSE script, Vector.ByCoordinateArrayN.ds into a blank canvas.

Vector.ByCoordinateArrayN#a1

Vector.ByCoordinateArrayN#a1

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

Vector.ByCoordinateArrayN#a1-edited

Vector.ByCoordinateArrayN#a1-edited

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

Vector.ByCoordinateArrayN#1

Vector.ByCoordinateArrayN#1

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

Vector.ByCoordinateArrayN#1a

Vector.ByCoordinateArrayN#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.

Vector.ByCoordinateArrayN#1b

Vector.ByCoordinateArrayN#1b

The “Node to Code” operation as shown above. A little editing is desired.

Vector.ByCoordinateArrayN#1b-edited

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

Vector.ByCoordinateArrayN#1a-Graphic Window

Vector.ByCoordinateArrayN#1a-Graphic Window

Liberty was taken with adding color 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.

Vector.ByCoordinateArrayN#a1

Vector.ByCoordinateArrayN#1

Vector.ByCoordinateArrayN#1a

Vector.ByCoordinateArrayN#1b

Thanks for looking.

T!M

Advertisements

#DesignScript – Topology.Vertex#1 – Code to Node to Code

Hi Everyone:

This is a one of one DesignScript Vertex translation, from the Topology category of the DS Editor (DSE) Samples.

Topology.Vertex-ds#1

Topology.Vertex-ds#1

Open the file Topology.Vertex.ds in the DS Editor and run it. The script is shown below.

Topology.Vertex.ds#1

Topology.Vertex.ds#1

Now open DS Studio, copy & paste the DSE script, Topology.Vertex.ds into a blank canvas.

Topology.Vertex#a1

Topology.Vertex#a1

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

Topology.Vertex#a1-edited

Topology.Vertex#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.

Topology.Vertex#1

Topology.Vertex#1

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

Topology.Vertex#1a

Topology.Vertex#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.

Topology.Vertex#1b

Topology.Vertex#1b

The “Node to Code” operation as shown above. A little editing is desired.

Topology.Vertex#1b-edited

Topology.Vertex#1b-edited

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

Topology.Vertex#1_Graphic Window2

Topology.Vertex#1_Graphic Window2

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.

Topology.Vertex#a1

Topology.Vertex#1

Topology.Vertex#1a

Topology.Vertex#1b

Thanks for looking.

T!M

#DesignScript – Topology.Shell#1 – Code to Node to Code

Hi Everyone:

This is a one of one DesignScript Shell translation, from the Topology category of the DS Editor (DSE) Samples.

2014_01_08-Topology.Shell-ds#1

2014_01_08-Topology.Shell-ds#1

 

Open the file Topology.Shell.ds in the DS Editor and run it. The script is shown below.

2014_01_08-Topology.Shell.ds#1

2014_01_08-Topology.Shell.ds#1

Now open DS Studio, copy & paste the DSE script, Topology.Shell.ds into a blank canvas.

2014_01_08-Topology.Shell#a1

2014_01_08-Topology.Shell#a1

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

2014_01_08-Topology.Shell#a1-edited

2014_01_08-Topology.Shell#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.

Topology.Shell#1

Topology.Shell#1

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

Topology.Shell#1a

Topology.Shell#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.

2014_12_13-Topology.Shell#1b

2014_12_13-Topology.Shell#1b

The “Node to Code” operation as shown above. A little editing is desired.

2014_12_13-Topology.Shell#1b-edited

2014_12_13-Topology.Shell#1b-edited

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

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

Topology.Shell#1a-Graphic Window

Topology.Shell#1a-Graphic Window

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

Topology.Shell#a1

Topology.Shell#1

Topology.Shell#1a

Topology.Shell#1b

Thanks for looking.

T!M

#DesignScript Topology.Mesh.ByVerticesFaceIndices#1 – Code to Node to Code

Hi Everyone:

This is a one of one DesignScript Mesh translation, from the Topology category of the DS Editor (DSE) Samples.

Geometry.Topology.Mesh.ByVerticesFaceIndices-ds#1

Geometry.Topology.Mesh.ByVerticesFaceIndices-ds#1

Open the file Topology.Mesh.ByVerticesFaceIndices.ds in the DS Editor and run it. The script is shown below.

Geometry.Topology.Mesh.ByVerticesFaceIndices.ds#1

Geometry.Topology.Mesh.ByVerticesFaceIndices.ds#1

Now open DS Studio, copy & paste the DSE script, Topology.Mesh.ByVerticesFaceIndices.ds into a blank canvas. Note the script generates an operational error on the Guaranteed properties for Mesh.  Specifically drawing the VertexNormals properties from the Mesh.ByVerticesFaceIndices  node.

Geometry.Topology.Mesh.ByVerticesFaceIndices#a1

Geometry.Topology.Mesh.ByVerticesFaceIndices#a1

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

Geometry.Topology.Mesh.ByVerticesFaceIndices#a1-edited

Geometry.Topology.Mesh.ByVerticesFaceIndices#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.Topology.Mesh.ByVerticesFaceIndices#1

Geometry.Topology.Mesh.ByVerticesFaceIndices#1

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

Geometry.Topology.Mesh.ByVerticesFaceIndices#1a

Geometry.Topology.Mesh.ByVerticesFaceIndices#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. Note the operational failure for VertexNormals.

Geometry.Topology.Mesh.ByVerticesFaceIndices#1b

Geometry.Topology.Mesh.ByVerticesFaceIndices#1b

The “Node to Code” operation as shown above. A little editing is desired.

Geometry.Topology.Mesh.ByVerticesFaceIndices#1b-edited

Geometry.Topology.Mesh.ByVerticesFaceIndices#1b-edited

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

Geometry.Topology.Mesh.ByVerticesFaceIndices#1-Graphic Window

Geometry.Topology.Mesh.ByVerticesFaceIndices#1-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.

Topology.Mesh.ByVerticesFaceIndices#a1

Topology.Mesh.ByVerticesFaceIndices#1

Topology.Mesh.ByVerticesFaceIndices#1a

Topology.Mesh.ByVerticesFaceIndices#1b

Thanks for looking.

T!M

#DesignScript Topology.Face#1 – Code to Node to Code

 

Hi Everyone:

This is a one of one DesignScript Face translation, from the Topology category of the DS Editor (DSE) Samples.

Topology.Face-ds#1

Topology.Face-ds#1

Open the file Topology.Face.ds, in the DS Editor and run it. The script is shown below.

Topology.Face.ds#1

Topology.Face.ds#1

Now open DS Studio, copy & paste the DSE script, Topology.Face.ds,, into a blank canvas. Note the script generates an operational error on the Non-Guaranteed properties for Face. Specifically the Thicken command for ConvertFaceToSurface.

Topology.Face#a1

Topology.Face#a1

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

Topology.Face#a1-edited

Topology.Face#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.

Topology.Face#1

Topology.Face#1

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

Topology.Face#1a

Topology.Face#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.

Topology.Face#1b

Topology.Face#1b

The “Node to Code” operation as shown above. A little editing is desired.

Topology.Face#1b_edited

Topology.Face#1b_edited

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

Topology.Face#1a-Graphic Window

Topology.Face#1a-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.

Topology.Face#a1

Topology.Face#1

Topology.Face#1a

Topology.Face#1b

Thanks for looking.

T!M

#DesignScript Topology.Edge#1 – Code to Node to Code

Hi Everyone:

This is a one of one DesignScript Edge translation, from the Topology category of the DS Editor (DSE) Samples.

Topology.Edge-ds#1

Topology.Edge-ds#1

Open the file Topology.Edge.ds, in the DS Editor and run it. The script is shown below.

Topology.Edge.ds#1

Topology.Edge.ds#1

Now open DS Studio, copy & paste the DSE script, Topology.Edge.ds,, into a blank canvas.

Topology.Edge#a1

Topology.Edge#a1

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

Topology.Edge#a1-edited

Topology.Edge#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.

Topology.Edge#1

Topology.Edge#1

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

Topology.Edge#1a

Topology.Edge#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.

Topology.Edge#1b

Topology.Edge#1b

The “Node to Code” operation as shown above. A little editing is desired.

Topology.Edge#1b-edited

Topology.Edge#1b-edited

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

Topology.Edge#1a-Graphic Window

Topology.Edge#1a-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.

Topology.Edge#a1

Topology.Edge#1

Topology.Edge#1a

Topology.Edge#1b

Thanks for looking.

T!M

#DesignScript -Topology.Cells#1 – Code to Node to Code

Hi Everyone:

This is a one of one DesignScript Cell translation, from the Topology category of the DS Editor (DSE) Samples.

Cell.Topology.Cells-ds#1

Cell.Topology.Cells-ds#1

Open the file Topology.Cells.ds, in the DS Editor and run it. The script is shown below.

Cell.Topology.Cells.ds#1

Cell.Topology.Cells.ds#1

Now open DS Studio, copy & paste the DSE script, Topology.Cells.ds,, into a blank canvas.

Cell.Topology.Cells#a1

Cell.Topology.Cells#a1

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

Cell.Topology.Cells#a1-edited

Cell.Topology.Cells#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.

Cell.Topology.Cells#1

Cell.Topology.Cells#1

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

Cell.Topology.Cells#1a

Cell.Topology.Cells#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.

Cell.Topology.Cells#1b

Cell.Topology.Cells#1b

The “Node to Code” operation as shown above. A little editing is desired.

Cell.Topology.Cells#1b-edited

Cell.Topology.Cells#1b-edited

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

Cell.Topology.Cells#1a-Graphic Window

Cell.Topology.Cells#1a-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.

Topology.Cells#a1

Topology.Cells#1

Topology.Cells#1a

Topology.Cells#1b

Thanks for looking.

T!M