I use threejs and rhino3dm to display some .3dm files. Normaly i create the files inside rhino using .net and make sure the rendermeshes are present using
RhinoObject.GetRenderMeshes(all_objects, true, true)
and
FileWriteOptions writeoptions = new FileWriteOptions
{
IncludeBitmapTable = false,
IncludeHistory = false,
IncludePreviewImage = false,
IncludeRenderMeshes = true,
SuppressDialogBoxes = true,
UpdateDocumentPath = false,
WriteUserData = false,
WriteSelectedObjectsOnly = true
};
This is working great but now i facing the problem to render external files with no rendermeshes included.
My question is if there is any method to use “rhino3dm” to create the rendermeshes and save a patched file. Prefer in python but js would be fine too.