Omniverse Cad To Usd 标志

Omniverse Cad To Usd

组织
NVIDIA-Omniverse
omniverse-cad-to-usd

使用独立的 usd-convert-cad Python wheel 将支持的 CAD 文件转换为 OpenUSD。

Add to TypingMind

概览

发布者NVIDIA-Omniverse
代码仓库usd-convert-cad
技能名称omniverse-cad-to-usd
星标数
41
复刻数
4
附带文件
仅含指令
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 NVIDIA-Omniverse 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Omniverse Cad To Usd AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/NVIDIA-Omniverse/usd-convert-cad/tree/main/.agent/omniverse-cad-to-usd
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/NVIDIA-Omniverse/usd-convert-cad.git /tmp/usd-convert-cad
mkdir -p .claude/skills
cp -r /tmp/usd-convert-cad/.agent/omniverse-cad-to-usd .claude/skills/omniverse-cad-to-usd
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Omniverse Cad To Usd,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Omniverse Cad To Usd。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Omniverse Cad To Usd 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Omniverse CAD to USD

When to Use

Use this skill when a user asks to:

  • Convert supported CAD, 3D, or interchange files to OpenUSD with the standalone usd-convert-cad Python wheel.
  • Convert supported CAD inputs using the usd-convert-cad converter and its Parameters option policy.
  • Call CAD-to-USD conversion from a higher-level Physical AI workflow without duplicating converter setup.
  • Discover documented converter options from the installed wheel before choosing overrides.
  • Explain how HOOPS Exchange concepts map to OpenUSD prims, attributes, materials, units, or composition arcs.

Do not use this skill to substitute mesh converters, hand-authored USD, or unrelated tools for CAD conversion.

What Changed

This skill no longer installs Omniverse Kit or pulls a CAD converter extension from the Kit registry. Conversion now runs entirely inside the self-contained usd-convert-cad wheel published to PyPI. The wheel bundles its own OpenUSD and CAD conversion runtime, so there is no Kit app, no registry pull, no config.env, and no EULA prompt.

Tested Wheel Version

This skill was tested with usd-convert-cad==0.3.0 on Python 3.12. If another wheel version is installed, run usd-convert-cad --help and verify the installed package version before using options or behavior that may have changed.

Instructions

  1. Confirm the source file exists and detect the file type by extension.
  2. Confirm the extension is listed under Supported Formats. For AutoCAD (.dwg, .dxf) and Revit (.rvt, .rfa) inputs, first check the platform: these formats are not supported on linux-aarch64 (see Platform Support). On linux-aarch64, do not attempt the conversion — report the platform limitation instead.
  3. Create or reuse an isolated Python 3.12 virtual environment for the wheel. The wheel bundles its own OpenUSD (pxr) runtime, so isolating it prevents conflicts with any other pxr distribution in a shared interpreter.
    • Create: python3.12 -m venv .venv, or py -3.12 -m venv .venv on Windows.
    • Activate: .venv\Scripts\Activate.ps1 (PowerShell), .venv\Scripts\activate.bat (cmd.exe), or source .venv/bin/activate (bash). Or skip activation and call the interpreter directly: .venv\Scripts\python.exe (Windows) or .venv/bin/python (Linux).
  4. Ensure the wheel is installed in that environment. Probe with python -c "import usd_convert_cad" or usd-convert-cad --help. If it is missing, install it with python -m pip install usd-convert-cad.
  5. Run the conversion with the usd-convert-cad console command (or python -m usd_convert_cad), passing -i <input> and -o <output>. Choose the output extension (.usd, .usda, .usdc, or .usdz).
  6. Treat the process exit code as the authoritative result: 0 means success, non-zero means failure. On success the tool prints Successfully converted: <output>; confirm the output file exists.
  7. On failure, read stderr. The tool prints Error: conversion failed with code <n> followed by the converter error message.
  8. For option-discovery questions, run usd-convert-cad --help to read the documented options for the installed wheel version before recommending overrides.
  9. For mapping, BIM, unit, metadata, material, instancing, or Revit room/space questions, read ../../docs/concept_mapping.md before answering.

Output Format

Supported export formats:

  • .usd
  • .usda
  • .usdc
  • .usdz

The output path's extension determines the USD file format. For .usdz, the CLI converts to a temporary {stem}.usdc layer in an isolated staging directory and packages it with OpenUSD. USDZ requires monolithic conversion (--composition-style none, the default). Packaging replaces the final .usdz only after a successful package is created. If --material-type preview-surface-omnipbr is selected, USDZ export switches to preview-surface because OmniPBR materials are not packageable.

Recommended external caller contract:

bash
usd-convert-cad --input asset.jt --output asset.usdc

The console command returns exit code 0 on success and prints Successfully converted: <output>; it returns a non-zero exit code and prints the converter error message to stderr on failure. External callers should branch on the exit code and confirm the output file exists before continuing to USD validation or SimReady workflows. The wheel writes only the requested output file (and any sidecars the chosen USD format implies); it does not create a separate JSON status report.

Prerequisites

The only prerequisite is the installed wheel. Install it into an isolated Python 3.12 virtual environment so its bundled OpenUSD (pxr) runtime cannot conflict with another pxr in a shared interpreter.

OperationAction
Create envpython -m venv .venv, then activate it (or call the .venv interpreter directly).
Installpython -m pip install usd-convert-cad into the activated Python 3.12 environment.
Verifyusd-convert-cad --help or python -c "import usd_convert_cad; print(usd_convert_cad.__version__)".
Convertusd-convert-cad -i <input> -o <output>.

Notes:

  • The wheel is self-contained: it bundles its own OpenUSD and CAD conversion runtime. It does not depend on omniverse-kit, usd-core, or a separately installed pxr.
  • Use a dedicated virtual environment per the table above. Because the wheel ships its own pxr, installing it into an interpreter that already exposes a different OpenUSD distribution can cause import conflicts.
  • If the wheel is hosted on an NVIDIA package index rather than public PyPI, add the appropriate index, for example python -m pip install usd-convert-cad --extra-index-url https://pypi.nvidia.com.

Supported Formats

File typeNotes
.jtJT input.
.dgnDGN input.
.catpart, .catproduct, .cgrCATIA V5 input.
.3dxmlCATIA V6 / 3DExperience input.
.ifc, .ifczipIFC input.
.prtSiemens NX or Creo part input; exact interpretation depends on file content.
.asmCreo or Solid Edge assembly input; exact interpretation depends on file content.
.xmt, .x_t, .x_b, .xmt_txtParasolid input.
.sldprt, .sldasmSolidWorks input.
.stlSTL input.
.ipt, .iamAutodesk Inventor input.
.dwg, .dxfAutoCAD 3D input. Not supported on linux-aarch64 (see Platform Support).
.rvt, .rfaRevit input. Not supported on linux-aarch64 (see Platform Support).
.par, .pwd, .psmSolid Edge input.
.stp, .step, .igs, .igesSTEP / IGES input.
.3dmRhino input.
.daeCollada input.
.fbxFBX input.
.objOBJ input.
.3dsAutodesk 3DS input.
.3mf3MF input.
.gltf, .glbglTF input.
.sat, .sabACIS input.

Platform Support

Most formats convert on all supported platforms (windows-x86_64, linux-x86_64, linux-aarch64). The exceptions are the AutoCAD and Revit formats:

Formatwindows-x86_64linux-x86_64linux-aarch64
.dwg, .dxf (AutoCAD)SupportedSupportedNot supported
.rvt, .rfa (Revit)SupportedSupportedNot supported

The underlying HOOPS Exchange DWG/Revit readers are not available for linux-aarch64, so attempting to convert these formats on that platform fails with A3D_LOAD_INVALID_FILE_FORMAT (error code -10005) and produces no output. Do not attempt DWG/DXF or RVT/RFA conversion on linux-aarch64; treat those inputs as unsupported on that platform and report the platform limitation instead of retrying.

Converter Policy

Use the installed usd-convert-cad wheel. There is one supported converter core. Do not substitute mesh converters, hand-authored USD, or unrelated tools for CAD conversion.

Concept Mapping

Read ../../docs/concept_mapping.md when a user asks how source CAD concepts become OpenUSD. The document covers HOOPS product occurrences, part definitions, representation items, tessellation, materials, source metadata, hidden state, units, instancing, and composition arcs.

Commands

Create an isolated environment, install, and verify:

bash
python -m venv .venv
# Windows (PowerShell): .venv\Scripts\Activate.ps1
# Windows (cmd.exe):    .venv\Scripts\activate.bat
# Linux/macOS (bash):   source .venv/bin/activate
python -m pip install usd-convert-cad
usd-convert-cad --help
python -c "import usd_convert_cad; print(usd_convert_cad.__version__)"

Convert with the default options:

bash
usd-convert-cad --input asset.jt --output asset.usd
usd-convert-cad -i site.dgn -o site.usdc
python -m usd_convert_cad -i assembly.step -o assembly.usdc

Apply documented converter options:

bash
usd-convert-cad -i asset.jt -o asset.usdc --tess-lod 4
usd-convert-cad -i assembly.step -o assembly.usdc --no-materials
usd-convert-cad -i assembly.step -o assembly.usdc --filter-style hide --convert-metadata
usd-convert-cad -i assembly.sldasm -o assembly.usdc --read-constraints

Shell Invocation

The usd-convert-cad console command (and the equivalent python -m usd_convert_cad) is the public cross-platform entrypoint. It runs from PowerShell, cmd.exe, bash, or other shells as long as the wheel is installed in the active Python 3.12 environment.

ShellInvocation patternNotes
bash / shusd-convert-cad -i input.jt -o output.usdCheck $? after the call.
PowerShellusd-convert-cad -i input.jt -o output.usdCheck $LASTEXITCODE after the call.
cmd.exeusd-convert-cad -i input.jt -o output.usdCheck %ERRORLEVEL% after the call.

When invoking via an external tool runner, capture stdout and stderr together and branch on the exit code. Relative input and output paths are resolved against the caller's working directory.

Converter Options

The wheel builds a converter Parameters object from the CLI flags and converts in one call. Run usd-convert-cad --help for the authoritative list for the installed version. The documented options include:

OptionEffect
--tess-lod <0-4>Tessellation level of detail.
--revit-lod <0-3>Revit detail level: 0 file default, 1 coarse, 2 medium, 3 fine.
--accurate-tessellationEnable accurate tessellation.
--fast-surface-curvaturesDisable accurate surface curvature computation.
--no-normalsDo not author normals.
--no-materialsDo not author materials.
--material-type <none|preview-surface|preview-surface-omnipbr|preview-surface-materialx>Material output type. MaterialX authors OpenPBR for the mtlx render context and includes a Preview Surface fallback.
--up-axis <file|y|z>Override output stage up-axis.
--instancing-style <none|reference|instanceable-reference>Instancing style for repeated components.
--composition-style <none|reference|payload>Composition style for external sub-assemblies and parts.
--filter-style <none|omit|hide|deactivate>How hidden CAD elements are converted.
--load-hiddenLoad hidden CAD elements before filtering.
--global-xformsAuthor global transforms instead of local transforms.
--convert-curvesConvert curve and wire geometry—both 3D and 2D (including DWG/DXF model-space linework)—to USD BasisCurves. See LIMITATIONS.md for 2D conversion limitations.
--convert-metadataConvert CAD metadata to USD custom attributes.
--no-dedupDisable mesh and material deduplication.
--read-constraintsExport CATIA V5, NX, and SolidWorks Fix, CATIA V5 Fix Together, NX Bond, and SolidWorks Lock mate as USD Physics fixed joints that preserve world or relative poses.
--convert-physics-dataAuthor physical properties on USD prims.
--physics-accuracy-level <0.0-1.0>Physical property accuracy.
--physics-use-geometry-on-ribrepUse geometry instead of topology for RiBRep physical properties.
--view-layer-name <name>Convert a CAD view layer or simplified representation by name.
--creator <value>Creator metadata to author on output USD layers.
--progress, --progress-frequency <hz>Print converter progress.

Implementation Contract

Conversion passes only when the converter returns error_code == 0 and the expected USD output exists. The CLI maps this to process exit code 0 for success and non-zero for failure.

Limitations

Before promising conversion success or diagnosing failures, read ../../LIMITATIONS.md for package limitations and upstream HOOPS Core known issues.

Troubleshooting

Report a blocked conversion when:

  • The active Python is not 3.12.
  • The usd-convert-cad wheel is not installed (usd-convert-cad --help fails).
  • The source file extension is not listed under Supported Formats.
  • The input is an AutoCAD (.dwg, .dxf) or Revit (.rvt, .rfa) file and the platform is linux-aarch64 — these formats are not supported there (see Platform Support). Report the platform limitation rather than retrying.
  • The converter returns a non-zero exit code or does not produce the expected output.

References

  • docs/concept_mapping.md for HOOPS Exchange to OpenUSD concept mapping.
  • LIMITATIONS.md for detailed known limitations and upstream known-issues reference.
  • README.md for repository overview and user-facing setup notes.
  • CONTRIBUTING.md for maintainer expectations and supported-format update policy.
  • usd-convert-cad --help for the authoritative converter option list of the installed wheel.

常见问题

Omniverse Cad To Usd AI 技能有什么作用?

使用独立的 usd-convert-cad Python wheel 将支持的 CAD 文件转换为 OpenUSD。

为什么在 TypingMind 中使用 Omniverse Cad To Usd?

因为您只需安装一次,就能搭配任何模型使用。Omniverse Cad To Usd 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Omniverse Cad To Usd?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/NVIDIA-Omniverse/usd-convert-cad/tree/main/.agent/omniverse-cad-to-usd。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Omniverse Cad To Usd?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Omniverse Cad To Usd 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Omniverse Cad To Usd 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Omniverse Cad To Usd AI 技能免费吗?

NVIDIA-Omniverse 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇