// #! csharp Trav
#r "RhinoCodePlugin.rhp"
#r "System.Drawing.Primitives.dll"
using System;
using Rhino;
using Rhino.Commands;
using Rhino.DocObjects;
using Rhino.Geometry;
using Rhino.Input;
using Rhino.Input.Custom;
using Rhino.UI;
using Eto.Drawing;
var doc = RhinoDoc.ActiveDoc;
Sorry. Stupid me it works now. I have the same script in a Rhino 8 folder and another one in a Rhino 9 folder I the macro was loading the Rhino 8 version iinstead of Rhino 9.
Hi Travis. Thank you for your reply. The script works if I replicate your example with a SubD sphere, but if I run it and choose this dragon fish model, it produces no result and no error. I’ve tried with “N-Gons Only” ON and OFF. I just installed the 8.36.26296.17001update a few minutes ago.
Same thing with this model. These models were created in Rhino 5 with T-Splines. When I open them in Rhino 8, they come in as SubD geometry. I know T-Splines used the Catmull-Clark algorithm, but there seems to be a conflict. Can you explain? Thanks.