This is another one of one file translations that is a Solid, but is a NonManifold Solid . The file Geometry.Solid.NonManifoldSolid.ThinShell.ds is located in the DesignScript Editor (DSE) Sample files. Unfortunately this file generates an error, so it cannot execute it’s operation. This is another file which needs to be worked on. 🙂
Nonetheless, lets take a look at it.
Open the file Geometry.Solid.NonManifoldSolid.ThinShell.ds in the DS Editor, the resulting script is shown below.
The errors are highlighted, beginning with the nonManifoldSolid.ThinShell command not executing and not returning a solid. Again lets continue. Open DS Studio, and paste the DSE script, Geometry.Solid.NonManifoldSolid.ThinShell.ds into a blank canvas.
After pasting the script and further commenting out the “(import(ProGeometry.dll)” script as highlighted above, one can have the option of running it as a Code Block of script, before the translation to Nodes takes place. The Graphic icon that is seen at the bottom of the script has been pasted in to show what the Graphic Window contains.
The preliminary translation shows the error returning “Method resolution failure on ThinShell ( )” notice.
The developed translation is shown below.
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 that the ThinShell node doesn’t produce output for the properties nodes.
Going as far as we can go with this file we continue with the “Node to Code” operation.
The only editing that is done here is to eliminate some redundancy.
The geometry that results from the code(s) is shown below. Note that liberty was taken with applying colors to the translation.
The files are available to download from the DropBox links below.
Thanks for looking.