# threejs-gdml-loader

> This is the `GDML` file loader for the new version of `three.js`. Based on the work of [tpmccauley](https://github.com/tpmccauley). ## Installation ``` pnpm i threejs-gdml-loader ``` ## Usage ``` ts import {GDMLLoader} from "threejs-gdml-loader"

Latest version **1.0.7** (published 2022-09-19) · ISC license · 0 weekly downloads

## Install

```sh
npm install threejs-gdml-loader
pnpm add threejs-gdml-loader
yarn add threejs-gdml-loader
bun add threejs-gdml-loader
```

## Health

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

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

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.7 |
| Published | 2022-09-19 |
| First published | 2022-09-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 123 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Roy |
| Maintainers | roy_liu |
| Keywords | theejs, loader, GDML |

## Links

- npm: https://www.npmjs.com/package/threejs-gdml-loader
- Repository: https://github.com/XMZOVO/threejs-gdml-loader
- Homepage: https://zhongpeiying.com
- Issues: https://github.com/XMZOVO/threejs-gdml-loader/issues
- npm.io page: https://npm.io/package/threejs-gdml-loader

## Dependencies (3)

- [three](https://npm.io/package/three.md) latest
- [typescript](https://npm.io/package/typescript.md) next
- [@types/three](https://npm.io/package/@types/three.md) latest

## Recent versions

- 1.0.7 (latest) — 2022-09-19
- 1.0.6 — 2022-09-19
- 1.0.5 — 2022-09-19
- 1.0.4 — 2022-09-19
- 1.0.3 — 2022-09-19
- 1.0.2 — 2022-09-19

## README

# Threejs-GDML-loader
This is the `GDML` file loader for the new version of `three.js`.  
Based on the work of [tpmccauley](https://github.com/tpmccauley).
## Installation
```
pnpm i threejs-gdml-loader
```
## Usage
``` ts
import {GDMLLoader} from "threejs-gdml-loader"

gdmlLoader = new GDMLLoader();
gdmlLoader.load("path-to-asset", (object)=>{
    scene.add(object);
});
```
## Demo
![Demo](picture/demo.png) 
## Tips
This version is still under development. Only simple geometry import has been tested so far.

---
_Source: https://npm.io/package/threejs-gdml-loader · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
