Files
editor/packages/nodes/src/pipe-segment/parametrics.ts
T
Sudhir YadavandGitHub 5551500d98 feat: HVAC ductwork + DWV plumbing systems (#402)
Adds two new MEP node families (HVAC ductwork, DWV plumbing) built on a shared port-connectivity model. Co-authored by @sudhir9297.
2026-06-16 15:30:39 -04:00

37 lines
759 B
TypeScript

import type { ParametricDescriptor } from '@pascal-app/core'
import type { PipeSegmentNode } from './schema'
export const pipeSegmentParametrics: ParametricDescriptor<PipeSegmentNode> = {
groups: [
{
label: 'Drainage',
fields: [
{
key: 'system',
kind: 'enum',
options: ['waste', 'vent'],
display: 'segmented',
},
{
key: 'diameter',
kind: 'number',
unit: 'in',
min: 1.25,
max: 6,
step: 0.25,
},
],
},
{
label: 'Construction',
fields: [
{
key: 'pipeMaterial',
kind: 'enum',
options: ['pvc', 'abs', 'cast-iron'],
},
],
},
],
}