gokul/cm4-media-carrier

A tscircuit package created by gokul.

Version
0.1.0
License
unset
Stars
0

assembly.tsx

PCBPCB preview for assembly.tsx
SchematicSchematic preview for assembly.tsx
import { assembly } from "@tscircuit/core"
import Board from "./index"
import cm4Model from "./models/cm4.glb"

/** Separate assembly view; the CM4 is purchased and fitted after carrier reflow. */
export default () => (
  <assembly.device name="CM4_MEDIA_ASSEMBLY">
    <Board />
    <assembly.part name="CM4" displayName="Wireless CM4 with eMMC"
      cadModel={{ glbUrl: cm4Model, modelUnitToMmScale: 1,
        modelOriginPosition: { x: 0, y: 0, z: 0 },
        positionOffset: { x: 0, y: 0, z: 0.8 },
        modelBounds: { min: { x: -20, y: -19.5, z: 0.3804 }, max: { x: 20, y: 35.5, z: 5.1647 } } }} />
  </assembly.device>
)