* 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>
23 lines
786 B
TypeScript
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'),
|
|
}
|