Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 878 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 878 Bytes

ldraw-parts-library

Upload of the LDraw parts library intended to be used for static file loading in github examples.

Parts library downloaded from here and unofficial parts from here on January 30th, 2023.

color definitions downloaded from here on May 15th, 2023.

Use with three.js LDrawLoader

const loader = new LDrawLoader();
loader.setPartsLibraryPath( 'https://raw.githubusercontent.com/gkjohnson/ldraw-parts-library/master/complete/ldraw/' );
await loader.preloadMaterials( 'https://raw.githubusercontent.com/gkjohnson/ldraw-parts-library/master/colors/ldcfgalt.ldr' );

loader.load( 'https://raw.githubusercontent.com/gkjohnson/ldraw-parts-library/master/complete/ldraw/10030-1%20-%20Imperial%20Star%20Destroyer%20-%20UCS.mpd' );