AlphaAlpha Docs

Calculates the geometry of a project

Calculates and returns the geometry for the specified project and scenario.

GET
/projects/{projectId}/{scenarioId}/calculate-geometry
AuthorizationBearer <token>

In: header

Path Parameters

projectId*string
scenarioId*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/projects/string/string/calculate-geometry"
{
  "area": 0.1,
  "blocks": [
    {
      "area": 0.1,
      "facadeSurface": 0.1,
      "galerijConfig": {
        "corridorSide": "INNER",
        "corridorWidth": 0.1,
        "floorHeight": 0.1,
        "floors": 0,
        "footprint": [
          {
            "x": 0.1,
            "y": 0.1,
            "z": 0.1
          }
        ],
        "plinthHeight": 0.1,
        "sides": [
          {
            "conceptFilter": "string",
            "defaultUnitWidth": 0.1,
            "depth": 0.1,
            "typeId": "string"
          }
        ],
        "stairwayCores": [
          {
            "depth": 0.1,
            "position": 0.1,
            "width": 0.1
          }
        ]
      },
      "houses": [
        {
          "area": 0.1,
          "backFacadeConfigurationId": "string",
          "compensateInsertion": true,
          "dimensions": {
            "x": 0.1,
            "y": 0.1,
            "z": 0.1
          },
          "frontFacadeConfigurationId": "string",
          "id": "string",
          "massModels": {
            "property1": [
              {
                "dimensions": {
                  "x": {
                    "formula": "string",
                    "isConstant": true
                  },
                  "y": {
                    "formula": "string",
                    "isConstant": true
                  },
                  "z": {
                    "formula": "string",
                    "isConstant": true
                  }
                },
                "id": "string",
                "level": 0,
                "position": {
                  "x": {
                    "formula": "string",
                    "isConstant": true
                  },
                  "y": {
                    "formula": "string",
                    "isConstant": true
                  },
                  "z": {
                    "formula": "string",
                    "isConstant": true
                  }
                },
                "rotation": {
                  "x": {
                    "formula": "string",
                    "isConstant": true
                  },
                  "y": {
                    "formula": "string",
                    "isConstant": true
                  },
                  "z": {
                    "formula": "string",
                    "isConstant": true
                  }
                },
                "type": "Box"
              }
            ],
            "property2": [
              {
                "dimensions": {
                  "x": {
                    "formula": "string",
                    "isConstant": true
                  },
                  "y": {
                    "formula": "string",
                    "isConstant": true
                  },
                  "z": {
                    "formula": "string",
                    "isConstant": true
                  }
                },
                "id": "string",
                "level": 0,
                "position": {
                  "x": {
                    "formula": "string",
                    "isConstant": true
                  },
                  "y": {
                    "formula": "string",
                    "isConstant": true
                  },
                  "z": {
                    "formula": "string",
                    "isConstant": true
                  }
                },
                "rotation": {
                  "x": {
                    "formula": "string",
                    "isConstant": true
                  },
                  "y": {
                    "formula": "string",
                    "isConstant": true
                  },
                  "z": {
                    "formula": "string",
                    "isConstant": true
                  }
                },
                "type": "Box"
              }
            ]
          },
          "mirrored": true,
          "models": {
            "property1": [
              {
                "configuredFacade": {
                  "baseElementId": "string",
                  "created": "2019-08-24T14:15:22Z",
                  "createdBy": "string",
                  "description": "string",
                  "id": "string",
                  "openings": [
                    {
                      "dimensions": {
                        "x": {
                          "formula": "string",
                          "isConstant": true
                        },
                        "y": {
                          "formula": "string",
                          "isConstant": true
                        },
                        "z": {
                          "formula": "string",
                          "isConstant": true
                        }
                      },
                      "id": "string",
                      "position": {
                        "x": {
                          "formula": "string",
                          "isConstant": true
                        },
                        "y": {
                          "formula": "string",
                          "isConstant": true
                        },
                        "z": {
                          "formula": "string",
                          "isConstant": true
                        }
                      },
                      "rotation": 0.1,
                      "type": "WINDOW"
                    }
                  ],
                  "panels": [
                    {
                      "dimensions": {
                        "x": {
                          "formula": "string",
                          "isConstant": true
                        },
                        "y": {
                          "formula": "string",
                          "isConstant": true
                        },
                        "z": {
                          "formula": "string",
                          "isConstant": true
                        }
                      },
                      "id": 0,
                      "position": {
                        "x": {
                          "formula": "string",
                          "isConstant": true
                        },
                        "y": {
                          "formula": "string",
                          "isConstant": true
                        },
                        "z": {
                          "formula": "string",
                          "isConstant": true
                        }
                      },
                      "rotation": 0.1
                    }
                  ],
                  "tenantId": "string",
                  "updated": "2019-08-24T14:15:22Z",
                  "updatedBy": "string"
                },
                "dimensions": {
                  "x": {
                    "formula": "string",
                    "isConstant": true
                  },
                  "y": {
                    "formula": "string",
                    "isConstant": true
                  },
                  "z": {
                    "formula": "string",
                    "isConstant": true
                  }
                },
                "id": "string",
                "level": 0,
                "material": "string",
                "position": {
                  "x": {
                    "formula": "string",
                    "isConstant": true
                  },
                  "y": {
                    "formula": "string",
                    "isConstant": true
                  },
                  "z": {
                    "formula": "string",
                    "isConstant": true
                  }
                },
                "rotation": {
                  "x": {
                    "formula": "string",
                    "isConstant": true
                  },
                  "y": {
                    "formula": "string",
                    "isConstant": true
                  },
                  "z": {
                    "formula": "string",
                    "isConstant": true
                  }
                },
                "type": "WALL"
              }
            ],
            "property2": [
              {
                "configuredFacade": {
                  "baseElementId": "string",
                  "created": "2019-08-24T14:15:22Z",
                  "createdBy": "string",
                  "description": "string",
                  "id": "string",
                  "openings": [
                    {
                      "dimensions": {
                        "x": {
                          "formula": "string",
                          "isConstant": true
                        },
                        "y": {
                          "formula": "string",
                          "isConstant": true
                        },
                        "z": {
                          "formula": "string",
                          "isConstant": true
                        }
                      },
                      "id": "string",
                      "position": {
                        "x": {
                          "formula": "string",
                          "isConstant": true
                        },
                        "y": {
                          "formula": "string",
                          "isConstant": true
                        },
                        "z": {
                          "formula": "string",
                          "isConstant": true
                        }
                      },
                      "rotation": 0.1,
                      "type": "WINDOW"
                    }
                  ],
                  "panels": [
                    {
                      "dimensions": {
                        "x": {
                          "formula": "string",
                          "isConstant": true
                        },
                        "y": {
                          "formula": "string",
                          "isConstant": true
                        },
                        "z": {
                          "formula": "string",
                          "isConstant": true
                        }
                      },
                      "id": 0,
                      "position": {
                        "x": {
                          "formula": "string",
                          "isConstant": true
                        },
                        "y": {
                          "formula": "string",
                          "isConstant": true
                        },
                        "z": {
                          "formula": "string",
                          "isConstant": true
                        }
                      },
                      "rotation": 0.1
                    }
                  ],
                  "tenantId": "string",
                  "updated": "2019-08-24T14:15:22Z",
                  "updatedBy": "string"
                },
                "dimensions": {
                  "x": {
                    "formula": "string",
                    "isConstant": true
                  },
                  "y": {
                    "formula": "string",
                    "isConstant": true
                  },
                  "z": {
                    "formula": "string",
                    "isConstant": true
                  }
                },
                "id": "string",
                "level": 0,
                "material": "string",
                "position": {
                  "x": {
                    "formula": "string",
                    "isConstant": true
                  },
                  "y": {
                    "formula": "string",
                    "isConstant": true
                  },
                  "z": {
                    "formula": "string",
                    "isConstant": true
                  }
                },
                "rotation": {
                  "x": {
                    "formula": "string",
                    "isConstant": true
                  },
                  "y": {
                    "formula": "string",
                    "isConstant": true
                  },
                  "z": {
                    "formula": "string",
                    "isConstant": true
                  }
                },
                "type": "WALL"
              }
            ]
          },
          "position": {
            "x": 0.1,
            "y": 0.1,
            "z": 0.1
          },
          "rotation": {
            "x": 0.1,
            "y": 0.1,
            "z": 0.1
          },
          "staticModels": [
            {
              "exhaustiveOptions": [
                "string"
              ],
              "id": "string",
              "isEmpty": true,
              "isExhaustive": true,
              "name": "string",
              "parameters": [
                {
                  "name": "string",
                  "type": "string",
                  "value": null
                }
              ],
              "position": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "rotation": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "scale": 0.1
            }
          ],
          "typeId": "string",
          "variableValues": [
            {
              "id": "string",
              "value": 0.1
            }
          ],
          "volume": 0.1
        }
      ],
      "id": "string",
      "position": {
        "x": 0.1,
        "y": 0.1,
        "z": 0.1
      },
      "rotation": {
        "x": 0.1,
        "y": 0.1,
        "z": 0.1
      },
      "volume": 0.1
    }
  ],
  "facadeSurface": 0.1,
  "id": "string",
  "volume": 0.1
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}