[266] Befunde 9–11, 13–15: Deckenloch zur Treppe, Geschosshöhe 2.90 m, Projektname änderbar, LV95 auf mm, IFC-Raumname, Schnitt A meidet Wandachsen
Treppe aufwärts über die volle Geschosshöhe legt im selben Commit eine Aussparung (Treppenumriss) in die Decke (ein Undo-Schritt; Wendeltreppe weiter von Hand). Neues Projekt: Geschosshöhe 2.90 m (lichte Höhe 2.60 m), Beispielprojekte unverändert. Projektname im Panel Mappe (Publikation) änderbar, über Ops. Getippte LV95-Koordinaten werden auf mm gerundet. IfcSpace.Name = Raumnummer (sonst Raumname), LongName = Raumname. Automatischer Schnitt weicht parallelen Wandachsen aus.
This commit is contained in:
20 files changed
+281
-39
No files matched your search
@@ -147,7 +147,9 @@ export function isLv95(e: number, n: number): boolean {
|
||||
*/
|
||||
export function fromWorldInput(p: ParsedInput, origin: { e: number; n: number } | null): ParsedInput {
|
||||
if (!origin || p.kind !== "absolute" || !isLv95(p.point.x, p.point.y)) return p;
|
||||
return { kind: "absolute", point: { x: p.point.x - origin.e, y: p.point.y - origin.n } };
|
||||
// [266] Auf mm runden: 2600053.2 − 2600000 ergäbe sonst 53.200000000186 im Modell.
|
||||
const mm = (v: number) => Math.round(v * 1000) / 1000;
|
||||
return { kind: "absolute", point: { x: mm(p.point.x - origin.e), y: mm(p.point.y - origin.n) } };
|
||||
}
|
||||
|
||||
/** Punkt aus polarer Form (Distanz/Winkel) relativ zu einem Basispunkt. */
|
||||
|
||||
Reference in new issue
Block a user