Inhaltsverzeichnis

Format des données pour les interfaces

Ce document décrit la structure des données pour le transfert des données de métré vers d'autres applications.

Inhaltsverzeichnis

Format CSV

Télécharger le fichier : Excel

HauptobjektroomDataDaten für ein Raumaufmaß. Ohne Raumhöhe ist dies ein Bodenaufmaß.
EigenschaftDatentypBeschreibung
namestringName des Raums/Objekts
anglesArray<number>Die Innenwinkel der Raumecken in Grad.
areaFloornumberBerechnete Grundfläche des Raums.
areaWallsnumberGesamte Wandfläche des Raums.
circumferencenumberGesamtumfang des Raumes auf dem Boden.
clockwisenumberIndikator für die Zeichenrichtung (z. B. 1 für im Uhrzeigersinn).
cutOutDataArray<Object>Liste aller Abzugskörper oder Ausschnitte im Raum (z. B. Fenster, Nischen, Säulen).
heightnumberHöhe des Raums.
pointsArray<Point3D>Liste aller Punktkoordinaten der Raumecken.
pointCountnumberAnzahl der Eckpunkte, die den Raum definieren.
volumenumberBerechnetes Raumvolumen.
wallDataArray<Object>Liste aller Wände (Segmente) des Raums.
UnterobjektwallDataDaten je Wand/Strecke von Messpunkt zu Messpunkt.
EigenschaftDatentypBeschreibung
anglenumberWinkel der Wand zur vorherigen Wand.
widthnumberBreite der Wand.
fromnumberStart-Index des Wandsegments (referenziert einen Punkt).
tonumberEnd-Index des Wandsegments (referenziert einen Punkt).
wallstringWandbezeichnung (z.B. "p1-p2").
UnterobjektcutOutDataDaten für Ausschnitte oder zusätzliche Elemente.
EigenschaftDatentypBeschreibung
namestringName des Ausschnitts/Objekts
anglesArray<number>(Optional) Die Innenwinkel der Geometrie in Grad.
areaFloornumberBerechnete Grundfläche der Geometrie.
areaWallsnumberGesamte Wandfläche der Geometrie.
centerPoint3DDer berechnete Mittelpunkt des Objekts.
centerProjectionObjectDetails zur Projektion des Objekt-Mittelpunkts auf die nächste Wand.
circumferencenumberGesamtumfang der Geometrie.
depthnumberTiefe der Geometrie.
geometrystringGeometrische Form des Ausschnitts ("plane", "polygon", "circle").
pointProjectionsArray<Object>(Optional) Projektionsdaten für jeden einzelnen Eckpunkt auf die Wände.
pointsArray<Point3D>Die 3D-Koordinaten der Eckpunkte bzw. Kantenpunkte.
radiusnumber(Optional) Radius, falls geometry auf "circle" gesetzt ist.
rotationEulerRotationswerte des Objekts in X-, Y- und Z-Richtung.
volumenumberBerechnetes Volumen der Geometrie.
UnterobjektprojectionDatacenterProjection/pointProjections (immer zum nächstgelegenen Wandsegment)
EigenschaftDatentypBeschreibung
closestPointPoint3DDie Koordinate des nächstgelegenen Eckpunkts.
closestPointDistancenumberDistanz zwischen dem nächstgelegenen Eckpunkt und der Projektion.
projectedPointPoint3DDie Koordinate der Projektion auf das Wandsegment.
projectionDistancenumberDistanz zwischen dem Originalpunkt und dem projizierten Punkt.
wallstringBezeichnung der Zielwand (z. B. "p1-p2").

Format JSON

Télécharger le fichier : json

{
  "angles": [
    90,
    90,
    90,
    90
  ],
  "areaFloor": 12.0,
  "areaWalls": 35.0,
  "circumference": 14.0,
  "clockwise": 1,
  "height": 2.5,
  "points": [
    { "x": 0, "y": 0, "z": 0 },
    { "x": 4, "y": 0, "z": 0 },
    { "x": 4, "y": 0, "z": 3 },
    { "x": 0, "y": 0, "z": 3 }
  ],
  "pointCount": 4,
  "volume": 30.0,
  "wallData": [
    {
      "angle": 90,
      "width": 4.0,
      "from": 1,
      "to": 2,
      "wall": "p1-p2"
    },
    {
      "angle": 90,
      "width": 3.0,
      "from": 2,
      "to": 3,
      "wall": "p2-p3"
    },
    {
      "angle": 90,
      "width": 4.0,
      "from": 3,
      "to": 4,
      "wall": "p3-p4"
    },
    {
      "angle": 90,
      "width": 3.0,
      "from": 4,
      "to": 1,
      "wall": "p4-p1"
    }
  ],
  "cutOutData": [
    {
      "geometry": "polygon",
      "depth": 0.3,
      "points": [
        { "x": 1.5, "y": 0.0, "z": 1.0 },
        { "x": 2.5, "y": 0.0, "z": 1.0 },
        { "x": 2.5, "y": 0.0, "z": 2.0 },
        { "x": 1.5, "y": 0.0, "z": 2.0 }
      ],
      "angles": [90, 90, 90, 90],
      "areaFloor": 1.0,
      "areaWalls": 1.2,
      "center": { "x": 2.0, "y": 0.0, "z": 1.5 },
      "circumference": 4.0,
      "rotation": { "x": 0, "y": 0, "z": 0 },
      "volume": 0.3,
      "centerProjection": {
        "closestPoint": { "x": 0.0, "y": 0.0, "z": 0.0 },
        "closestPointDistance": 2.0,
        "projectedPoint": { "x": 2.0, "y": 0.0, "z": 0.0 },
        "projectionDistance": 1.5,
        "wall": "p1-p2"
      },
      "pointProjections": [
        {
          "closestPoint": { "x": 0.0, "y": 0.0, "z": 0.0 },
          "closestPointDistance": 1.5,
          "projectedPoint": { "x": 1.5, "y": 0.0, "z": 0.0 },
          "projectionDistance": 1.0,
          "wall": "p1-p2"
        },
        {
          "closestPoint": { "x": 4.0, "y": 0.0, "z": 0.0 },
          "closestPointDistance": 1.5,
          "projectedPoint": { "x": 2.5, "y": 0.0, "z": 0.0 },
          "projectionDistance": 1.0,
          "wall": "p1-p2"
        },
        {
          "closestPoint": { "x": 4.0, "y": 0.0, "z": 3.0 },
          "closestPointDistance": 1.5,
          "projectedPoint": { "x": 2.5, "y": 0.0, "z": 3.0 },
          "projectionDistance": 1.0,
          "wall": "p3-p4"
        },
        {
          "closestPoint": { "x": 0.0, "y": 0.0, "z": 3.0 },
          "closestPointDistance": 1.5,
          "projectedPoint": { "x": 1.5, "y": 0.0, "z": 3.0 },
          "projectionDistance": 1.0,
          "wall": "p3-p4"
        }
      ]
    }
  ]
}