This is the thirteenth, in a series of forty-nine curve file translations. The file, Geometry.Curve.CreatePatchSurface.ds, is from the DesignScript Editor (DSE) Sample files.
Good time to mention that this translation was done with the Stand-Alone version of DesignScript, so it is NOT a plugin for AutoCAD.
Open the file CreatePatchSurface.ds in the DSE, copy and run DSS to paste it into the resulting blank canvas. Note the highlighted script in the initial translation below.
The “ import “ProtoGeometry. dll” “, will prevent the script from running, while “ /* ” and “// ” are measures that will ignore the script.” // ” will ignore the specific line its in front of and “ /* ” —-” */ “ will ignore the block of script it’s encompassing. This is being mentioned because having two versions of DesignScript running, both DSE and DSS can cause problems. (i.e. crashing)
After being satisfied with the translation, we progress to naming conventions and adding definition to the nodes properties.
Note that shown above the highlighted text has been edited to eliminate the commenting out symbols “/*—*/”. Next is the translation back to code as shown below.
A little editing is done.
The resulting Graphic from the files is shown below.
The translations are available for download from the links below
Thanks for looking.