feat: close ordered pairs and property codec batches
This commit is contained in:
527
config/freecad-property-direction-mutation.json
Normal file
527
config/freecad-property-direction-mutation.json
Normal file
@@ -0,0 +1,527 @@
|
||||
{
|
||||
"baselineId": "freecad-1.1.1-property-direction-mutation",
|
||||
"caseCount": 2,
|
||||
"cases": [
|
||||
{
|
||||
"caseId": "Mirroring",
|
||||
"editedValue": [
|
||||
0.25,
|
||||
-0.5,
|
||||
1.5
|
||||
],
|
||||
"geometryChanged": true,
|
||||
"geometryRestored": true,
|
||||
"objectName": "DirectionMirror",
|
||||
"objectTypeId": "Part::Mirroring",
|
||||
"objectsPreserved": true,
|
||||
"phases": {
|
||||
"afterRecompute": {
|
||||
"editorMode": [],
|
||||
"mustExecute": false,
|
||||
"objectSet": [
|
||||
{
|
||||
"name": "MirrorSource",
|
||||
"typeId": "Part::Box"
|
||||
},
|
||||
{
|
||||
"name": "DirectionMirror",
|
||||
"typeId": "Part::Mirroring"
|
||||
}
|
||||
],
|
||||
"objectState": [
|
||||
"Up-to-date"
|
||||
],
|
||||
"propertyStatus": [],
|
||||
"propertyTypeId": "App::PropertyDirection",
|
||||
"recomputeResult": true,
|
||||
"shape": {
|
||||
"area": 52.0,
|
||||
"bounds": [
|
||||
-1.170731707,
|
||||
0.0,
|
||||
-3.609756098,
|
||||
2.195121951,
|
||||
4.951219512,
|
||||
1.756097561
|
||||
],
|
||||
"brepSha256": "78c098a6fa65ccee51c306e1af3d908c067c4866d0a937f225b35e5c4f00ce7f",
|
||||
"edges": 12,
|
||||
"faces": 6,
|
||||
"isNull": false,
|
||||
"shapeType": "Solid",
|
||||
"solids": 1,
|
||||
"valid": true,
|
||||
"vertices": 8,
|
||||
"volume": 24.0
|
||||
},
|
||||
"statusString": "Valid",
|
||||
"value": [
|
||||
0.25,
|
||||
-0.5,
|
||||
1.5
|
||||
]
|
||||
},
|
||||
"afterRestoreRecompute": {
|
||||
"editorMode": [],
|
||||
"mustExecute": false,
|
||||
"objectSet": [
|
||||
{
|
||||
"name": "MirrorSource",
|
||||
"typeId": "Part::Box"
|
||||
},
|
||||
{
|
||||
"name": "DirectionMirror",
|
||||
"typeId": "Part::Mirroring"
|
||||
}
|
||||
],
|
||||
"objectState": [
|
||||
"Up-to-date"
|
||||
],
|
||||
"propertyStatus": [],
|
||||
"propertyTypeId": "App::PropertyDirection",
|
||||
"recomputeResult": true,
|
||||
"shape": {
|
||||
"area": 52.0,
|
||||
"bounds": [
|
||||
0.0,
|
||||
0.0,
|
||||
-4.0,
|
||||
2.0,
|
||||
3.0,
|
||||
0.0
|
||||
],
|
||||
"brepSha256": "ba65608213dd700751777e936c8f7cdd2b84a9e043a4deeec8e57eec3614b69b",
|
||||
"edges": 12,
|
||||
"faces": 6,
|
||||
"isNull": false,
|
||||
"shapeType": "Solid",
|
||||
"solids": 1,
|
||||
"valid": true,
|
||||
"vertices": 8,
|
||||
"volume": 24.0
|
||||
},
|
||||
"statusString": "Valid",
|
||||
"value": [
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
"afterRestoreSet": {
|
||||
"editorMode": [],
|
||||
"mustExecute": true,
|
||||
"objectSet": [
|
||||
{
|
||||
"name": "MirrorSource",
|
||||
"typeId": "Part::Box"
|
||||
},
|
||||
{
|
||||
"name": "DirectionMirror",
|
||||
"typeId": "Part::Mirroring"
|
||||
}
|
||||
],
|
||||
"objectState": [
|
||||
"Touched"
|
||||
],
|
||||
"propertyStatus": [],
|
||||
"propertyTypeId": "App::PropertyDirection",
|
||||
"recomputeResult": null,
|
||||
"shape": {
|
||||
"area": 52.0,
|
||||
"bounds": [
|
||||
0.0,
|
||||
0.0,
|
||||
-4.0,
|
||||
2.0,
|
||||
3.0,
|
||||
0.0
|
||||
],
|
||||
"brepSha256": "ba65608213dd700751777e936c8f7cdd2b84a9e043a4deeec8e57eec3614b69b",
|
||||
"edges": 12,
|
||||
"faces": 6,
|
||||
"isNull": false,
|
||||
"shapeType": "Solid",
|
||||
"solids": 1,
|
||||
"valid": true,
|
||||
"vertices": 8,
|
||||
"volume": 24.0
|
||||
},
|
||||
"statusString": "Touched",
|
||||
"value": [
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
"afterSet": {
|
||||
"editorMode": [],
|
||||
"mustExecute": true,
|
||||
"objectSet": [
|
||||
{
|
||||
"name": "MirrorSource",
|
||||
"typeId": "Part::Box"
|
||||
},
|
||||
{
|
||||
"name": "DirectionMirror",
|
||||
"typeId": "Part::Mirroring"
|
||||
}
|
||||
],
|
||||
"objectState": [
|
||||
"Touched"
|
||||
],
|
||||
"propertyStatus": [],
|
||||
"propertyTypeId": "App::PropertyDirection",
|
||||
"recomputeResult": null,
|
||||
"shape": {
|
||||
"area": 52.0,
|
||||
"bounds": [
|
||||
-1.170731707,
|
||||
0.0,
|
||||
-3.609756098,
|
||||
2.195121951,
|
||||
4.951219512,
|
||||
1.756097561
|
||||
],
|
||||
"brepSha256": "78c098a6fa65ccee51c306e1af3d908c067c4866d0a937f225b35e5c4f00ce7f",
|
||||
"edges": 12,
|
||||
"faces": 6,
|
||||
"isNull": false,
|
||||
"shapeType": "Solid",
|
||||
"solids": 1,
|
||||
"valid": true,
|
||||
"vertices": 8,
|
||||
"volume": 24.0
|
||||
},
|
||||
"statusString": "Touched",
|
||||
"value": [
|
||||
0.25,
|
||||
-0.5,
|
||||
1.5
|
||||
]
|
||||
},
|
||||
"before": {
|
||||
"editorMode": [],
|
||||
"mustExecute": false,
|
||||
"objectSet": [
|
||||
{
|
||||
"name": "MirrorSource",
|
||||
"typeId": "Part::Box"
|
||||
},
|
||||
{
|
||||
"name": "DirectionMirror",
|
||||
"typeId": "Part::Mirroring"
|
||||
}
|
||||
],
|
||||
"objectState": [
|
||||
"Up-to-date"
|
||||
],
|
||||
"propertyStatus": [],
|
||||
"propertyTypeId": "App::PropertyDirection",
|
||||
"recomputeResult": true,
|
||||
"shape": {
|
||||
"area": 52.0,
|
||||
"bounds": [
|
||||
0.0,
|
||||
0.0,
|
||||
-4.0,
|
||||
2.0,
|
||||
3.0,
|
||||
0.0
|
||||
],
|
||||
"brepSha256": "ba65608213dd700751777e936c8f7cdd2b84a9e043a4deeec8e57eec3614b69b",
|
||||
"edges": 12,
|
||||
"faces": 6,
|
||||
"isNull": false,
|
||||
"shapeType": "Solid",
|
||||
"solids": 1,
|
||||
"valid": true,
|
||||
"vertices": 8,
|
||||
"volume": 24.0
|
||||
},
|
||||
"statusString": "Valid",
|
||||
"value": [
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
}
|
||||
},
|
||||
"propertyName": "Normal",
|
||||
"valueChanged": true,
|
||||
"valueRestored": true
|
||||
},
|
||||
{
|
||||
"caseId": "ProjectOnSurface",
|
||||
"editedValue": [
|
||||
0.25,
|
||||
-0.5,
|
||||
1.5
|
||||
],
|
||||
"geometryChanged": true,
|
||||
"geometryRestored": true,
|
||||
"objectName": "DirectionProjection",
|
||||
"objectTypeId": "Part::ProjectOnSurface",
|
||||
"objectsPreserved": true,
|
||||
"phases": {
|
||||
"afterRecompute": {
|
||||
"editorMode": [],
|
||||
"mustExecute": false,
|
||||
"objectSet": [
|
||||
{
|
||||
"name": "ProjectionSupport",
|
||||
"typeId": "Part::Feature"
|
||||
},
|
||||
{
|
||||
"name": "ProjectionWire",
|
||||
"typeId": "Part::Feature"
|
||||
},
|
||||
{
|
||||
"name": "DirectionProjection",
|
||||
"typeId": "Part::ProjectOnSurface"
|
||||
}
|
||||
],
|
||||
"objectState": [
|
||||
"Up-to-date"
|
||||
],
|
||||
"propertyStatus": [],
|
||||
"propertyTypeId": "App::PropertyDirection",
|
||||
"recomputeResult": true,
|
||||
"shape": {
|
||||
"area": 0.0,
|
||||
"bounds": [
|
||||
-3.166666667,
|
||||
-4.666666667,
|
||||
-0.0,
|
||||
4.833333333,
|
||||
1.333333333,
|
||||
0.0
|
||||
],
|
||||
"brepSha256": "3c78808d667362064af03623580275fc042383070d13822c577066173f4ea7d8",
|
||||
"edges": 4,
|
||||
"faces": 0,
|
||||
"isNull": false,
|
||||
"shapeType": "Compound",
|
||||
"solids": 0,
|
||||
"valid": true,
|
||||
"vertices": 4,
|
||||
"volume": 0.0
|
||||
},
|
||||
"statusString": "Valid",
|
||||
"value": [
|
||||
0.25,
|
||||
-0.5,
|
||||
1.5
|
||||
]
|
||||
},
|
||||
"afterRestoreRecompute": {
|
||||
"editorMode": [],
|
||||
"mustExecute": false,
|
||||
"objectSet": [
|
||||
{
|
||||
"name": "ProjectionSupport",
|
||||
"typeId": "Part::Feature"
|
||||
},
|
||||
{
|
||||
"name": "ProjectionWire",
|
||||
"typeId": "Part::Feature"
|
||||
},
|
||||
{
|
||||
"name": "DirectionProjection",
|
||||
"typeId": "Part::ProjectOnSurface"
|
||||
}
|
||||
],
|
||||
"objectState": [
|
||||
"Up-to-date"
|
||||
],
|
||||
"propertyStatus": [],
|
||||
"propertyTypeId": "App::PropertyDirection",
|
||||
"recomputeResult": true,
|
||||
"shape": {
|
||||
"area": 0.0,
|
||||
"bounds": [
|
||||
-4.0,
|
||||
-3.0,
|
||||
0.0,
|
||||
4.0,
|
||||
3.0,
|
||||
0.0
|
||||
],
|
||||
"brepSha256": "ba5241977c38224f66ffb495b32d3468bdcde322f177ed8047ddac5423d197de",
|
||||
"edges": 4,
|
||||
"faces": 0,
|
||||
"isNull": false,
|
||||
"shapeType": "Compound",
|
||||
"solids": 0,
|
||||
"valid": true,
|
||||
"vertices": 4,
|
||||
"volume": 0.0
|
||||
},
|
||||
"statusString": "Valid",
|
||||
"value": [
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
"afterRestoreSet": {
|
||||
"editorMode": [],
|
||||
"mustExecute": false,
|
||||
"objectSet": [
|
||||
{
|
||||
"name": "ProjectionSupport",
|
||||
"typeId": "Part::Feature"
|
||||
},
|
||||
{
|
||||
"name": "ProjectionWire",
|
||||
"typeId": "Part::Feature"
|
||||
},
|
||||
{
|
||||
"name": "DirectionProjection",
|
||||
"typeId": "Part::ProjectOnSurface"
|
||||
}
|
||||
],
|
||||
"objectState": [
|
||||
"Touched"
|
||||
],
|
||||
"propertyStatus": [],
|
||||
"propertyTypeId": "App::PropertyDirection",
|
||||
"recomputeResult": null,
|
||||
"shape": {
|
||||
"area": 0.0,
|
||||
"bounds": [
|
||||
-3.166666667,
|
||||
-4.666666667,
|
||||
-0.0,
|
||||
4.833333333,
|
||||
1.333333333,
|
||||
0.0
|
||||
],
|
||||
"brepSha256": "3c78808d667362064af03623580275fc042383070d13822c577066173f4ea7d8",
|
||||
"edges": 4,
|
||||
"faces": 0,
|
||||
"isNull": false,
|
||||
"shapeType": "Compound",
|
||||
"solids": 0,
|
||||
"valid": true,
|
||||
"vertices": 4,
|
||||
"volume": 0.0
|
||||
},
|
||||
"statusString": "Touched",
|
||||
"value": [
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
"afterSet": {
|
||||
"editorMode": [],
|
||||
"mustExecute": false,
|
||||
"objectSet": [
|
||||
{
|
||||
"name": "ProjectionSupport",
|
||||
"typeId": "Part::Feature"
|
||||
},
|
||||
{
|
||||
"name": "ProjectionWire",
|
||||
"typeId": "Part::Feature"
|
||||
},
|
||||
{
|
||||
"name": "DirectionProjection",
|
||||
"typeId": "Part::ProjectOnSurface"
|
||||
}
|
||||
],
|
||||
"objectState": [
|
||||
"Touched"
|
||||
],
|
||||
"propertyStatus": [],
|
||||
"propertyTypeId": "App::PropertyDirection",
|
||||
"recomputeResult": null,
|
||||
"shape": {
|
||||
"area": 0.0,
|
||||
"bounds": [
|
||||
-4.0,
|
||||
-3.0,
|
||||
0.0,
|
||||
4.0,
|
||||
3.0,
|
||||
0.0
|
||||
],
|
||||
"brepSha256": "ba5241977c38224f66ffb495b32d3468bdcde322f177ed8047ddac5423d197de",
|
||||
"edges": 4,
|
||||
"faces": 0,
|
||||
"isNull": false,
|
||||
"shapeType": "Compound",
|
||||
"solids": 0,
|
||||
"valid": true,
|
||||
"vertices": 4,
|
||||
"volume": 0.0
|
||||
},
|
||||
"statusString": "Touched",
|
||||
"value": [
|
||||
0.25,
|
||||
-0.5,
|
||||
1.5
|
||||
]
|
||||
},
|
||||
"before": {
|
||||
"editorMode": [],
|
||||
"mustExecute": false,
|
||||
"objectSet": [
|
||||
{
|
||||
"name": "ProjectionSupport",
|
||||
"typeId": "Part::Feature"
|
||||
},
|
||||
{
|
||||
"name": "ProjectionWire",
|
||||
"typeId": "Part::Feature"
|
||||
},
|
||||
{
|
||||
"name": "DirectionProjection",
|
||||
"typeId": "Part::ProjectOnSurface"
|
||||
}
|
||||
],
|
||||
"objectState": [
|
||||
"Up-to-date"
|
||||
],
|
||||
"propertyStatus": [],
|
||||
"propertyTypeId": "App::PropertyDirection",
|
||||
"recomputeResult": true,
|
||||
"shape": {
|
||||
"area": 0.0,
|
||||
"bounds": [
|
||||
-4.0,
|
||||
-3.0,
|
||||
0.0,
|
||||
4.0,
|
||||
3.0,
|
||||
0.0
|
||||
],
|
||||
"brepSha256": "ba5241977c38224f66ffb495b32d3468bdcde322f177ed8047ddac5423d197de",
|
||||
"edges": 4,
|
||||
"faces": 0,
|
||||
"isNull": false,
|
||||
"shapeType": "Compound",
|
||||
"solids": 0,
|
||||
"valid": true,
|
||||
"vertices": 4,
|
||||
"volume": 0.0
|
||||
},
|
||||
"statusString": "Valid",
|
||||
"value": [
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
}
|
||||
},
|
||||
"propertyName": "Direction",
|
||||
"valueChanged": true,
|
||||
"valueRestored": true
|
||||
}
|
||||
],
|
||||
"freecadVersion": "1.1.1",
|
||||
"gitCommit": "0108fd4b4850cc46e625b60e53cea7a7bbe69f8d",
|
||||
"propertyType": "App::PropertyDirection",
|
||||
"schemaVersion": 1,
|
||||
"status": "pass"
|
||||
}
|
||||
Reference in New Issue
Block a user