Category Archives: Surface

#DesignScript – Geometry.Surface.Trim.ArrayOfPlanes#22 – Code to Node to Code

Hi Everyone:

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

Geometry.Surface.Trim.ArrayOfPlanes-ds#22

Geometry.Surface.Trim.ArrayOfPlanes-ds#22

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

Geometry.Surface.Trim.ArrayOfPlanes.ds#22

Geometry.Surface.Trim.ArrayOfPlanes.ds#22

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

Geometry.Surface.Trim.ArrayOfPlanes#a22

Geometry.Surface.Trim.ArrayOfPlanes#a22

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

Geometry.Surface.Trim.ArrayOfPlanes#a22-edited

Geometry.Surface.Trim.ArrayOfPlanes#a22-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.Trim.ArrayOfPlanes#22

Geometry.Surface.Trim.ArrayOfPlanes#22

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

Geometry.Surface.Trim.ArrayOfPlanes#22a

Geometry.Surface.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.Surface.Trim.ArrayOfPlanes#a22

Geometry.Surface.Trim.ArrayOfPlanes#a22

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

Geometry.Surface.Trim.ArrayOfPlanes#22b-edited

Geometry.Surface.Trim.ArrayOfPlanes#22b-edited

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

Geometry.Surface.Trim.ArrayOfPlanes#22a-Graphic Window

Geometry.Surface.Trim.ArrayOfPlanes#22a-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.

Geometry.Surface.Trim.ArrayOfPlanes#a22

Geometry.Surface.Trim.ArrayOfPlanes#22

Geometry.Surface.Trim.ArrayOfPlanes#22a

Geometry.Surface.Trim.ArrayOfPlanes#22b

Thanks for looking.

T!M

#DesignScript -Geometry.Surface.Trim.ArrayOfCurves#21 – Code to Node to Code

Hi Everyone:

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

Geometry.Surface.Trim.ArrayOfCurves-ds#21

Geometry.Surface.Trim.ArrayOfCurves-ds#21

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

Geometry.Surface.Trim.ArrayOfCurves.ds#21

Geometry.Surface.Trim.ArrayOfCurves.ds#21

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

Geometry.Surface.Trim.ArrayOfCurves#a21

Geometry.Surface.Trim.ArrayOfCurves#a21

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

Geometry.Surface.Trim.ArrayOfCurves#a21-edited

Geometry.Surface.Trim.ArrayOfCurves#a21-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.Trim.ArrayOfCurves#21

Geometry.Surface.Trim.ArrayOfCurves#21

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

Geometry.Surface.Trim.ArrayOfCurves#21a

Geometry.Surface.Trim.ArrayOfCurves#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.Surface.Trim.ArrayOfCurves#21b

Geometry.Surface.Trim.ArrayOfCurves#21b

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

Geometry.Surface.Trim.ArrayOfCurves#21b-edited

Geometry.Surface.Trim.ArrayOfCurves#21b-edited

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

Geometry.Surface.Trim.ArrayOfCurves#21-Graphic Window

Geometry.Surface.Trim.ArrayOfCurves#21-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.

Geometry.Surface.Trim.ArrayOfCurves#a21

Geometry.Surface.Trim.ArrayOfCurves#21

Geometry.Surface.Trim.ArrayOfCurves#21a

Geometry.Surface.Trim.ArrayOfCurves#21b

Thanks for looking.

T!M

#DesignScript -Geometry.Surface.Thicken#20 – Code to Node to Code

Hi Everyone:

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

Geometry.Surface.Thicken-ds#20

Geometry.Surface.Thicken-ds#20

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

Geometry.Surface.Thicken.ds#20

Geometry.Surface.Thicken.ds#20

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

Geometry.Surface.Thicken#a20

Geometry.Surface.Thicken#a20

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

Geometry.Surface.Thicken#a20-edited

Geometry.Surface.Thicken#a20-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.Thicken#20

Geometry.Surface.Thicken#20

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

Geometry.Surface.Thicken#20a

Geometry.Surface.Thicken#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.Surface.Thicken#20b

Geometry.Surface.Thicken#20b

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

Geometry.Surface.Thicken#20b-edited

Geometry.Surface.Thicken#20b-edited

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

Geometry.Surface.Thicken#20a-Graphic Window

Geometry.Surface.Thicken#20a-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.

Geometry.Surface.Thicken#a20

Geometry.Surface.Thicken#20

Geometry.Surface.Thicken#a20

Geometry.Surface.Thicken#20b

Thanks for looking.

T!M

#DesignScript -Geometry.Surface.Sweep.UsingProfilePath#19 – Code to Node to Code

Hi Everyone:

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

Geometry.Surface.Sweep.UsingProfilePath-ds#19

Geometry.Surface.Sweep.UsingProfilePath-ds#19

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

Geometry.Surface.Sweep.UsingProfilePath.ds#19

Geometry.Surface.Sweep.UsingProfilePath.ds#19

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

Geometry.Surface.Sweep.UsingProfilePath#a19

Geometry.Surface.Sweep.UsingProfilePath#a19

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

Geometry.Surface.Sweep.UsingProfilePath#a19-edited

Geometry.Surface.Sweep.UsingProfilePath#a19-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.Sweep.UsingProfilePath#19

Geometry.Surface.Sweep.UsingProfilePath#19

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

Geometry.Surface.Sweep.UsingProfilePath#19a

Geometry.Surface.Sweep.UsingProfilePath#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.Surface.Sweep.UsingProfilePath#19b

Geometry.Surface.Sweep.UsingProfilePath#19b

The “Node to Code” operation as shown above. The geometry that results from the various code translations is shown below.

Geometry.Surface.Sweep.UsingProfilePath#19-Graphic Window

Geometry.Surface.Sweep.UsingProfilePath#19-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.

Geometry.Surface.Sweep.UsingProfilePath#a19

Geometry.Surface.Sweep.UsingProfilePath#19

Geometry.Surface.Sweep.UsingProfilePath#19a

Geometry.Surface.Sweep.UsingProfilePath#19b

Thanks for looking.

T!M

#DesignScript -Geometry.Surface.Split.UsingSurface#18- Code to Node to Code

Hi Everyone:

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

Geometry.Surface.Split.UsingSurface-ds#18

Geometry.Surface.Split.UsingSurface-ds#18

Open the file Geometry.Surface.Split.UsingSurface.ds, in the DS Editor and run it. The script is shown below. This file draws errors as highlighted below. Similar to the previous post on Split Surfaces, a workaround for the translation will be used.

Geometry.Surface.Split.UsingSurface.ds#18

Geometry.Surface.Split.UsingSurface.ds#18

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

Geometry.Surface.Split.UsingSurface#a18

Geometry.Surface.Split.UsingSurface#a18

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

Geometry.Surface.Split.UsingPlane#17b-edited

Geometry.Surface.Split.UsingPlane#17b-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.

Geometry.Surface.Split.UsingSurface#18

Geometry.Surface.Split.UsingSurface#18

The preliminary translation is shown above. Note the error is reporting “Surface.Split operation failed“. The developed translation is shown below.

Geometry.Surface.Split.UsingSurface#18a

Geometry.Surface.Split.UsingSurface#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. The work-around to the “Surface.Split” operate was changed to the Trim command the script to return values.

Geometry.Surface.Split.UsingSurface#18b

Geometry.Surface.Split.UsingSurface#18b

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

Geometry.Surface.Split.UsingSurface#18b-edited

Geometry.Surface.Split.UsingSurface#18b-edited

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

Geometry.Surface.Split.UsingSurface#18a-Graphic Window

Geometry.Surface.Split.UsingSurface#18a-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.

Geometry.Surface.Split.UsingSurface#a18

Geometry.Surface.Split.UsingSurface#18

Geometry.Surface.Split.UsingSurface#18a

Geometry.Surface.Split.UsingSurface#18b

Thanks for looking.

T!M

#DesignScript -Geometry.Surface.Split.UsingPlane#17 – Code to Node to Code

Hi Everyone:

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

Geometry.Surface.Split.UsingPlane-ds#17

Geometry.Surface.Split.UsingPlane-ds#17

Open the file Geometry.Surface.Split.UsingPlane.ds, in the DS Editor and run it. The script is shown below. This file draws errors as highlighted below. We will develop some workaround for the translation.

Geometry.Surface.Split.UsingPlane.ds#17

Geometry.Surface.Split.UsingPlane.ds#17

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

Geometry.Surface.Split.UsingPlane#a17

Geometry.Surface.Split.UsingPlane#a17

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

Geometry.Surface.Split.UsingPlane#a17-edited

Geometry.Surface.Split.UsingPlane#a17-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. Note the error is reporting “Surface.Split operation failed“.

Geometry.Surface.Split.UsingPlane#17

Geometry.Surface.Split.UsingPlane#17

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

Geometry.Surface.Split.UsingPlane#17a

Geometry.Surface.Split.UsingPlane#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. The work-around to the “Surface.Split” operate was changed to the Trim command the script to return values.

Geometry.Surface.Split.UsingPlane#17b

Geometry.Surface.Split.UsingPlane#17b

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

Geometry.Surface.Split.UsingPlane#17b-edited

Geometry.Surface.Split.UsingPlane#17b-edited

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

Geometry.Surface.Split.UsingPlane#17a-Graphic Window-2

Geometry.Surface.Split.UsingPlane#17a-Graphic Window-2

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.Split.UsingPlane#a17

Geometry.Surface.Split.UsingPlane#17

Geometry.Surface.Split.UsingPlane#17a

Geometry.Surface.Split.UsingPlane#17b

Thanks for looking.

T!M

#DesignScript -Geometry.Surface.SelectTrim.SingleSolid#16 – Code to Node to Code

Hi Everyone:

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

Geometry.Surface.SelectTrim.SingleSolid-ds#16

Geometry.Surface.SelectTrim.SingleSolid-ds#16

Open the file Geometry.Surface.SelectTrim.SingleSolid.ds, in the DS Editor and run it. The script is shown below. This file draws errors as highlighted below. We will develop some workaround for the translation.

Geometry.Surface.SelectTrim.SingleSolid.ds#16

Geometry.Surface.SelectTrim.SingleSolid.ds#16

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

Geometry.Surface.SelectTrim.SingleSolid#a16

Geometry.Surface.SelectTrim.SingleSolid#a16

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

Geometry.Surface.SelectTrim.SingleSolid#a16-edited

Geometry.Surface.SelectTrim.SingleSolid#a16-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. Note the error is reporting “Differencing a non-pointer”.

Geometry.Surface.SelectTrim.SingleSolid#16

Geometry.Surface.SelectTrim.SingleSolid#16

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

Geometry.Surface.SelectTrim.SingleSolid#16a-left

Geometry.Surface.SelectTrim.SingleSolid#16a-left

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 work around to get the script to return values.

Geometry.Surface.SelectTrim.SingleSolid#16b

Geometry.Surface.SelectTrim.SingleSolid#16b

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

Geometry.Surface.SelectTrim.SingleSolid#16b-edited

Geometry.Surface.SelectTrim.SingleSolid#16b-edited

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

Geometry.Surface.SelectTrim.SingleSolid#16a-Graphic Window

Geometry.Surface.SelectTrim.SingleSolid#16a-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.

Geometry.Surface.SelectTrim.SingleSolid#a16

Geometry.Surface.SelectTrim.SingleSolid#16

Geometry.Surface.SelectTrim.SingleSolid#16a

Geometry.Surface.SelectTrim.SingleSolid#16b

Thanks for looking.

T!M