---
Product: Aspose.3D
Platform: typescript
Page Type: docs
Canonical URL: https://docs.aspose.org/3d/typescript/getting-started/quickstart
---

# Quick Start

Get up and running with @aspose/3d for TypeScript in minutes: load a 3D model, traverse the scene graph, and save to a different format using Scene, Node, and scene.save.

## Overview

This guide shows the fastest path from installation to loading and saving a 3D file using
`@aspose/3d` for TypeScript. The package is MIT-licensed, pure JavaScript/TypeScript, and
requires no native binaries or platform-specific build tools.

---

### Prerequisites

| Requirement | Detail |
|-------------|--------|
| Node.js | 18 or later |
| OS | Windows, macOS, Linux, Docker |
| Package | `@aspose/3d` (build from source) |

---

### Install

Build the package from source. Type definitions are bundled with the package, so no
separate `@types` package is needed:

```bash
git clone https://github.com/aspose-3d-foss/Aspose.3D-FOSS-for-TypeScript.git
cd Aspose.3D-FOSS-for-TypeScript
npm install
npm run build
```

---

### Load a 3D File

Call `scene.open()` with a path to load any supported format. The library detects the
format from the file extension. Access the scene hierarchy through `scene.rootNode`:

```typescript
import { Scene } from "@aspose/3d";

const scene = new Scene();
scene.open("model.obj");
console.log(`Root node: ${scene.rootNode.name}`);
```

---

### Traverse the Scene Graph

A loaded scene is a tree of `Node` objects rooted at `scene.rootNode`. Use
a recursive walk to process each node and its children:

```typescript
import { Scene, Node } from "@aspose/3d";

function walk(node: Node, depth: number = 0): void {
    const indent = " ".repeat(depth * 2);
    console.log(`${indent}Node: ${node.name}`);
    for (const child of node.childNodes) {
        walk(child, depth + 1);
    }
}

const scene = new Scene();
scene.open("model.glb");
walk(scene.rootNode);
```

---

### Save to a Different Format

The library detects the output format from the file extension. Call `scene.save()` with
the output path to convert between formats:

```typescript
import { Scene } from "@aspose/3d";

const scene = new Scene();
scene.open("model.obj");
scene.save("output.glb");
console.log("Converted to GLB.");
```

---

### Create a New Scene and Save

Construct a `Scene` with no arguments to start empty, add child nodes to
`scene.rootNode`, then call `scene.save()` to write the file:

```typescript
import { Scene, Node } from "@aspose/3d";

const scene = new Scene();
const box = scene.rootNode.createChildNode("box");
scene.save("new_scene.obj");
```

---

### Next Steps

- [Installation](installation/)
- [How to Load 3D Models](https://kb.aspose.org/3d/typescript/how-to-load-3d-models-in-typescript/)
- [How to Convert 3D Models](https://kb.aspose.org/3d/typescript/how-to-convert-3d-models-typescript/)
- [KB Articles](https://kb.aspose.org/3d/typescript/)

## See Also

- [Aspose.3D for TypeScript — Enterprise Documentation](https://docs.aspose.com/3d/)