Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

SketchUp (.skp) loader

Aperta
#437 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
58/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
three.js, typescript

Direzione di ricerca

Inizia con examples/web-viewer di OpenSKP e il suo punto di ingresso SkpFile.fromBuffer(buffer).buildScene(), quindi confronta le strutture esistenti di OBJLoader e GLTFLoader in three-stdlib. Conferma l’approccio desiderato nella discussione #436. Il lavoro è completo quando uno SKPLoader può leggere dati .skp nativi e mappare la scena analizzata in THREE.Group, BufferGeometry e MeshStandardMaterial.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Describe the feature you'd like:

A SKPLoader for native SketchUp (.skp) files — three-stdlib has loaders for most common 3D formats, but nothing for .skp. Today the only way to get a SketchUp model into a Three.js scene is exporting to glTF/OBJ from SketchUp first (needs SketchUp installed), or routing through a server-side conversion service.

Also posted as a discussion for open conversation before committing to a specific implementation: #436

Suggested implementation:

OpenSKP is an MIT-licensed, from-scratch .skp reader — no Trimble SDK, no native binary, pure TypeScript, works in both Node and the browser (openskp on npm). It already parses geometry, materials, layers, and instancing, and can bake a full triangulated scene via buildScene().

A SKPLoader extends Loader would read the file into an ArrayBuffer, call SkpFile.fromBuffer(buffer).buildScene(), and walk the result into THREE.Group/BufferGeometry/MeshStandardMaterial, the same shape OBJLoader/GLTFLoader already follow. There's a working reference implementation doing exactly this in OpenSKP's own example viewer (examples/web-viewer), so this wouldn't start from zero. Happy to put together the PR myself if this is wanted.

Lingua principale
JavaScript
Stelle
863
Fork
146
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pmndrs/three-stdlib

Tutte le issue di pmndrs/three-stdlib

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.