Skip to main content
class Solid extends Body

Constructor

new Solid(kind: string, params: Record<string, unknown>, options?: BodyOptions) profile, holes and path are wires. A sweep with caps: false makes a sheet, so new Solid throws BodyTypeMismatch for it.

operate

operate(kind, { tools: Solid[]; instances?: 'all' } | { thickness: number; instances?: 'all' }): void Changes the solid in place. A refused call throws and leaves the solid as it was.

getReport

getReport(): ShapeReport | null The report of the last boolean or shell: { report, handlers, revision }. report has operation, quality, contacts, coincident and face_mappings. It is null before the first operate, and after a rebuild or a mirror.

Copies

duplicate(options?) and instance(options?) return a Solid. Everything else is on Body methods.
Last modified on November 10, 2026