Autodesk / Autodesk/maya-usd

NURBS curves of degree 1 are exported as UsdGeomBasisCurves rather than UsdGeomNurbsCurves

Open
#2,479 0 comments 0 reactions 1 assignee Claimed by @santosg87 View on GitHub
bug
Dominant language
Wolfram Language
Stars
905
Forks
223
Avg merge
2d 9h
Merged PRs (30d)
17

Description

If a degree 1 curves is created in Maya and exported using the MayaUSD plugin, the resulting USD file represents the geometry as a UsdBasisCurves type. That does not seem correct. The geometry in Maya is a Nurbs curve, and USD can represent degree 1 NURBS curves. That makes it difficult to transfer this geometry to other packages via USD.

**Steps to reproduce**
Create a degree 1 NURBS curve using the curve tool and setting degree to 1 in the option box.
Save using USD exporter using ASCII output
Inspect file, note that it does not contain a NurbsCurves object. Creating a degree 3 curve will create a NurbsCurves object.
Steps to reproduce the behavior:

**Attachments**
If applicable, add screenshots, sample files, etc to help explain your problem.

**Specs (if applicable):**
- OS & version: All platforms
- Maya 2023

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.