0hmX/pcbgolf-modular-checkpoint
A partial 3D assembly of seven separate PCBs—five USB carriers, an MCU board, and an SBU board—with modeled USB/DC connectors, but no routing, wiring, supports, or tilted-board mounting.
- Version
- 0.0.6
- License
- UNLICENSED
- Stars
- 0
board-rotation-repro.tsx
PCB
Schematic
import { assembly } from "tscircuit"
// Core 0.0.2132 / props 0.0.700:
// two pcb_board records survive, but B's CAD transform emits no cad_component.
export default () => (
<assembly.device name="TWO_BOARD_ROTATION_REPRO">
<board name="A" width={8} height={6} thickness={0.4} layers={2} pcbX={-10} />
<board name="B" width={7} height={7} thickness={0.4} layers={2} pcbX={10}
cadModel={{
glbUrl: "./assembly-assets/mcu.glb",
rotationOffset: { x: 90, y: 0, z: 0 },
positionOffset: { x: 0, y: 0, z: 5 },
}} />
</assembly.device>
)
// Throws: "rotated PCB boards are not yet supported".
export const TiltedMount = () => (
<assembly.device name="TILTED_BOARD_REPRO">
<assembly.motor name="M" standard="nema17" shaftFacingDirection="x+" />
<board name="B" width={7} height={7} thickness={0.4} layers={2} mountedTo="M.backface" />
</assembly.device>
)