@teamteanpm2024/voluptatibus-sequi-dolorem
IGESLoader is an IGES file loader for Three.js.
[!WARNING]
This package is currently in active development and may not be stable. Use with caution.
[!NOTE]
Currently, only a limited number of 'entity' types are parsed (mainly to be able to display points/lines/curves).
Install
npm install @teamteanpm2024/voluptatibus-sequi-dolorem three
Usage
import * as THREE from "three";
import { IGESLoader } from "@teamteanpm2024/voluptatibus-sequi-dolorem";
const loader = new IGESLoader();
const iges_file_path = "/file.iges";
loader.load(
iges_file_path,
function (object) {
sceneGeometry.add(object);
},
function (xhr) {
console.log((xhr.loaded / xhr.total) * 100 + "% loaded");
},
function (error) {
console.log("Error: " + error);
}
);
Author
Alex Marinov - Konsept Design Limited