wall sides feed with floo fill algorithm

This commit is contained in:
wass08
2026-02-03 12:03:03 +09:00
parent 83ebf8366c
commit a15952055a
6 changed files with 659 additions and 3 deletions
+5
View File
@@ -16,6 +16,9 @@ export const WallNode = BaseNode.extend({
// e.g., start/end points for path
start: z.tuple([z.number(), z.number()]),
end: z.tuple([z.number(), z.number()]),
// Space detection for cutaway mode
frontSide: z.enum(['interior', 'exterior', 'unknown']).default('unknown'),
backSide: z.enum(['interior', 'exterior', 'unknown']).default('unknown'),
}).describe(
dedent`
Wall node - used to represent a wall in the building
@@ -24,6 +27,8 @@ export const WallNode = BaseNode.extend({
- start: start point of the wall in level coordinate system
- end: end point of the wall in level coordinate system
- size: size of the wall in grid units
- frontSide: whether the front side faces interior, exterior, or unknown
- backSide: whether the back side faces interior, exterior, or unknown
`,
)
export type WallNode = z.infer<typeof WallNode>