JSPM

  • Created
  • Published
  • Downloads 84
  • Score
    100M100P100Q111536F
  • License MIT

GLB/GLTF export button and utilities for React Three Fiber scenes. Includes automatic cleanup of lights, CSG internals, wireframes, invisible meshes, and more.

Package Exports

  • r3f-glb-exporter
  • r3f-glb-exporter/dist/index.esm.js
  • r3f-glb-exporter/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (r3f-glb-exporter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

R3f-to-glb

React Three Fiber GLB Exporter - Export R3F scenes to GLB/GLTF format.

Installation

npm install r3f-glb-exporter

Usage

import { ExportButton } from 'r3f-glb-exporter';

// Inside <Canvas>:
<ExportButton filename="my-model" />