imrishabh18/3d-model-test

It loads a 3D model of an electronic component onto a circuit board with specified positioning.

Version
0.0.1
License
unset
Stars
0

dist/index.js

PCBPCB preview for dist/index.js
SchematicSchematic preview for dist/index.js
import { jsx } from 'react/jsx-runtime';
import glbUrl from '././assets/test-201e9d57.glb';

var index = () => (jsx("board", { children: jsx("chip", { name: "U1", cadModel: jsx("cadassembly", { children: jsx("cadmodel", { modelUrl: glbUrl, modelUnitToMmScale: 1000, positionOffset: { x: 0, y: 0, z: 0.2 } }) }) }) }));

export { index as default };