-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TextureMapping for non-Meshes #648
Comments
@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?
The text was updated successfully, but these errors were encountered: