pts = {
let rhino, doc
rhino3dm().then(async m => {
console.log('Loaded rhino3dm.')
rhino = m
create()
})
function create () {
console.log(rhino)
const loader = new THREE.BufferGeometryLoader();
let ptA = [0, 0, 0]
const geometry = new THREE.BufferGeometry()
const vertices = new Float32Array( ptA )
geometry.setAttribute( 'position', new THREE.BufferAttribute( vertices, 3 ) )
const pointsMaterial = new THREE.PointsMaterial( { color: 0xff0000 } )
const threejsPoint = new THREE.Points( geometry, pointsMaterial )
}
}