Files
editor/packages/nodes/src/slab/parametrics.ts
T
a524da1574 Fix room surfaces, wall openings, and paint scope (#498)
* chore(core): point material catalog at KTX2 tiers for wood/flooring/roofing finishes

All 48 remaining webp/jpg/png finish entries now reference _512.ktx2 maps
and 256px _thumb.webp previews, matching the fabric/leather/concrete/metal
convention. flipY set to false on the converted entries — compressed
textures can't be flipped at upload.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* fix: stabilize room surfaces and wall openings

* style(core): format KTX2 material catalog

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 16:35:04 -04:00

23 lines
786 B
TypeScript

import type { ParametricDescriptor } from '@pascal-app/core'
import type { SlabNode } from './schema'
/**
* Inspector descriptor for slab.
*
* Mounts the kind-owned `<SlabPanel>` via `customPanel` — the slab
* editor has shape-specific concerns (elevation presets, area display,
* holes list with auto-vs-manual provenance) that don't fit the
* auto-derived field model. `groups` retained as a placeholder for the
* future when `list` / `computed` / `action` field kinds let this
* collapse into pure parametrics.
*/
export const slabParametrics: ParametricDescriptor<SlabNode> = {
groups: [
{
label: 'Elevation',
fields: [{ key: 'elevation', kind: 'number', unit: 'm', min: -1, max: 1, step: 0.01 }],
},
],
customPanel: () => import('./panel'),
}