# painting-3d-viewer

> Online 3D Viewer: Forked to allow left-click raycasting

Latest version **0.0.5** (published 2023-08-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install painting-3d-viewer
pnpm add painting-3d-viewer
yarn add painting-3d-viewer
bun add painting-3d-viewer
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; large bundle; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2023-08-25 |
| First published | 2023-05-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 7 |
| Unpacked size | 32.2 MB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | rohaniyer |
| Keywords | 3d, viewer, cad, obj, 3ds, stl, ply, gltf, glb, off, 3dm, fbx, dae, wrl, 3mf, ifc, brep, step, iges, fcstd, bim |

## Links

- npm: https://www.npmjs.com/package/painting-3d-viewer
- Repository: https://github.com/rohaniyer/Online3DViewer
- Homepage: https://github.com/rohaniyer/Online3DViewer#readme
- Issues: https://github.com/rohaniyer/Online3DViewer/issues
- npm.io page: https://npm.io/package/painting-3d-viewer

## Dependencies (7)

- [three](https://npm.io/package/three.md) 0.152.2
- [fflate](https://npm.io/package/fflate.md) 0.7.4
- [draco3d](https://npm.io/package/draco3d.md) 1.5.6
- [web-ifc](https://npm.io/package/web-ifc.md) 0.0.39
- [rhino3dm](https://npm.io/package/rhino3dm.md) 8.0.0
- [occt-import-js](https://npm.io/package/occt-import-js.md) 0.0.18
- [@simonwep/pickr](https://npm.io/package/@simonwep/pickr.md) 1.8.2

## Recent versions

- 0.0.5 (latest) — 2023-08-25
- 0.0.4 — 2023-08-25
- 0.0.3 — 2023-05-30
- 0.0.2 — 2023-05-30
- 0.0.1 — 2023-05-30

## README

# Online 3D Viewer

[![Build status](https://github.com/kovacsv/Online3DViewer/actions/workflows/build.yml/badge.svg)](https://github.com/kovacsv/Online3DViewer/actions/workflows/build.yml)
[![npm version](https://badge.fury.io/js/online-3d-viewer.svg)](https://badge.fury.io/js/online-3d-viewer)
[![DeepScan grade](https://deepscan.io/api/teams/16586/projects/19893/branches/524595/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=16586&pid=19893&bid=524595)

Online 3D Viewer (https://3dviewer.net) is a free and open source web solution to visualize and explore 3D models right in your browser. This repository contains the source code of the website and the library behind it.

## Example

![Start Page](assets/images/3dviewer_net_start_page.png?raw=true)

[Check the live version!](https://3dviewer.net/#model=https://raw.githubusercontent.com/kovacsv/Online3DViewer/dev/test/testfiles/gltf/DamagedHelmet/glTF-Binary/DamagedHelmet.glb)

## Documentation

The repository is separated into two parts.

* **Online 3D Viewer Website**: Source code of the web solution with all of the pages and functions.
* **Online 3D Viewer Engine**: Source code of the library to visualize models easily.

[Engine documentation is available here.](https://kovacsv.github.io/Online3DViewer)

## Supported file formats

* **Import**: obj, 3ds, stl, ply, gltf, glb, off, 3dm, fbx, dae, wrl, 3mf, ifc, brep, step, iges, fcstd, bim.
* **Export**: obj, stl, ply, gltf, glb, off, 3dm, bim.

## Features

- Import model:
  - Select files from a file browser dialog.
  - Drag and drop files from your computer.
  - Specify files by web url.
  - Specify files by web url in hash parameters.
- Explore model:
  - Orbit, pan, zoom.
  - Set up direction.
  - Fit to window.
- Investigate model:
  - List used and missing files.
  - List all materials and meshes.
  - Show/hide and zoom to a specific mesh.
  - List materials used by a specific mesh.
  - Show model information (model size, vertex and polygon count).
  - Show custom properties stored in the model.
- Export model to various format.
- Embed viewer in your website.

## External Libraries

Online 3D Viewer uses these wonderful libraries: [three.js](https://github.com/mrdoob/three.js), [pickr](https://github.com/Simonwep/pickr), [fflate](https://github.com/101arrowz/fflate), [draco](https://github.com/google/draco), [rhino3dm](https://github.com/mcneel/rhino3dm), [web-ifc](https://github.com/tomvandig/web-ifc), [occt-import-js](https://github.com/kovacsv/occt-import-js).

---
_Source: https://npm.io/package/painting-3d-viewer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
