Open cedemax opened 1 month ago
@cedemax are you using js, py, or dotnet?nCan you provide an example of something that isn't working?
We are using dotnet. More detail:
// We can add UVs like this to a mesh
var rMesh = new Rhino.Geometry.Mesh();
....
rMesh.TextureCoordinates.Add(...);
// but for Breps there seems to be nothing
var brep = new Rhino.Geometry.Brep();
....
brep.TextureMapping ??
brepFace.TextureCoordinates ??
brepTrimCurve.TextureCoordinates ??
// There are things like:
var texMap = TextureMapping.CreatePlaneMapping(...);
// but these can't seem to be applied to Breps.
It seems to work fine in the Rhino UI, so I expect it should be possible also in here?
Thanks. I see the method we use for Rhino, I see we don't have an analog for rhino3dm. At first glance I don't see anything that would stop us from adding this in rhino3dm. Let me check with the team.
Thank you!
It seems that there is no way to assign texture mapping to non-Meshes like NURBS or Polysurfaces. It is possible to assign a material to these, but not texture mapping.
Is this something that could be added?