Logo Omniverse Cad To Usd

Omniverse Cad To Usd

Tổ chức
NVIDIA-Omniverse
omniverse-cad-to-usd

Chuyển đổi các tệp CAD được hỗ trợ sang OpenUSD bằng gói Python độc lập usd-convert-cad.

Add to TypingMind

Tổng quan

Nhà phát hànhNVIDIA-Omniverse
Kho mãusd-convert-cad
Tên kỹ năngomniverse-cad-to-usd
Sao
41
Bản fork
4
Tệp đi kèm
Chỉ có hướng dẫn
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được NVIDIA-Omniverse công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Omniverse Cad To Usd trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/NVIDIA-Omniverse/usd-convert-cad/tree/main/.agent/omniverse-cad-to-usd
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Omniverse Cad To Usd trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Omniverse Cad To Usd ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Omniverse Cad To Usd với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Câu hỏi thường gặp

Kỹ năng AI Omniverse Cad To Usd làm được gì?

Chuyển đổi các tệp CAD được hỗ trợ sang OpenUSD bằng gói Python độc lập usd-convert-cad.

Vì sao nên dùng Omniverse Cad To Usd trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Omniverse Cad To Usd là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Omniverse Cad To Usd trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/NVIDIA-Omniverse/usd-convert-cad/tree/main/.agent/omniverse-cad-to-usd. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Omniverse Cad To Usd?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Omniverse Cad To Usd với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Omniverse Cad To Usd với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Omniverse Cad To Usd có miễn phí không?

Kỹ năng này được NVIDIA-Omniverse phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇