Monthly Archives: August 2014

#DesignScript Curve Translation,Geometry.Solid.Trim.ArrayOfPlanes#22- Code to Node to Code

Hi Everyone:

This is the twenty-second in a series of thirty-two DS file translations. The file Geometry.Solid.Trim.ArrayOfPlanes.ds is the first of six trim files located in the DesignScript Editor (DSE) Sample files.

Geometry.Solid.Trim.ArrayOfPlanes-ds#22

Geometry.Solid.Trim.ArrayOfPlanes-ds#22

Open the file  Geometry.Solid.Trim.ArrayOfPlanes.ds in the DS Editor and run it, The  script is shown below.

Geometry.Solid.Trim.ArrayOfPlanes.ds#22

Geometry.Solid.Trim.ArrayOfPlanes.ds#22

Now open DS Studio, and paste the DSE script,  Geometry.Solid.Trim.ArrayOfPlanes.ds, into a blank canvas.

Geometry.Solid.Trim.ArrayOfPlanes#a22

Geometry.Solid.Trim.ArrayOfPlanes#a22

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

Geometry.Solid.Trim.ArrayOfPlanes#a22-edited

Geometry.Solid.Trim.ArrayOfPlanes#a22-edited

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

2014_08_15-Geometry.Solid.Trim.ArrayOfPlanes#22

2014_08_15-Geometry.Solid.Trim.ArrayOfPlanes#22

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

Geometry.Solid.Trim.ArrayOfPlanes#22a-

Geometry.Solid.Trim.ArrayOfPlanes#22a-

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.Solid.Trim.ArrayOfPlanes#22b

Geometry.Solid.Trim.ArrayOfPlanes#22b

Continuing with the “Node to Code” operation as shown above, all seems in order and editing is not required. The geometry that results from the various code translations is shown below.

Geometry.Solid.Trim.ArrayOfPlanes#22a-Windows Graphic

Geometry.Solid.Trim.ArrayOfPlanes#22a-Windows Graphic

Liberty was taken with adding additional colors and to give them transparency as shown above in the graphic window. DSS was run as a stand-alone application and the files are available to download from the DropBox links below.

Geometry.Solid.Trim.ArrayOfPlanes#a22

Geometry.Solid.Trim.ArrayOfPlanes#22

Geometry.Solid.Trim.ArrayOfPlanes#22a

Geometry.Solid.Trim.ArrayOfPlanes#22b

Thanks for looking.

T!M

#DesignScript Curve Translation,Geometry.Solid.Sweep#21- Code to Node to Code

Hi Everyone:

This is the twenty-first in a series of thirty-two DS file translations. The file Geometry.Solid.Sweep.ds is located in the DesignScript Editor (DSE) Sample files.

Geometry.Solid.Sweep-ds#21

Geometry.Solid.Sweep-ds#21

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

Geometry.Solid.Sweep.ds#21

Geometry.Solid.Sweep.ds#21

Other than the typo on the word “based”, all is in order. Now open DS Studio, and paste the DSE script, Geometry.Solid.Sweep.ds, into a blank canvas.

Geometry.Solid.Sweep#a21

Geometry.Solid.Sweep#a21

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

Geometry.Solid.Sweep#a21-edited

Geometry.Solid.Sweep#a21-edited

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

Geometry.Solid.Sweep#21

Geometry.Solid.Sweep#21

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

Geometry.Solid.Sweep#21a

Geometry.Solid.Sweep#21a

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.Solid.Sweep#21b

Geometry.Solid.Sweep#21b

Continuing with the “Node to Code” operation above, note the highlighted unused PointBYCoordinate node which was substituted over by the WCS derived origin node.

The geometry that results from the code(s) is shown below.

Geometry.Solid.Sweep#21-Windows Graphic

Geometry.Solid.Sweep#21-Windows Graphic

Liberty was taken with adding additional colors and to give them transparency as shown above in the graphic window. DSS was run as a stand-alone application and the files are available to download from the DropBox links below.

Geometry.Solid.Sweep#a21

Geometry.Solid.Sweep#21

Geometry.Solid.Sweep#21a

Geometry.Solid.Sweep#21b

Thanks for looking.

T!M

#DesignScript Curve Translation,Geometry.Solid.Slice.UsingPlanes.NonManifoldSolid#20- Code to Node to Code

Hi Everyone:

This is the twentieth in a series of thirty-two DS file translations and the last one in a series of six Solid-Slice file types. The file Geometry.Solid.Slice.UsingPlanes.NonManifoldSolid.ds is located in the DesignScript Editor (DSE) Sample files.

Geometry.Solid.Slice.UsingPlanes.NonManifoldSolid-ds#20

Geometry.Solid.Slice.UsingPlanes.NonManifoldSolid-ds#20

Open the file Geometry.Solid.Slice.UsingPlanes.NonManifoldSolid.ds in the DS Editor and run it, The  script is shown below.

Geometry.Solid.Slice.UsingPlanes.NonManifoldSolid.ds#20

Geometry.Solid.Slice.UsingPlanes.NonManifoldSolid.ds#20

Now open DS Studio, and paste the DSE script, Geometry.Solid.Slice.UsingPlanes.NonManifoldSolid.ds, into a blank canvas.

Geometry.Solid.Slice.UsingPlanes.NonManifoldSolid#a20

Geometry.Solid.Slice.UsingPlanes.NonManifoldSolid#a20

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

Geometry.Solid.Slice.UsingPlanes.NonManifoldSolid#a20-edited

Geometry.Solid.Slice.UsingPlanes.NonManifoldSolid#a20-edited

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

Geometry.Solid.Slice.UsingPlanes.NonManifoldSolid#20

Geometry.Solid.Slice.UsingPlanes.NonManifoldSolid#20

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

Geometry.Solid.Slice.UsingPlanes.NonManifoldSolid#20a

Geometry.Solid.Slice.UsingPlanes.NonManifoldSolid#20a

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.Solid.Slice.UsingPlanes.NonManifoldSolid#20b

Geometry.Solid.Slice.UsingPlanes.NonManifoldSolid#20b

Continuing with the “Node to Code” operation above, a little editing is required.

Geometry.Solid.Slice.UsingPlanes.NonManifoldSolid#20b-edited

Geometry.Solid.Slice.UsingPlanes.NonManifoldSolid#20b-edited

The geometry that results from the code(s) is shown below.

Geometry.Solid.Slice.UsingPlanes.NonManifoldSolid#20-windows Graphic

Geometry.Solid.Slice.UsingPlanes.NonManifoldSolid#20-windows Graphic

Liberty was taken with adding additional colors and to give them transparency as shown above in the graphic window. DSS was run as a stand-alone application and the files are available to download from the DropBox links below.

Geometry.Solid.Slice.UsingPlanes.NonManifoldSolid#a20

Geometry.Solid.Slice.UsingPlanes.NonManifoldSolid#20

Geometry.Solid.Slice.UsingPlanes.NonManifoldSolid#20a

Geometry.Solid.Slice.UsingPlanes.NonManifoldSolid#20b

Thanks for looking.

T!M

#DesignScript Curve Translation,Geometry.Solid.Slice.UsingPlane.NonManifoldSolid#19- Code to Node to Code

Hi Everyone:

This is the nineteenth in a series of thirty-two DS file translations and the fifth in a series of six Solid-Slice file types. The file Geometry.Solid.Slice.UsingPlane.NonManifoldSolid.ds is located in the DesignScript Editor (DSE) Sample files.

Geometry.Solid.Slice.UsingPlane.NonManifoldSolid-ds#19

Geometry.Solid.Slice.UsingPlane.NonManifoldSolid-ds#19

Open the file Geometry.Solid.Slice.UsingPlane.NonManifoldSolid.ds in the DS Editor and run it, The  script is shown below.

Geometry.Solid.Slice.UsingPlane.NonManifoldSolid.ds#19

Geometry.Solid.Slice.UsingPlane.NonManifoldSolid.ds#19

Now open DS Studio, and paste the DSE script,  Geometry.Solid.Slice.UsingPlane.NonManifoldSolid.ds, into a blank canvas.

Geometry.Solid.Slice.UsingPlane.NonManifoldSolid#a19

Geometry.Solid.Slice.UsingPlane.NonManifoldSolid#a19

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

Geometry.Solid.Slice.UsingPlane.NonManifoldSolid#a19-edited

Geometry.Solid.Slice.UsingPlane.NonManifoldSolid#a19-edited

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

Geometry.Solid.Slice.UsingPlane.NonManifoldSolid#19

Geometry.Solid.Slice.UsingPlane.NonManifoldSolid#19

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

Geometry.Solid.Slice.UsingPlane.NonManifoldSolid#19a

Geometry.Solid.Slice.UsingPlane.NonManifoldSolid#19a

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.Solid.Slice.UsingPlane.NonManifoldSolid#19b

Geometry.Solid.Slice.UsingPlane.NonManifoldSolid#19b

Continuing with the “Node to Code” operation above, a little editing is required.

Geometry.Solid.Slice.UsingPlane.NonManifoldSolid#19b-edited

Geometry.Solid.Slice.UsingPlane.NonManifoldSolid#19b-edited

The geometry that results from the code(s) is shown below.

Geometry.Solid.Slice.UsingPlane.NonManifoldSolid#19-Graphic Window

Geometry.Solid.Slice.UsingPlane.NonManifoldSolid#19-Graphic Window

Liberty was taken with adding additional colors and to give them transparency as shown above in the graphic window. DSS was run as a stand-alone application and the files are available to download from the DropBox links below.

Geometry.Solid.Slice.UsingPlane.NonManifoldSolid#a19

Geometry.Solid.Slice.UsingPlane.NonManifoldSolid#19

Geometry.Solid.Slice.UsingPlane.NonManifoldSolid#19a

Geometry.Solid.Slice.UsingPlane.NonManifoldSolid#19b

Thanks for looking.

T!M

#DesignScript Curve Translation,Geometry.Solid.Slice.UsingPlane#18- Code to Node to Code

Hi Everyone:

This is the eighteenth in a series of thirty-two DS file translations and the fourth in a series of six Solid-Slice file types. The file Geometry.Solid.Slice.UsingPlane .ds is located in the DesignScript Editor (DSE) Sample files.

Geometry.Solid.Slice.UsingPlane-ds#18

Geometry.Solid.Slice.UsingPlane-ds#18

Open the file Geometry.Solid.Slice.UsingPlane .ds in the DS Editor and run it, The  script is shown below.

Geometry.Solid.Slice.UsingPlane.ds#18

Geometry.Solid.Slice.UsingPlane.ds#18

Now open DS Studio, and paste the DSE script, Geometry.Solid.Slice.UsingPlane .ds, into a blank canvas.

Geometry.Solid.Slice.UsingPlane#a18

Geometry.Solid.Slice.UsingPlane#a18

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

Geometry.Solid.Slice.UsingPlane#a18-edited

Geometry.Solid.Slice.UsingPlane#a18-edited

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

Geometry.Solid.Slice.UsingPlane#18

Geometry.Solid.Slice.UsingPlane#18

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

Geometry.Solid.Slice.UsingPlane#18a

Geometry.Solid.Slice.UsingPlane#18a

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.Solid.Slice.UsingPlane#18b

Geometry.Solid.Slice.UsingPlane#18b

Continuing with the “Node to Code” operation above, The geometry that results from the code(s) is shown below.

Geometry.Solid.Slice.UsingPlane-Graphic Window

Geometry.Solid.Slice.UsingPlane-Graphic Window

Liberty was taken with adding additional colors and to give them transparency as shown above in the graphic window. DSS was run as a stand-alone application and the files are available to download from the DropBox links below.

Geometry.Solid.Slice.UsingPlane#a18

Geometry.Solid.Slice.UsingPlane#18

Geometry.Solid.Slice.UsingPlane#18a

Geometry.Solid.Slice.UsingPlane#18b

Thanks for looking.

T!M

#DesignScript Curve Translation,Geometry.Solid.Slice.SingleSurface#17- Code to Node to Code

Hi Everyone:

This is the seventeenth in a series of thirty-two DS file translations and the third in a series of six Solid-Slice file types. The file Geometry.Solid.Slice.SingleSurface.ds is located in the DesignScript Editor (DSE) Sample files.

Geometry.Solid.Slice.SingleSurface-ds#17

Geometry.Solid.Slice.SingleSurface-ds#17

Open the file   Geometry.Solid.Slice.SingleSurface.ds in the DS Editor and run it, The  script is shown below.

Geometry.Solid.Slice.SingleSurface.ds#17

Geometry.Solid.Slice.SingleSurface.ds#17

Now open DS Studio, and paste the DSE script, Geometry.Solid.Slice.SingleSurface.ds, into a blank canvas.

Geometry.Solid.Slice.SingleSurface#a17

Geometry.Solid.Slice.SingleSurface#a17

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

Geometry.Solid.Slice.SingleSurface#a17-Edited

Geometry.Solid.Slice.SingleSurface#a17-Edited

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

Geometry.Solid.Slice.SingleSurface#17

Geometry.Solid.Slice.SingleSurface#17

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

Geometry.Solid.Slice.SingleSurface#17a

Geometry.Solid.Slice.SingleSurface#17a

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.Solid.Slice.SingleSurface#17b

Geometry.Solid.Slice.SingleSurface#17b

Continuing with the “Node to Code” operation above, a little editing is desired.

Geometry.Solid.Slice.SingleSurface#17b-edited

Geometry.Solid.Slice.SingleSurface#17b-edited

The geometry that results from the code(s) is shown below.

Geometry.Solid.Slice.SingleSurface-Windows Graphic

Geometry.Solid.Slice.SingleSurface-Windows Graphic

Liberty was taken with adding additional colors and to give them transparency as shown above in the graphic window. DSS was run as a stand-alone application and the files are available to download from the DropBox links below.

Geometry.Solid.Slice.SingleSurface#a17

Geometry.Solid.Slice.SingleSurface#17

Geometry.Solid.Slice.SingleSurface#17a

Geometry.Solid.Slice.SingleSurface#17b

Thanks for looking.

T!M

#DesignScript Curve Translation,Geometry.Solid.Slice.NonManifold#16- Code to Node to Code

Hi Everyone:

This is the sixteenth in a series of thirty-two DS file translations and the second in a series of six Solid-Slice file types. The file Geometry.Solid.Slice.NonManifold.ds is located in the DesignScript Editor (DSE) Sample files.

Geometry.Solid.Slice.NonManifold-ds#16

Geometry.Solid.Slice.NonManifold-ds#16

Open the file  Geometry.Solid.Slice.NonManifold.ds in the DS Editor and run it, The  script is shown below.

Geometry.Solid.Slice.NonManifold.ds#16

Geometry.Solid.Slice.NonManifold.ds#16

Now open DS Studio, and paste the DSE script, Geometry.Solid.Slice.NonManifold.ds, into a blank canvas.

Geometry.Solid.Slice.NonManifold#a16

Geometry.Solid.Slice.NonManifold#a16

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

Geometry.Solid.Slice.NonManifold#a16-edited

Geometry.Solid.Slice.NonManifold#a16-edited

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

Geometry.Solid.Slice.NonManifold#16

Geometry.Solid.Slice.NonManifold#16

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

Geometry.Solid.Slice.NonManifold#16a

Geometry.Solid.Slice.NonManifold#16a

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.Solid.Slice.NonManifold#16b

Geometry.Solid.Slice.NonManifold#16b

Continuing with the “Node to Code” operation above, a little editing is desired.

Geometry.Solid.Slice.NonManifold#16b-edited

Geometry.Solid.Slice.NonManifold#16b-edited

The geometry that results from the code(s) is shown below.

Geometry.Solid.Slice.NonManifold#16-Windows Graphic3

Geometry.Solid.Slice.NonManifold#16-Windows Graphic3

Liberty was taken with adding additional colors and to give them transparency as shown above in the graphic window. DSS was run as a stand-alone application and the files are available to download from the DropBox links below.

Geometry.Solid.Slice.NonManifold#a16

Geometry.Solid.Slice.NonManifold#16

Geometry.Solid.Slice.NonManifold#16a

Geometry.Solid.Slice.NonManifold#16b

Thanks for looking.

T!M