Hi,
I tried to duplicate a surface to a Headless temporary document. To do that i just add the duplicated brep
// surface already defined below as a Surface
Brep duplicate = surface.ToBrep().DuplicateBrep();
var tempDoc = RhinoDoc.CreateHeadless(null);
tempDoc.Objects.AddBrep(duplicate, attrs);
tempDoc.Save(filetemppath);
Whatever the surface (curved or non), i only get the oriented bounding box instead of the shape as follow
When debugging, the duplicated brep contains the complete geometry
I can’t explain why…?
Thanks for your help


