Files
cdsl-cad/json_to_cdsl/output/M5-x-20-Socket-Head-Screw.cdsl.json
2026-08-24 14:52:08 +08:00

312 lines
7.2 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "M5-x-20-Socket-Head-Screw",
"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_紧固件/0102_螺钉/010299_通用螺钉/M5 x 20 Socket Head Screw.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.000558343998701216,
"volume": 5.58343998701216e-07,
"surface_area": 0.0007876551803534159,
"center_of_mass": [
-4.742806410437375e-09,
7.302312699695435e-08,
0.002896090369939135
],
"principal_moments": [
3.188483394570133e-09,
3.3019472365914763e-08,
3.3019501674060955e-08
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.004250000000013188,
-0.004250000000013188,
-0.012499999999988631,
0.004250000000013188,
0.004250000000013188,
0.012730540045708772
],
"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.004250000000013188,
-0.004250000000013188,
-0.012499999999988631,
0.004250000000013188,
0.004250000000013188,
0.012730540045708772
],
"face_count": 409,
"edge_count": 906,
"vertex_count": 596
},
"stable_id": "e7c660540d9b751b0168bd238d38ea4f30e335295d3f241d0c885d54707288d6"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 514,
"surface_counts": {
"bspline": 2,
"cone": 17,
"cylinder": 101,
"plane": 394
},
"axis_count": 118,
"repeat_spacings_mm": [
{
"spacing_mm": 0.25,
"pair_count": 2
},
{
"spacing_mm": 4.75,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-4.25,
-4.25,
-12.5000001,
4.25,
4.25,
12.5000001
],
"volume_mm3": 558.343141021,
"surface_area_mm2": 787.648829199,
"solid_count": 1,
"face_count": 514,
"edge_count": 1228,
"vertex_count": 812
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-4.25,
-4.25,
-12.5,
4.25,
4.25,
12.730540046
],
"volume_mm3": 558.343998701,
"surface_area_mm2": 787.655180353,
"solid_count": 1,
"face_count": 409,
"edge_count": 906,
"vertex_count": 596
},
"comparisons": {
"volume_mm3": {
"expected": 558.343998701,
"actual": 558.343141021,
"absolute_delta": 0.0008576800000810181,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 787.655180353,
"actual": 787.648829199,
"absolute_delta": 0.006351153999958115,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-4.25,
-4.25,
-12.5,
4.25,
4.25,
12.730540046
],
"actual": [
-4.25,
-4.25,
-12.5000001,
4.25,
4.25,
12.5000001
],
"max_absolute_delta": 0.23053994600000038,
"within_tolerance": false
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 409,
"actual": 514,
"matches": false
},
"edge_count": {
"expected": 906,
"actual": 1228,
"matches": false
},
"vertex_count": {
"expected": 596,
"actual": 812,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}