This is a DS file translation entitled Geometry.Surface.BSplineSurface.IsoCurve.ds, from the DesignScript Editor (DSE) Samples. It is the fifth in a series of seven BSpline Surface type of files.
Open the file Geometry.Surface.BSplineSurface.IsoCurve.ds, in the DS Editor and run it. The script is shown below. Note the highlighted none functioning portions of the script which are drawing errors.
We will endeavor to provide a workaround in order to generate the properties for the BSplineCurve. Now open DS Studio, copy & paste the DSE script, Geometry.Surface.BSplineSurface.IsoCurve.ds, into a blank canvas.
Note the highlighted commenting out which must be deleted in order to activate the code.
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.
The preliminary translation is shown above, while the developed translation is shown below. Note the workaround for developing the properties.
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.
Again one should make sure that the custom node PtTransporterFor003 has been loaded into the library and file.
The “Node to Code” operation as shown above. A little editing is desired as highlighted above.
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.
DSS was run as a stand-alone application and the translation files are available to download from the DropBox links below.
Thanks for looking.