curl --location --request POST 'https://api.cubi.casa/exporter/floorplan/' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"globalModelOptions": {
"unit": "ft",
"showSpaceLabels": true,
"areaLabelType": "detail",
"outerMeasurements": false,
"noLabelsAndDimensionsForSpaceTypes": [
"Undefined",
"Outdoor",
"CrawlSpace"
],
"noDimensionsForSpaceTypes": [
"Terrace",
"Balcony",
"Deck",
"Patio",
"Porch",
"Yard",
"Veranda",
"SwimmingPool",
"OpenToBelow"
],
"dimensions": {
"text": true,
"markers": false
},
"area": false,
"areaSpecification": "GIA",
"noFloorLabelInSingleFloorCompose": false,
"swingDoorOpeningAngle": 0,
"elementStyles": {
"Space": {
"style": {
"fill": "#ffffff",
"stroke": "#ffffff",
"fill-opacity": 1,
"stroke-opacity": 1,
"stroke-width": 1.8
},
"spaceTypeStyle": {
"CrawlSpace": {
"fill": "#ffffff",
"stroke": "#000000",
"fill-opacity": 1,
"stroke-opacity": 1,
"stroke-width": 1.8,
"stroke-dasharray": "5, 5, 1, 5"
},
"Balcony": {
"fill": "#ffffff",
"fill-opacity": 1,
"stroke": "#000000",
"stroke-opacity": 1,
"stroke-width": 1
},
"CarPort": {
"fill": "#ffffff",
"stroke": "#000000",
"stroke-width": 1,
"fill-opacity": 1,
"stroke-opacity": 1
},
"Court": {
"fill": "#ffffff",
"fill-opacity": 1,
"stroke": "#000000",
"stroke-opacity": 1,
"stroke-width": 1
},
"Courtyard": {
"fill": "#ffffff",
"fill-opacity": 1,
"stroke": "#000000",
"stroke-opacity": 1,
"stroke-width": 1
},
"CoveredDeck": {
"fill": "#ffffff",
"fill-opacity": 1,
"stroke": "#000000",
"stroke-opacity": 1,
"stroke-width": 1
},
"CoveredPatio": {
"fill": "#ffffff",
"fill-opacity": 1,
"stroke": "#000000",
"stroke-opacity": 1,
"stroke-width": 1
},
"CoveredTerrace": {
"fill": "#ffffff",
"fill-opacity": 1,
"stroke": "#000000",
"stroke-opacity": 1,
"stroke-width": 1
},
"Deck": {
"fill": "#ffffff",
"fill-opacity": 1,
"stroke": "#000000",
"stroke-opacity": 1,
"stroke-width": 1
},
"Garden": {
"fill": "#ffffff",
"fill-opacity": 1,
"stroke": "#000000",
"stroke-opacity": 1,
"stroke-width": 1
},
"Outdoor": {
"fill": "#ffffff",
"fill-opacity": 1,
"stroke": "#000000",
"stroke-opacity": 1,
"stroke-width": 1
},
"Patio": {
"fill": "#ffffff",
"fill-opacity": 1,
"stroke": "#000000",
"stroke-opacity": 1,
"stroke-width": 1
},
"Porch": {
"fill": "#ffffff",
"fill-opacity": 1,
"stroke": "#000000",
"stroke-opacity": 1,
"stroke-width": 1
},
"RoofTop": {
"fill": "#ffffff",
"fill-opacity": 1,
"stroke": "#000000",
"stroke-opacity": 1,
"stroke-width": 1
},
"ScreenedBalcony": {
"fill": "#ffffff",
"fill-opacity": 1,
"stroke": "#000000",
"stroke-opacity": 1,
"stroke-width": 1
},
"ScreenedPorch": {
"fill": "#ffffff",
"fill-opacity": 1,
"stroke": "#000000",
"stroke-opacity": 1,
"stroke-width": 1
},
"ScreenedTerrace": {
"fill": "#ffffff",
"fill-opacity": 1,
"stroke": "#000000",
"stroke-opacity": 1,
"stroke-width": 1
},
"Terrace": {
"fill": "#ffffff",
"fill-opacity": 1,
"stroke": "#000000",
"stroke-opacity": 1,
"stroke-width": 1
},
"Veranda": {
"fill": "#ffffff",
"fill-opacity": 1,
"stroke": "#000000",
"stroke-opacity": 1,
"stroke-width": 1
},
"Yard": {
"fill": "#ffffff",
"fill-opacity": 1,
"stroke": "#000000",
"stroke-opacity": 1,
"stroke-width": 1
}
}
},
"Wall": {
"style": {
"fill": "#000000",
"stroke": "#000000",
"fill-opacity": 1,
"stroke-opacity": 1,
"stroke-width": 1
}
},
"Column": {
"style": {
"fill": "#000000",
"stroke": "none",
"fill-opacity": 1
}
},
"Railing": {
"style": {
"fill": "#ffffff",
"stroke": "#000000",
"fill-opacity": 1,
"stroke-opacity": 1,
"stroke-width": 1.3
}
},
"FixedFurniture": {
"style": {
"fill": "#ffffff",
"stroke": "#000000",
"fill-opacity": 0,
"stroke-opacity": 0,
"stroke-width": 1.8
}
},
"Stairs": {
"style": {
"fill": "#ffffff",
"stroke": "#000000",
"fill-opacity": 1,
"stroke-opacity": 1
}
},
"StairRailing": {
"style": {
"fill": "#ffffff",
"stroke": "#000000",
"fill-opacity": 1,
"stroke-opacity": 1
}
},
"Window": {
"style": {
"fill": "#ffffff",
"stroke": "#000000",
"fill-opacity": 1,
"stroke-opacity": 1
}
},
"Door": {
"style": {
"fill": "#ffffff",
"stroke": "#000000",
"fill-opacity": 1,
"stroke-opacity": 1
}
},
"AdditionalElement": {
"style": {
"fill": "#ffffff",
"stroke": "#000000",
"fill-opacity": 1,
"stroke-opacity": 1,
"stroke-width": 1.8
}
}
}
},
"exports": [
{
"zip": false,
"loc": "en-pr",
"fileNamePrefix": "Lite",
"singleFloor": {
"resolution": {
"width": 4000,
"height": 3000
},
"backgroundColor": "#ffffff",
"backgroundOpacity": 1,
"format": "png",
"dpi": 144,
"layout": {
"height": 0.82,
"width": 0.94,
"top": 0.03,
"left": 0.03
},
"overlay": {
"overlayLabels": [
{
"type": "text",
"text": {
"en": [
"MEASUREMENTS ARE CALCULATED BY CUBICASA TECHNOLOGY. DEEMED HIGHLY RELIABLE BUT NOT GUARANTEED."
]
},
"color": "#AAAAAA",
"layout": {
"height": 0.017,
"bottom": 0.03
}
}
]
}
},
"compose": {
"resolution": {
"width": 4000,
"height": 3000
},
"backgroundColor": "#ffffff",
"backgroundOpacity": 1,
"format": "png",
"dpi": 144,
"layout": {
"height": 0.82,
"width": 0.94,
"top": 0.03,
"left": 0.03
},
"overlay": {
"overlayLabels": [
{
"type": "text",
"text": {
"en": [
"MEASUREMENTS ARE CALCULATED BY CUBICASA TECHNOLOGY. DEEMED HIGHLY RELIABLE BUT NOT GUARANTEED."
]
},
"color": "#AAAAAA",
"layout": {
"height": 0.017,
"bottom": 0.03
}
}
]
}
}
}
]
}'
{
"0": {
"png": [
"https://s3-us-west-2.amazonaws.com/cubi.casa.exporter.output/ecb4df1cc129c8ec3aef9ed2cc6f345/Some address_0.png"
]
}
}