feat: add 3D hydronic manifolds buffer tanks and fresh water stations
This commit is contained in:
1 parent
93c015ec77
commit
173d02e3cc
37 files changed
+3253
-1815
No files matched your search
@@ -8,6 +8,7 @@ import type { StairConfig } from "./geometry/stairs.ts";
|
||||
import type { LampModel } from "./viewer/viewer3d.ts";
|
||||
import type { FurnitureColors } from "./furniture-colors.ts";
|
||||
import type { ShowWhen } from "./entities/visibility.ts";
|
||||
import type { HydronicConfig } from "./hydronic-model.ts";
|
||||
|
||||
export type Vec2 = [number, number];
|
||||
|
||||
@@ -229,6 +230,7 @@ export interface ScreenPicture {
|
||||
}
|
||||
|
||||
export interface Furniture extends LightEffectConfig {
|
||||
hydronic?: HydronicConfig | null;
|
||||
/** A tap on the item runs this own action (open a path, an entity's details, a service, a browser_mod popup); null = the item's usual tap. */
|
||||
tap?: Pick<CustomButton, "action" | "target" | "data"> | null;
|
||||
/** Fixed against moving by accident. */
|
||||
@@ -1256,6 +1258,9 @@ export const FURNITURE_TYPES = [
|
||||
"grid_point",
|
||||
"parking",
|
||||
"fridge_smart",
|
||||
"heating_manifold",
|
||||
"buffer_tank",
|
||||
"freshwater_station",
|
||||
"stairwell",
|
||||
] as const;
|
||||
|
||||
@@ -1267,7 +1272,7 @@ export const FURNITURE_GROUPS: Record<string, FurnitureType[]> = {
|
||||
kitchen: ["kitchen", "kitchen_wall", "kitchen_tall", "island", "worktop", "sink", "stove", "dishwasher", "fridge"],
|
||||
sleeping: ["bed", "bunk_bed", "nightstand", "wardrobe", "dresser"],
|
||||
bath: ["bathtub", "shower", "wc", "washbasin", "washer", "dryer"],
|
||||
work: ["desk", "worktop", "office_chair", "tall_cabinet", "coat_rack", "radiator", "stairs", "robot_vacuum"],
|
||||
work: ["desk", "worktop", "office_chair", "tall_cabinet", "coat_rack", "radiator", "stairs", "robot_vacuum", "heating_manifold", "buffer_tank", "freshwater_station"],
|
||||
vehicles: ["parking"],
|
||||
};
|
||||
|
||||
@@ -1459,6 +1464,9 @@ export const FURNITURE_SIZE: Record<FurnitureType, [number, number, number]> = {
|
||||
inverter: [0.5, 0.2, 0.65],
|
||||
home_battery: [0.6, 0.25, 1.1],
|
||||
wallbox: [0.3, 0.15, 0.42],
|
||||
heating_manifold: [1.5, 0.35, 1.1],
|
||||
buffer_tank: [0.85, 0.85, 1.85],
|
||||
freshwater_station: [0.65, 0.28, 0.9],
|
||||
// the meter cabinet hangs on the wall as well
|
||||
meter: [0.55, 0.21, 1.1],
|
||||
// the grid connection: a small street cabinet at the edge of the plot
|
||||
|
||||
Reference in new issue
Block a user