@mark1russell7/room-view 0.2.4 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +64 -34
- package/build/{anchors-Ba3OUmhF.js → check-lFfxIUS3.js} +11 -260
- package/build/check-lFfxIUS3.js.map +1 -0
- package/build/index.d.ts +5 -5
- package/build/index.js +6 -5
- package/build/index.js.map +1 -1
- package/build/{layers-BO_MMtQJ.d.ts → layers-BiiyFJwZ.d.ts} +35 -9
- package/build/layers-BiiyFJwZ.d.ts.map +1 -0
- package/build/{layers-B5nL_lVW.js → layers-DmTro5Ny.js} +158 -26
- package/build/layers-DmTro5Ny.js.map +1 -0
- package/build/{level-CXCIX08K.js → level-CvbiwvhH.js} +12 -37
- package/build/level-CvbiwvhH.js.map +1 -0
- package/build/{level-Cjcf3u20.d.ts → level-DmEftWYn.d.ts} +11 -19
- package/build/level-DmEftWYn.d.ts.map +1 -0
- package/build/marks.d.ts +2 -2
- package/build/marks.js +1 -2
- package/build/marks.js.map +1 -1
- package/build/plan-import.d.ts +325 -0
- package/build/plan-import.d.ts.map +1 -0
- package/build/plan-import.js +855 -0
- package/build/plan-import.js.map +1 -0
- package/build/room-BQua5eSs.d.ts +124 -0
- package/build/room-BQua5eSs.d.ts.map +1 -0
- package/build/room-CiVZ_07s.js +29 -0
- package/build/room-CiVZ_07s.js.map +1 -0
- package/build/sample.d.ts +4 -4
- package/build/sample.d.ts.map +1 -1
- package/build/sample.js +21 -217
- package/build/sample.js.map +1 -1
- package/build/schema.d.ts +59 -9
- package/build/schema.d.ts.map +1 -1
- package/build/schema.js +251 -91
- package/build/schema.js.map +1 -1
- package/build/solids-CdJf0U39.d.ts +148 -0
- package/build/solids-CdJf0U39.d.ts.map +1 -0
- package/build/three.d.ts +9 -16
- package/build/three.d.ts.map +1 -1
- package/build/three.js +13 -106
- package/build/three.js.map +1 -1
- package/build/units-BZmvVyu4.js +30 -0
- package/build/units-BZmvVyu4.js.map +1 -0
- package/package.json +7 -1
- package/build/anchors-Ba3OUmhF.js.map +0 -1
- package/build/layers-B5nL_lVW.js.map +0 -1
- package/build/layers-BO_MMtQJ.d.ts.map +0 -1
- package/build/level-CXCIX08K.js.map +0 -1
- package/build/level-Cjcf3u20.d.ts.map +0 -1
- package/build/loads-CtHa4EHo.js +0 -103
- package/build/loads-CtHa4EHo.js.map +0 -1
- package/build/loads-Diy6-Ekz.d.ts +0 -73
- package/build/loads-Diy6-Ekz.d.ts.map +0 -1
- package/build/solids-S_j17vFJ.d.ts +0 -313
- package/build/solids-S_j17vFJ.d.ts.map +0 -1
|
@@ -1,313 +0,0 @@
|
|
|
1
|
-
import { Box3, Point, Point3, Ring, Transform3 } from "@mark1russell7/layout-contract";
|
|
2
|
-
/** These are the units of length that a room record can use. */
|
|
3
|
-
declare const LENGTH_UNITS: readonly ["m", "cm", "mm", "ft", "in"];
|
|
4
|
-
/** A unit of length of a room record. */
|
|
5
|
-
type LengthUnit = (typeof LENGTH_UNITS)[number];
|
|
6
|
-
/** This function gives the length of one unit in meters. The factor comes from `@mark1russell7/quantity`. */
|
|
7
|
-
declare function metersPer(unit: LengthUnit): number;
|
|
8
|
-
/** This function gives the length of one unit in a different unit. For example, one foot is 12 inches. */
|
|
9
|
-
declare function unitsPer(unit: LengthUnit, other: LengthUnit): number;
|
|
10
|
-
/**
|
|
11
|
-
* The largest length in meters that the model can use: 1 000 km. A larger number in a room record is a mistake.
|
|
12
|
-
* With this limit, each calculation of the model gives a finite number.
|
|
13
|
-
*/
|
|
14
|
-
declare const LARGEST_LENGTH = 1e6;
|
|
15
|
-
/** This function tells if the model can use each value as a length. Such a value is a finite number of meters, with a size of `LARGEST_LENGTH` or less. */
|
|
16
|
-
declare function lengthsInRange(...meters: readonly number[]): boolean;
|
|
17
|
-
/** A point of the plan: `[x, y]`. The plan is the view from above, and the z axis points up. */
|
|
18
|
-
type PlanPoint = readonly [number, number];
|
|
19
|
-
/** The name of the format of a room record. */
|
|
20
|
-
declare const ROOM_SCHEMA = "room/1";
|
|
21
|
-
/** The name of the format of a scene record. */
|
|
22
|
-
declare const SCENE_SCHEMA = "scene/1";
|
|
23
|
-
/**
|
|
24
|
-
* This function tells if a text is the name of a layer: a word, a slash and a version, for example `electrical/1`.
|
|
25
|
-
* The word has lowercase letters, digits and hyphens. Thus a layer name has no colon, and `recordName` gives each record one name.
|
|
26
|
-
*/
|
|
27
|
-
declare function isLayerName(text: string): boolean;
|
|
28
|
-
/** These are the sides of the line of a wall that can have the wall. */
|
|
29
|
-
declare const WALL_SIDES: readonly ["center", "left", "right"];
|
|
30
|
-
/**
|
|
31
|
-
* The side of the line of a wall that has the wall, for a person who looks from `from` to `to`.
|
|
32
|
-
* With `center`, the line is the middle of the wall. With `left` or `right`, the line is one face of the wall.
|
|
33
|
-
*/
|
|
34
|
-
type WallSide = (typeof WALL_SIDES)[number];
|
|
35
|
-
/** These are the faces of a wall, for a person who looks from `from` to `to`. */
|
|
36
|
-
declare const WALL_FACES: readonly ["left", "right"];
|
|
37
|
-
/** A face of a wall. */
|
|
38
|
-
type WallFace = (typeof WALL_FACES)[number];
|
|
39
|
-
/**
|
|
40
|
-
* A wall: a straight line in the plan, with a thickness and a height.
|
|
41
|
-
* A tape measure gives the faces of a wall, so `side` lets the line be a face. Two walls with a common end make a corner.
|
|
42
|
-
*/
|
|
43
|
-
interface Wall {
|
|
44
|
-
readonly id: string;
|
|
45
|
-
readonly from: PlanPoint;
|
|
46
|
-
readonly to: PlanPoint;
|
|
47
|
-
/** The thickness of the wall. The default is `wallThickness` of the room. */
|
|
48
|
-
readonly thickness?: number | undefined;
|
|
49
|
-
/** The height of the wall. The default is `height` of the room. */
|
|
50
|
-
readonly height?: number | undefined;
|
|
51
|
-
/** The side of the line that has the wall. The default is `center`. */
|
|
52
|
-
readonly side?: WallSide | undefined;
|
|
53
|
-
}
|
|
54
|
-
/** These are the kinds of an opening. A window has glass. A door and a gap are empty. */
|
|
55
|
-
declare const OPENING_KINDS: readonly ["door", "window", "gap"];
|
|
56
|
-
/** A kind of opening. */
|
|
57
|
-
type OpeningKind = (typeof OPENING_KINDS)[number];
|
|
58
|
-
/** An opening: a hole through a wall. */
|
|
59
|
-
interface Opening {
|
|
60
|
-
readonly id: string;
|
|
61
|
-
/** The `id` of the wall. */
|
|
62
|
-
readonly wall: string;
|
|
63
|
-
readonly kind: OpeningKind;
|
|
64
|
-
/** The distance along the line of the wall, from `from` to the near edge of the opening. */
|
|
65
|
-
readonly offset: number;
|
|
66
|
-
readonly width: number;
|
|
67
|
-
/** The height of the bottom of the opening above the floor. The default is 0. */
|
|
68
|
-
readonly sill?: number | undefined;
|
|
69
|
-
readonly height: number;
|
|
70
|
-
}
|
|
71
|
-
/** A floor: one area of the plan, for example one room of an apartment. The ring is the line where the floor touches the walls. */
|
|
72
|
-
interface Floor {
|
|
73
|
-
readonly id: string;
|
|
74
|
-
readonly name?: string | undefined;
|
|
75
|
-
readonly ring: Ring;
|
|
76
|
-
}
|
|
77
|
-
/** An outlet: a point on a face of a wall. */
|
|
78
|
-
interface Outlet {
|
|
79
|
-
readonly id: string;
|
|
80
|
-
/** The `id` of the wall. */
|
|
81
|
-
readonly wall: string;
|
|
82
|
-
/** The face of the wall that has the outlet. */
|
|
83
|
-
readonly face: WallFace;
|
|
84
|
-
/** The distance along the line of the wall, from `from` to the center of the outlet. */
|
|
85
|
-
readonly offset: number;
|
|
86
|
-
/** The height of the center of the outlet above the floor. */
|
|
87
|
-
readonly height: number;
|
|
88
|
-
/** The `id` of the circuit of the outlet. */
|
|
89
|
-
readonly circuit?: string | undefined;
|
|
90
|
-
}
|
|
91
|
-
/** A circuit: it gives power to outlets, and it has a limit. */
|
|
92
|
-
interface Circuit {
|
|
93
|
-
readonly id: string;
|
|
94
|
-
readonly name?: string | undefined;
|
|
95
|
-
/** The rating of the breaker of the circuit, in amperes, for example 15. The record keeps it as a fact. The limit does not change with it. */
|
|
96
|
-
readonly breaker?: number | undefined;
|
|
97
|
-
/** The voltage of the circuit, in volts, for example 120. The record keeps it as a fact. The limit does not change with it. */
|
|
98
|
-
readonly voltage?: number | undefined;
|
|
99
|
-
/**
|
|
100
|
-
* The largest continuous load, in watts.
|
|
101
|
-
* For example, a breaker of 15 A at 120 V carries 1800 W, and 80% of that for a continuous load is 1440 W.
|
|
102
|
-
*/
|
|
103
|
-
readonly limit: number;
|
|
104
|
-
}
|
|
105
|
-
/** A room: the walls, the openings, the floors, the outlets and the circuits of one room or one apartment. */
|
|
106
|
-
interface Room {
|
|
107
|
-
readonly schema: typeof ROOM_SCHEMA;
|
|
108
|
-
readonly name?: string | undefined;
|
|
109
|
-
/** The unit of each length of the record. */
|
|
110
|
-
readonly unit: LengthUnit;
|
|
111
|
-
/** The height of each wall that has no height of its own. */
|
|
112
|
-
readonly height: number;
|
|
113
|
-
/** The thickness of each wall that has no thickness of its own. */
|
|
114
|
-
readonly wallThickness: number;
|
|
115
|
-
readonly walls: readonly Wall[];
|
|
116
|
-
readonly openings?: readonly Opening[] | undefined;
|
|
117
|
-
readonly floors?: readonly Floor[] | undefined;
|
|
118
|
-
readonly outlets?: readonly Outlet[] | undefined;
|
|
119
|
-
readonly circuits?: readonly Circuit[] | undefined;
|
|
120
|
-
}
|
|
121
|
-
/**
|
|
122
|
-
* A placed object: a box in the room, for example a desk, a rack or a computer.
|
|
123
|
-
* With a `parent`, the position and the turn are relative to that object, whose origin is the center of its bottom.
|
|
124
|
-
*/
|
|
125
|
-
interface PlacedObject {
|
|
126
|
-
readonly id: string;
|
|
127
|
-
/** The class of the object, for example `desk`, `rack` or `computer`. A viewer gives each class a color. */
|
|
128
|
-
readonly kind: string;
|
|
129
|
-
readonly name?: string | undefined;
|
|
130
|
-
/** The size before the turn: along x, along y, and the height. */
|
|
131
|
-
readonly size: readonly [number, number, number];
|
|
132
|
-
/** The point of the plan below the center of the object. */
|
|
133
|
-
readonly at: PlanPoint;
|
|
134
|
-
/** The height of the bottom of the object above the floor, or above the bottom of its parent. The default is 0. */
|
|
135
|
-
readonly lift?: number | undefined;
|
|
136
|
-
/** The turn about the vertical axis in degrees, counter-clockwise from above. The default is 0. */
|
|
137
|
-
readonly turn?: number | undefined;
|
|
138
|
-
/** The `id` of the object that holds this object. */
|
|
139
|
-
readonly parent?: string | undefined;
|
|
140
|
-
/** The `id` of the outlet that gives power to the object. */
|
|
141
|
-
readonly outlet?: string | undefined;
|
|
142
|
-
}
|
|
143
|
-
/** A load on a circuit, in watts. A circuit can have many loads: their sum is the load of the circuit. */
|
|
144
|
-
interface CircuitLoad {
|
|
145
|
-
/** The `id` of the circuit. */
|
|
146
|
-
readonly circuit: string;
|
|
147
|
-
readonly watts: number;
|
|
148
|
-
}
|
|
149
|
-
/** A scene: one room with its placed objects and the loads of its circuits. Two scenes of one room can be compared. */
|
|
150
|
-
interface Scene {
|
|
151
|
-
readonly schema: typeof SCENE_SCHEMA;
|
|
152
|
-
readonly name?: string | undefined;
|
|
153
|
-
readonly room: Room;
|
|
154
|
-
readonly objects?: readonly PlacedObject[] | undefined;
|
|
155
|
-
readonly loads?: readonly CircuitLoad[] | undefined;
|
|
156
|
-
/**
|
|
157
|
-
* The records of each add-on, by the name of its layer, for example `electrical/1`. `isLayerName` tells the form of a name.
|
|
158
|
-
* The core keeps each layer and does not read it. `checkLayers` examines the layers with a list of add-ons.
|
|
159
|
-
*/
|
|
160
|
-
readonly layers?: Readonly<Record<string, unknown>> | undefined;
|
|
161
|
-
}
|
|
162
|
-
/**
|
|
163
|
-
* The frame of a wall, in meters. A point of the wall has a distance along the line and a distance across it.
|
|
164
|
-
* The distance across is positive to the left, for a person who looks from the start to the end.
|
|
165
|
-
*/
|
|
166
|
-
interface WallFrame {
|
|
167
|
-
/** The `id` of the wall. */
|
|
168
|
-
readonly id: string;
|
|
169
|
-
readonly start: Point;
|
|
170
|
-
readonly end: Point;
|
|
171
|
-
/** The unit vector from the start to the end. A wall with the length 0, or with a length that is not finite, has the vector (1, 0). */
|
|
172
|
-
readonly along: Point;
|
|
173
|
-
/** The unit vector to the left of `along`. */
|
|
174
|
-
readonly left: Point;
|
|
175
|
-
readonly length: number;
|
|
176
|
-
readonly thickness: number;
|
|
177
|
-
readonly height: number;
|
|
178
|
-
/** The distance across of the left face. It is 0 or more. */
|
|
179
|
-
readonly leftOffset: number;
|
|
180
|
-
/** The distance across of the right face. It is 0 or less. */
|
|
181
|
-
readonly rightOffset: number;
|
|
182
|
-
}
|
|
183
|
-
/** This function gives the frame of each wall of a room, in the sequence of the walls. */
|
|
184
|
-
declare function wallFrames(room: Room): readonly WallFrame[];
|
|
185
|
-
/**
|
|
186
|
-
* This function tells if a wall has an outline in the plan. Its ends and its thickness must be lengths in the range of the model,
|
|
187
|
-
* and its length and its thickness must be above 0. Only such a wall makes a corner, and the model makes only such a wall.
|
|
188
|
-
*/
|
|
189
|
-
declare function wallHasOutline(frame: WallFrame): boolean;
|
|
190
|
-
/** This function gives the point of the plan at a distance along a wall and a distance across it, in meters. */
|
|
191
|
-
declare function wallPoint(frame: WallFrame, along: number, across: number): Point;
|
|
192
|
-
/**
|
|
193
|
-
* This function gives the transform from the frame of a wall to the room.
|
|
194
|
-
* In the frame of a wall, x is the distance along the wall and y is the distance across it. The height above the floor is z.
|
|
195
|
-
*/
|
|
196
|
-
declare function wallTransform(frame: WallFrame): Transform3;
|
|
197
|
-
/** The outline of one wall in the plan, after its corners with the other walls. */
|
|
198
|
-
interface WallFootprint {
|
|
199
|
-
/** The `id` of the wall. */
|
|
200
|
-
readonly wall: string;
|
|
201
|
-
/** The outline in meters, counter-clockwise and convex. It is empty for a wall with no outline (`wallHasOutline`) and for a wall that its corners remove. */
|
|
202
|
-
readonly ring: Ring;
|
|
203
|
-
/**
|
|
204
|
-
* The part of the wall that has its full thickness: two distances along the wall, in meters.
|
|
205
|
-
* An opening must be in this part. A wall with no such part has the two distances 0.
|
|
206
|
-
*/
|
|
207
|
-
readonly clear: readonly [number, number];
|
|
208
|
-
}
|
|
209
|
-
/** The options of the corners of the walls. */
|
|
210
|
-
interface JoinOptions {
|
|
211
|
-
/** Two ends of walls at this distance or less make one corner. The unit is the meter, and the default is 1e-6. A value that is not finite gives the default. */
|
|
212
|
-
readonly tolerance?: number | undefined;
|
|
213
|
-
/**
|
|
214
|
-
* The limit of a sharp corner. The faces of two walls meet at a point. When that point is farther from the corner
|
|
215
|
-
* than this number of thicknesses, the two walls get square ends. The default is 4. A value that is not finite gives the default.
|
|
216
|
-
*/
|
|
217
|
-
readonly miterLimit?: number | undefined;
|
|
218
|
-
}
|
|
219
|
-
/** The default distance in meters at which two ends of walls make one corner. */
|
|
220
|
-
declare const JOIN_TOLERANCE = 1e-6;
|
|
221
|
-
/** The default limit of a sharp corner, in thicknesses. */
|
|
222
|
-
declare const MITER_LIMIT = 4;
|
|
223
|
-
/**
|
|
224
|
-
* This function gives the outline of each wall in the plan, in the sequence of the frames.
|
|
225
|
-
*
|
|
226
|
-
* Two or more ends of walls at one point make a corner. At a corner, the faces of the walls that are adjacent meet at a point.
|
|
227
|
-
* Each wall ends at the lines from the corner to those points. Thus two walls make a miter, and the walls of a corner do not overlap.
|
|
228
|
-
* An end with no other end at its point is square. An end on the face of a different wall is also square: the two walls touch.
|
|
229
|
-
* A wall with no outline (`wallHasOutline`) gets an empty outline, and it makes no corner.
|
|
230
|
-
*/
|
|
231
|
-
declare function wallFootprints(frames: readonly WallFrame[], options?: JoinOptions): readonly WallFootprint[];
|
|
232
|
-
/** These are the kinds of a solid. */
|
|
233
|
-
declare const SOLID_KINDS: readonly ["floor", "wall", "glass", "outlet", "object"];
|
|
234
|
-
/** A kind of solid. */
|
|
235
|
-
type SolidKind = (typeof SOLID_KINDS)[number];
|
|
236
|
-
/** A prism: an outline in the plan, from the height `z` up by `d`. The unit is the meter. */
|
|
237
|
-
interface Prism {
|
|
238
|
-
readonly kind: "prism";
|
|
239
|
-
readonly ring: Ring;
|
|
240
|
-
readonly z: number;
|
|
241
|
-
readonly d: number;
|
|
242
|
-
}
|
|
243
|
-
/** A placed box: a box in its own frame, and the transform from that frame to the room. The unit is the meter. */
|
|
244
|
-
interface PlacedBox {
|
|
245
|
-
readonly kind: "box";
|
|
246
|
-
readonly box: Box3;
|
|
247
|
-
readonly transform: Transform3;
|
|
248
|
-
}
|
|
249
|
-
/** The shape of a solid. */
|
|
250
|
-
type SolidShape = Prism | PlacedBox;
|
|
251
|
-
/**
|
|
252
|
-
* A solid: one part of the 3D model of a room. The x and y axes are the axes of the plan, and the z axis points up.
|
|
253
|
-
* The floor is at the height 0, and each length is in meters. Each number of a solid is finite, and its volume is above 0.
|
|
254
|
-
*/
|
|
255
|
-
interface Solid {
|
|
256
|
-
/** The name of the solid. Each solid of a model has a different name. */
|
|
257
|
-
readonly id: string;
|
|
258
|
-
readonly kind: SolidKind;
|
|
259
|
-
/** The `id` of the record that the solid comes from: a wall, a floor, an opening, an outlet or a placed object. */
|
|
260
|
-
readonly source: string;
|
|
261
|
-
readonly shape: SolidShape;
|
|
262
|
-
}
|
|
263
|
-
/** The options of the model of a room. */
|
|
264
|
-
interface SolidOptions {
|
|
265
|
-
/** The depth of the floor below the height 0, in meters. The walls go down by the same depth. The default is 0.1. A value that is not finite gives the default. */
|
|
266
|
-
readonly floorDepth?: number | undefined;
|
|
267
|
-
/** The options of the corners of the walls. */
|
|
268
|
-
readonly joins?: JoinOptions | undefined;
|
|
269
|
-
}
|
|
270
|
-
/** The default depth of the floor, in meters. */
|
|
271
|
-
declare const FLOOR_DEPTH = .1;
|
|
272
|
-
/** The thickness of the glass of a window, in meters. */
|
|
273
|
-
declare const GLASS_THICKNESS = .02;
|
|
274
|
-
/** The size of the plate of an outlet, in meters. The plate of a duplex outlet in North America is 70 mm by 115 mm. */
|
|
275
|
-
declare const OUTLET_PLATE: {
|
|
276
|
-
readonly width: number;
|
|
277
|
-
readonly height: number;
|
|
278
|
-
readonly depth: number;
|
|
279
|
-
};
|
|
280
|
-
/**
|
|
281
|
-
* The transform from the room, where the z axis points up, to a space where the y axis points up.
|
|
282
|
-
* The glTF format and three.js have the y axis up. The x axis stays, and the y axis of the plan becomes the negative z axis.
|
|
283
|
-
*/
|
|
284
|
-
declare const TO_Y_UP: Transform3;
|
|
285
|
-
/**
|
|
286
|
-
* This function gives the 3D model of a room as a list of solids.
|
|
287
|
-
* The solids are the floors, the walls with their openings, the glass of the windows and the outlets.
|
|
288
|
-
*
|
|
289
|
-
* The function does not stop for a record with a fault. It skips each part that it cannot make.
|
|
290
|
-
* One example is a wall with no length. A second example is an opening on a wall that the room does not have.
|
|
291
|
-
* A third example is a part with a number that is not finite or not in the range of the model (`LARGEST_LENGTH`). `checkRoom` tells each fault.
|
|
292
|
-
*/
|
|
293
|
-
declare function roomSolids(room: Room, options?: SolidOptions): readonly Solid[];
|
|
294
|
-
/**
|
|
295
|
-
* This function gives the transform of each placed object of a scene, from the frame of the object to the room, in meters.
|
|
296
|
-
* The origin of the frame of an object is the center of its bottom. An object with a parent gets the transform of the parent first.
|
|
297
|
-
* An object has no transform when a parent is not in the scene, or when its parents make a loop.
|
|
298
|
-
* An object also has no transform when one value of its place is not finite or not in the range of the model.
|
|
299
|
-
*/
|
|
300
|
-
declare function objectTransforms(scene: Scene): ReadonlyMap<string, Transform3>;
|
|
301
|
-
/**
|
|
302
|
-
* This function gives the 3D model of a scene: the solids of its room, then one box for each placed object.
|
|
303
|
-
* It skips an object that has no transform, no size, or a size that is not in the range of the model. `checkScene` tells each fault.
|
|
304
|
-
*/
|
|
305
|
-
declare function sceneSolids(scene: Scene, options?: SolidOptions): readonly Solid[];
|
|
306
|
-
/** This function gives the corners of a solid in the room. A box has 8, and a prism has 2 for each corner of its outline. */
|
|
307
|
-
declare function solidCorners(solid: Solid): readonly Point3[];
|
|
308
|
-
/** This function gives the smallest box along the axes that holds each solid, or `undefined` for no solids. */
|
|
309
|
-
declare function boundsOfSolids(solids: readonly Solid[]): Box3 | undefined;
|
|
310
|
-
/** This function gives the volume of a solid in cubic meters. */
|
|
311
|
-
declare function solidVolume(solid: Solid): number;
|
|
312
|
-
export { Floor as A, Scene as B, WallFrame as C, wallTransform as D, wallPoint as E, PlacedObject as F, WallSide as G, WALL_SIDES as H, PlanPoint as I, LENGTH_UNITS as J, isLayerName as K, ROOM_SCHEMA as L, Opening as M, OpeningKind as N, Circuit as O, Outlet as P, unitsPer as Q, Room as R, wallFootprints as S, wallHasOutline as T, Wall as U, WALL_FACES as V, WallFace as W, lengthsInRange as X, LengthUnit as Y, metersPer as Z, solidVolume as _, Prism as a, MITER_LIMIT as b, SolidKind as c, TO_Y_UP as d, boundsOfSolids as f, solidCorners as g, sceneSolids as h, PlacedBox as i, OPENING_KINDS as j, CircuitLoad as k, SolidOptions as l, roomSolids as m, GLASS_THICKNESS as n, SOLID_KINDS as o, objectTransforms as p, LARGEST_LENGTH as q, OUTLET_PLATE as r, Solid as s, FLOOR_DEPTH as t, SolidShape as u, JOIN_TOLERANCE as v, wallFrames as w, WallFootprint as x, JoinOptions as y, SCENE_SCHEMA as z };
|
|
313
|
-
//# sourceMappingURL=solids-S_j17vFJ.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"solids-S_j17vFJ.d.ts","names":[],"sources":["../src/units.ts","../src/room.ts","../src/frames.ts","../src/joins.ts","../src/solids.ts"],"mappings":";;cAGa;;KAGD,qBAAqB;;iBAGjB,UAAU,MAAM;;iBAKhB,SAAS,MAAM,YAAY,OAAO;;;;;cAQrC;;iBAGG,kBAAkB;;KCrBtB;;cAGC;;cAGA;;;;;iBAMG,YAAY;;cAKf;;;;;KAMD,mBAAmB;;cAGlB;;KAGD,mBAAmB;;;;;UAMd;WACN;WACA,MAAM;WACN,IAAI;;WAEJ;;WAEA;;WAEA,OAAO;;;cAIL;;KAGD,sBAAsB;;UAGjB;WACN;;WAEA;WACA,MAAM;;WAEN;WACA;;WAEA;WACA;;;UAIM;WACN;WACA;WACA,MAAM;;;UAIA;WACN;;WAEA;;WAEA,MAAM;;WAEN;;WAEA;;WAEA;;;UAIM;WACN;WACA;;WAEA;;WAEA;;;;;WAKA;;;UAIM;WACN,eAAe;WACf;;WAEA,MAAM;;WAEN;;WAEA;WACA,gBAAgB;WAChB,oBAAoB;WACpB,kBAAkB;WAClB,mBAAmB;WACnB,oBAAoB;;;;;;UAOd;WACN;;WAEA;WACA;;WAEA;;WAEA,IAAI;;WAEJ;;WAEA;;WAEA;;WAEA;;;UAIM;;WAEN;WACA;;;UAIM;WACN,eAAe;WACf;WACA,MAAM;WACN,mBAAmB;WACnB,iBAAiB;;;;;WAKjB,SAAS,SAAS;;;;;;UC9JZ;;WAEN;WACA,OAAO;WACP,KAAK;;WAEL,OAAO;;WAEP,MAAM;WACN;WACA;WACA;;WAEA;;WAEA;;;iBA2BK,WAAW,MAAM,gBAAgB;;;;;iBASjC,eAAe,OAAO;;iBAKtB,UAAU,OAAO,WAAW,eAAe,iBAAiB;;;;;iBAW5D,cAAc,OAAO,YAAY;;UCvEhC;;WAEN;;WAEA,MAAM;;;;;WAKN;;;UAIM;;WAEN;;;;;WAKA;;;cAIE;;cAGA;;;;;;;;;iBA8IG,eAAe,iBAAiB,aAAa,UAAS,uBAA4B;;cCzJrF;;KAGD,oBAAoB;;UAGf;WACN;WACA,MAAM;WACN;WACA;;;UAIM;WACN;WACA,KAAK;WACL,WAAW;;;KAIV,aAAa,QAAQ;;;;;UAMhB;;WAEN;WACA,MAAM;;WAEN;WACA,OAAO;;;UAID;;WAEN;;WAEA,QAAQ;;;cAIN;;cAGA;;cAGA;WAAyB;WAAwB;WAAyB;;;;;;cAM1E,SAAS;;;;;;;;;iBA4HN,WAAW,MAAM,MAAM,UAAS,wBAA6B;;;;;;;iBAiD7D,iBAAiB,OAAO,QAAQ,oBAAoB;;;;;iBAiCpD,YAAY,OAAO,OAAO,UAAS,wBAA6B;;iBAqBhE,aAAa,OAAO,iBAAiB;;iBAUrC,eAAe,iBAAiB,UAAU;;iBAK1C,YAAY,OAAO"}
|