An open API service indexing awesome lists of open source software.

https://github.com/create3000/x_ite-vscode

Preview and debug X3D, VRML, glTF and other 3D models directly in the editor.
https://github.com/create3000/x_ite-vscode

3d gltf2 models ply stl svg viewer vrml vscode vscode-extension wavefront-obj wrl x3d x3d-browser

Last synced: 2 months ago
JSON representation

Preview and debug X3D, VRML, glTF and other 3D models directly in the editor.

Awesome Lists containing this project

README

        

# X_ITE VS Code Extension

[![VS Code marketplace](https://img.shields.io/static/v1?label=VS%20Code%20Marketplace&message=x-ite-vscode&color=blue)](https://marketplace.visualstudio.com/items?itemName=create3000.x-ite-vscode)
[![DeepScan grade](https://deepscan.io/api/teams/23540/projects/28575/branches/920521/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=23540&pid=28575&bid=920521)

This extension integrates the [X_ITE X3D Browser](https://create3000.github.io/x_ite/) into VS Code.

## Preview and debug X3D, VRML, glTF and other 3D models directly in the editor.

![X3D Logo Pieces](images/logo-pieces.png)

There is a command name: `X3D: Preview 3D Model`, with default key binding for Windows: CTRL + ALT + X, and for macOS: COMMAND + OPTION + X.

The above model and other sample models can be obtained from the X_ITE [media](https://github.com/create3000/media/tree/main/docs/examples) repository.

With this extension you can preview 3D files in X_ITE. A new VS Code column is opened with the file preview.

## Supported File Formats

| Encoding | File Extension | MIME Type |
|------------------|----------------|-----------------|
| X3D XML | .x3d, .x3dz | model/x3d+xml |
| X3D JSON | .x3dj, .x3djz | model/x3d+json |
| X3D Classic VRML | .x3dv, .x3dvz | model/x3d+vrml |
| VRML | .wrl, .wrz | model/vrml |
| glTF | .gltf, .glb | model/gltf+json |
| Wavefront OBJ | .obj | model/obj |
| STL | .stl | model/stl |
| PLY | .ply | model/ply |
| SVG Document | .svg, .svgz | image/svg+xml |

## Console Output

Console messages from the preview are redirected to the Output panel of VS Code when you switch to the 'X_ITE' channel.

![Output](images/output.png)

## License

GPLv3, see [LICENSE.md](LICENSE.md).