rhino-developer-samples icon indicating copy to clipboard operation
rhino-developer-samples copied to clipboard

why not must setPath librayPath?

Open PachVerb opened this issue 2 years ago • 0 comments

When I am using 3dmLoader, why do I have to set the librarypath? Can this step be omitted?

just,like-this:

loader = new Rhino3dmLoader();
// loader.setLibraryPath( 'https://cdn.jsdelivr.net/npm/[email protected]/' );
loader.load( 'http://127.0.0.1:5502/shoe/shoe.3dm', function ( object ) {
debugger
console.log(object);1
scene.add( object );
render()
}, (e) => {
		console.log(e)
}, (e) => {
		console.log(e)
})

not

// open 
loader.setLibraryPath( 'https://cdn.jsdelivr.net/npm/[email protected]/' );

help !

PachVerb avatar Dec 28 '21 03:12 PachVerb