===== Datenformat für Schnittstellen =====
Diese Dokument beschreibt die Datenstruktur für die Übergabe der Aufmaßdaten an andere Anwendungen.
{{INLINETOC 3-4}}
==== CSV-Format ====
Download: {{ :vproduct:room-measure:export:visualizer-data-description.xlsx |Excel}}
==== JSON-Format ====
Download: {{ :vproduct:room-measure:export:visualizer-data-example.json |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"
}
]
}
]
}