feat: close ordered pairs and property codec batches
This commit is contained in:
315
config/freecad-property-area-success.json
Normal file
315
config/freecad-property-area-success.json
Normal file
@@ -0,0 +1,315 @@
|
||||
{
|
||||
"baselineId": "freecad-1.1.1-property-area-success",
|
||||
"cases": [
|
||||
{
|
||||
"areaTypeId": "App::PropertyArea",
|
||||
"editorMode": [
|
||||
"ReadOnly"
|
||||
],
|
||||
"elements": [],
|
||||
"elementsTypeId": "App::PropertyLinkSubList",
|
||||
"expectedArea": 0,
|
||||
"id": "empty-default",
|
||||
"object": {
|
||||
"name": "AreaProbe",
|
||||
"state": [
|
||||
"Up-to-date"
|
||||
],
|
||||
"status": "Valid",
|
||||
"typeId": "Measure::MeasureArea"
|
||||
},
|
||||
"propertyStatus": [
|
||||
"24",
|
||||
"27"
|
||||
],
|
||||
"shape": {
|
||||
"applicable": false
|
||||
},
|
||||
"value": {
|
||||
"numeric": 0,
|
||||
"raw": "0.0 mm^2",
|
||||
"unit": "Unit: mm^2 (2,0,0,0,0,0,0,0) [Area]"
|
||||
}
|
||||
},
|
||||
{
|
||||
"areaTypeId": "App::PropertyArea",
|
||||
"editorMode": [
|
||||
"ReadOnly"
|
||||
],
|
||||
"elements": [
|
||||
{
|
||||
"area": 10,
|
||||
"edges": 4,
|
||||
"faces": 1,
|
||||
"object": "AreaBox",
|
||||
"shapeNull": false,
|
||||
"shapeType": "Face",
|
||||
"shapeValid": true,
|
||||
"subElement": "Face1",
|
||||
"vertices": 4
|
||||
}
|
||||
],
|
||||
"elementsTypeId": "App::PropertyLinkSubList",
|
||||
"expectedArea": 10,
|
||||
"id": "planar-face",
|
||||
"object": {
|
||||
"name": "AreaProbe",
|
||||
"state": [
|
||||
"Up-to-date"
|
||||
],
|
||||
"status": "Valid",
|
||||
"typeId": "Measure::MeasureArea"
|
||||
},
|
||||
"propertyStatus": [
|
||||
"24",
|
||||
"27"
|
||||
],
|
||||
"shape": {
|
||||
"applicable": false
|
||||
},
|
||||
"value": {
|
||||
"numeric": 10,
|
||||
"raw": "10.0 mm^2",
|
||||
"unit": "Unit: mm^2 (2,0,0,0,0,0,0,0) [Area]"
|
||||
}
|
||||
},
|
||||
{
|
||||
"areaTypeId": "App::PropertyArea",
|
||||
"editorMode": [
|
||||
"ReadOnly"
|
||||
],
|
||||
"elements": [
|
||||
{
|
||||
"area": 75.398223686,
|
||||
"edges": 3,
|
||||
"faces": 1,
|
||||
"object": "AreaCylinder",
|
||||
"shapeNull": false,
|
||||
"shapeType": "Face",
|
||||
"shapeValid": true,
|
||||
"subElement": "Face1",
|
||||
"vertices": 2
|
||||
}
|
||||
],
|
||||
"elementsTypeId": "App::PropertyLinkSubList",
|
||||
"expectedArea": 75.398223686,
|
||||
"id": "cylindrical-face",
|
||||
"object": {
|
||||
"name": "AreaProbe",
|
||||
"state": [
|
||||
"Up-to-date"
|
||||
],
|
||||
"status": "Valid",
|
||||
"typeId": "Measure::MeasureArea"
|
||||
},
|
||||
"propertyStatus": [
|
||||
"24",
|
||||
"27"
|
||||
],
|
||||
"shape": {
|
||||
"applicable": false
|
||||
},
|
||||
"value": {
|
||||
"numeric": 75.398223877,
|
||||
"raw": "75.39822387695312 mm^2",
|
||||
"unit": "Unit: mm^2 (2,0,0,0,0,0,0,0) [Area]"
|
||||
}
|
||||
},
|
||||
{
|
||||
"areaTypeId": "App::PropertyArea",
|
||||
"editorMode": [
|
||||
"ReadOnly"
|
||||
],
|
||||
"elements": [
|
||||
{
|
||||
"area": 50.265482457,
|
||||
"edges": 3,
|
||||
"faces": 1,
|
||||
"object": "AreaSphere",
|
||||
"shapeNull": false,
|
||||
"shapeType": "Face",
|
||||
"shapeValid": true,
|
||||
"subElement": "Face1",
|
||||
"vertices": 2
|
||||
}
|
||||
],
|
||||
"elementsTypeId": "App::PropertyLinkSubList",
|
||||
"expectedArea": 50.265482457,
|
||||
"id": "surface-face",
|
||||
"object": {
|
||||
"name": "AreaProbe",
|
||||
"state": [
|
||||
"Up-to-date"
|
||||
],
|
||||
"status": "Valid",
|
||||
"typeId": "Measure::MeasureArea"
|
||||
},
|
||||
"propertyStatus": [
|
||||
"24",
|
||||
"27"
|
||||
],
|
||||
"shape": {
|
||||
"applicable": false
|
||||
},
|
||||
"value": {
|
||||
"numeric": 50.265483856,
|
||||
"raw": "50.26548385620117 mm^2",
|
||||
"unit": "Unit: mm^2 (2,0,0,0,0,0,0,0) [Area]"
|
||||
}
|
||||
},
|
||||
{
|
||||
"areaTypeId": "App::PropertyArea",
|
||||
"editorMode": [
|
||||
"ReadOnly"
|
||||
],
|
||||
"elements": [
|
||||
{
|
||||
"area": 160,
|
||||
"edges": 12,
|
||||
"faces": 6,
|
||||
"object": "AreaBox",
|
||||
"shapeNull": false,
|
||||
"shapeType": "Solid",
|
||||
"shapeValid": true,
|
||||
"subElement": "",
|
||||
"vertices": 8
|
||||
}
|
||||
],
|
||||
"elementsTypeId": "App::PropertyLinkSubList",
|
||||
"expectedArea": 160,
|
||||
"id": "solid-volume",
|
||||
"object": {
|
||||
"name": "AreaProbe",
|
||||
"state": [
|
||||
"Up-to-date"
|
||||
],
|
||||
"status": "Valid",
|
||||
"typeId": "Measure::MeasureArea"
|
||||
},
|
||||
"propertyStatus": [
|
||||
"24",
|
||||
"27"
|
||||
],
|
||||
"shape": {
|
||||
"applicable": false
|
||||
},
|
||||
"value": {
|
||||
"numeric": 160,
|
||||
"raw": "160.0 mm^2",
|
||||
"unit": "Unit: mm^2 (2,0,0,0,0,0,0,0) [Area]"
|
||||
}
|
||||
},
|
||||
{
|
||||
"areaTypeId": "App::PropertyArea",
|
||||
"editorMode": [
|
||||
"ReadOnly"
|
||||
],
|
||||
"elements": [
|
||||
{
|
||||
"area": 10,
|
||||
"edges": 4,
|
||||
"faces": 1,
|
||||
"object": "AreaBox",
|
||||
"shapeNull": false,
|
||||
"shapeType": "Face",
|
||||
"shapeValid": true,
|
||||
"subElement": "Face1",
|
||||
"vertices": 4
|
||||
},
|
||||
{
|
||||
"area": 10,
|
||||
"edges": 4,
|
||||
"faces": 1,
|
||||
"object": "AreaBox",
|
||||
"shapeNull": false,
|
||||
"shapeType": "Face",
|
||||
"shapeValid": true,
|
||||
"subElement": "Face2",
|
||||
"vertices": 4
|
||||
},
|
||||
{
|
||||
"area": 75.398223686,
|
||||
"edges": 3,
|
||||
"faces": 1,
|
||||
"object": "AreaCylinder",
|
||||
"shapeNull": false,
|
||||
"shapeType": "Face",
|
||||
"shapeValid": true,
|
||||
"subElement": "Face1",
|
||||
"vertices": 2
|
||||
}
|
||||
],
|
||||
"elementsTypeId": "App::PropertyLinkSubList",
|
||||
"expectedArea": 95.398223686,
|
||||
"id": "multi-element-sum",
|
||||
"object": {
|
||||
"name": "AreaProbe",
|
||||
"state": [
|
||||
"Up-to-date"
|
||||
],
|
||||
"status": "Valid",
|
||||
"typeId": "Measure::MeasureArea"
|
||||
},
|
||||
"propertyStatus": [
|
||||
"24",
|
||||
"27"
|
||||
],
|
||||
"shape": {
|
||||
"applicable": false
|
||||
},
|
||||
"value": {
|
||||
"numeric": 95.398223877,
|
||||
"raw": "95.39822387695312 mm^2",
|
||||
"unit": "Unit: mm^2 (2,0,0,0,0,0,0,0) [Area]"
|
||||
}
|
||||
}
|
||||
],
|
||||
"diagnostics": {
|
||||
"documentObjectCount": 4,
|
||||
"exception": null
|
||||
},
|
||||
"freecadVersion": "1.1.1",
|
||||
"gitCommit": "0108fd4b4850cc46e625b60e53cea7a7bbe69f8d",
|
||||
"input": {
|
||||
"group": "Measurement",
|
||||
"name": "Elements",
|
||||
"typeId": "App::PropertyLinkSubList"
|
||||
},
|
||||
"object": {
|
||||
"name": "AreaProbe",
|
||||
"typeId": "Measure::MeasureArea"
|
||||
},
|
||||
"property": {
|
||||
"group": "Measurement",
|
||||
"name": "Area",
|
||||
"typeId": "App::PropertyArea"
|
||||
},
|
||||
"schemaVersion": 1,
|
||||
"sources": [
|
||||
{
|
||||
"name": "AreaBox",
|
||||
"state": [
|
||||
"Up-to-date"
|
||||
],
|
||||
"status": "Valid",
|
||||
"typeId": "Part::Box"
|
||||
},
|
||||
{
|
||||
"name": "AreaCylinder",
|
||||
"state": [
|
||||
"Up-to-date"
|
||||
],
|
||||
"status": "Valid",
|
||||
"typeId": "Part::Cylinder"
|
||||
},
|
||||
{
|
||||
"name": "AreaSphere",
|
||||
"state": [
|
||||
"Up-to-date"
|
||||
],
|
||||
"status": "Valid",
|
||||
"typeId": "Part::Sphere"
|
||||
}
|
||||
],
|
||||
"status": "pass"
|
||||
}
|
||||
Reference in New Issue
Block a user