Files
cdsl-cad/json_to_cdsl/output/DIN-934---M5-x-0-8.cdsl.json
T
2026-08-24 14:52:08 +08:00

302 lines
6.9 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "DIN-934---M5-x-0-8",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "原点",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
1.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": []
}
}
]
},
"features": [
{
"id": "f_001",
"name": "前视基准面",
"atomic_id": "reference_plane",
"depends_on": [],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
0.0
],
"normal": [
0.0,
1.0,
0.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10
},
"execution_status": "deferred"
},
{
"id": "f_002",
"name": "上视基准面",
"atomic_id": "reference_plane",
"depends_on": [
"f_001"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10
},
"execution_status": "deferred"
},
{
"id": "f_003",
"name": "右视基准面",
"atomic_id": "reference_plane",
"depends_on": [
"f_002"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
0.0
],
"normal": [
1.0,
0.0,
0.0
],
"x_dir": [
0.0,
1.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0103_螺母/010313_DIN934六角螺母/DIN 934 - M5 x 0,8.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.00015686578272303646,
"volume": 1.5686578272303646e-07,
"surface_area": 0.0002221614079910572,
"center_of_mass": [
0.002,
1.1895539659790695e-18,
-1.0524897172180889e-18
],
"principal_moments": [
1.0328630852118158e-09,
1.0328728361321097e-09,
1.6934106048861495e-09
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.00461880215351701,
-0.0040000000000000105,
0.004,
0.00461880215351701,
0.004000000000000001
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "输入1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABqAAAA",
"persist_reference_sha256": "e7c660540d9b751b0168bd238d38ea4f30e335295d3f241d0c885d54707288d6",
"component": null,
"geometry": {
"box": [
0.0,
-0.00461880215351701,
-0.0040000000000000105,
0.004,
0.00461880215351701,
0.004000000000000001
],
"face_count": 13,
"edge_count": 24,
"vertex_count": 12
},
"stable_id": "e7c660540d9b751b0168bd238d38ea4f30e335295d3f241d0c885d54707288d6"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 18,
"surface_counts": {
"cone": 8,
"cylinder": 2,
"plane": 8
},
"axis_count": 10,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-1e-07,
-4.618802254,
-4.0000001,
4.0000001,
4.618802254,
4.0000001
],
"volume_mm3": 156.850855688,
"surface_area_mm2": 222.14999925,
"solid_count": 1,
"face_count": 18,
"edge_count": 44,
"vertex_count": 28
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-4.618802154,
-4.0,
4.0,
4.618802154,
4.0
],
"volume_mm3": 156.865782723,
"surface_area_mm2": 222.161407991,
"solid_count": 1,
"face_count": 13,
"edge_count": 24,
"vertex_count": 12
},
"comparisons": {
"volume_mm3": {
"expected": 156.865782723,
"actual": 156.850855688,
"absolute_delta": 0.014927034999999478,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 222.161407991,
"actual": 222.14999925,
"absolute_delta": 0.01140874099999678,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-4.618802154,
-4.0,
4.0,
4.618802154,
4.0
],
"actual": [
-1e-07,
-4.618802254,
-4.0000001,
4.0000001,
4.618802254,
4.0000001
],
"max_absolute_delta": 1.0000000028043132e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 13,
"actual": 18,
"matches": false
},
"edge_count": {
"expected": 24,
"actual": 44,
"matches": false
},
"vertex_count": {
"expected": 12,
"actual": 28,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}