Files
solidcraft/examples/material-card.json
T
selune 95a56ca00e Persist validated engineering cards independently of mass and optics (#1060)
Render constituent under #5493. Fixes #1048. One pending material-engineering-cards descriptor, immutable released migrations, independent assigned density and source conditions. Nine persistence and ten physical-card regressions plus the fresh quick gate pass. Additional native follow-up is reported separately; no full-stack acceptance is implied.
2026-10-23 20:49:32 +02:00

76 lines
1.7 KiB
JSON

{
"commands": [
{
"params": {
"height": 5,
"width": 20,
"length": 10,
"body_name": "Specimen"
},
"command": "solid.box"
},
{
"params": {
"physical_card": {
"family": "other",
"sources": [
{
"kind": "illustrative",
"id": "fixture",
"license": "MIT OR Apache-2.0",
"title": "Original illustrative constants"
}
],
"properties": [
{
"source_id": "fixture",
"data": {
"kind": "density",
"kg_m3": 700.0
},
"conditions": {
"state": "synthetic",
"temperature_k": 293.15
}
},
{
"source_id": "fixture",
"data": {
"kind": "elasticity",
"model": {
"poisson_ratio": 0.25,
"symmetry": "isotropic",
"young_modulus_pa": 12250000000.0
}
}
}
],
"schema_version": 1,
"designation": "Original synthetic isotropic card - not design data"
},
"name": "Synthetic candidate",
"color": "#b47846",
"density_g_cm3": 0.8
},
"command": "material.create"
},
{
"params": {
"bodies": [
"Specimen"
],
"material": "Synthetic candidate"
},
"command": "material.assign"
},
{
"params": {},
"command": "material.list"
},
{
"params": {},
"command": "component.properties"
}
]
}