SketchUp (.skp) loader
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 58/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- three.js, typescript
- Domain
- computer-graphics
Research direction
Start with OpenSKP's examples/web-viewer and its SkpFile.fromBuffer(buffer).buildScene() entry point, then compare the existing OBJLoader and GLTFLoader shapes in three-stdlib. Confirm the desired approach in discussion #436. Done means a SKPLoader can read native .skp data and map the parsed scene into THREE.Group, BufferGeometry, and MeshStandardMaterial.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- JavaScript
- Stars
- 863
- Forks
- 146
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pmndrs/three-stdlib
-
SSAOPass height type error,It's number not booleanPossibly taken @Techsynx claimed this 23 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 62/100
pmndrs/three-stdlib#423 ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 42/100
pmndrs/three-stdlib#435 ·
-
OrbitControls touch crashes on Expo mobile appPossibly taken @adamistheanswer claimed this 164 days ago. Openbug
Difficulty 3/5 1-2 days Newbie friendliness 68/100
pmndrs/three-stdlib#426 · 1 comment · 1 reaction ·
-
Update MeshOpt v1Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
pmndrs/three-stdlib#425 ·
-
RangeError: Maximum call stack size exceeded when exporting to gilt file using GLTFExporterMay be free again A pull request for this issue was closed without being merged. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
pmndrs/three-stdlib#414 ·
All issues in pmndrs/three-stdlib
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Forrest-Technologies/drover#1040 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
good first issue help wanted
Difficulty 1/5 Under an hour Newbie friendliness 90/100
erkamyaman/rust-anything#702 ·
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
erkamyaman/unslop-anything#231 ·
Maintainers usually reply within 1 day