Skip to content

five-on-it / apps/mcp/src/format / PieceView

Interface: PieceView ​

Defined in: apps/mcp/src/format.ts:31

A kit piece's record, as the catalogue's kit-piece entries carry it (piece).

Properties ​

anchors? ​

optional anchors?: Record<string, { at: Point; block?: string; piece?: string; yaw: number; }>

Defined in: apps/mcp/src/format.ts:45

Its named points.


bounds ​

bounds: object

Defined in: apps/mcp/src/format.ts:39

Its bounding box around its origin.

max ​

max: Point

min ​

min: Point


breakable? ​

optional breakable?: number

Defined in: apps/mcp/src/format.ts:47

Its mass (kg) when a car knocks it loose.


collider ​

collider: string

Defined in: apps/mcp/src/format.ts:35

How it collides.


footprint ​

footprint: object

Defined in: apps/mcp/src/format.ts:37

Its size (m): across its front (x), front to back (z), and its height.

depth ​

depth: number

height ​

height: number

width ​

width: number


kind ​

kind: string

Defined in: apps/mcp/src/format.ts:33

Its kind: prop, structure, terrain or building.


parts? ​

optional parts?: string[]

Defined in: apps/mcp/src/format.ts:49

The pieces of its kit placed with it.


tags ​

tags: string[]

Defined in: apps/mcp/src/format.ts:43

Its tags.


triangles ​

triangles: number

Defined in: apps/mcp/src/format.ts:41

How many triangles it is drawn with.