Files
cdsl-cad/json_to_cdsl/output/051936.cdsl.json
T
2026-08-21 11:13:18 +08:00

437 lines
9.5 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "051936",
"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": []
}
},
{
"id": "sk_002",
"name": "草图1",
"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": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
40.0,
-230.0
],
"end": [
-40.0,
-230.0
]
},
{
"type": "line",
"start": [
-40.0,
-230.0
],
"end": [
-40.0,
230.0
]
},
{
"type": "line",
"start": [
-40.0,
230.0
],
"end": [
40.0,
230.0
]
},
{
"type": "line",
"start": [
40.0,
230.0
],
"end": [
40.0,
-230.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
40.0,
-230.0
],
"end": [
-40.0,
230.0
]
},
{
"type": "line",
"start": [
40.0,
230.0
],
"end": [
-40.0,
-230.0
]
}
]
}
}
]
},
"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_004",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 12.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"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"
},
{
"id": "f_005",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 5.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "051936.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 3.4686180000000006,
"volume": 0.0004413000000000001,
"surface_area": 0.08643970562748478,
"center_of_mass": [
1.5737210349515348e-17,
-0.00015522320416976157,
0.0
],
"principal_moments": [
0.0018893423909999967,
0.061123476417274517,
0.06292957197627466
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.03999999999999999,
-0.23000000000000032,
-0.006,
0.040000000000000015,
0.22999999999999976,
0.006
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAAB8AAAA",
"persist_reference_sha256": "1b3384057ca4ebd663e956f35b9b88172aef4df3e5b45cc7dbfe8ae0c46f8e6a",
"component": null,
"geometry": {
"box": [
-0.03999999999999999,
-0.2300000000000003,
-0.006,
0.040000000000000015,
0.22999999999999976,
0.006
],
"face_count": 8,
"edge_count": 18,
"vertex_count": 12
},
"stable_id": "1b3384057ca4ebd663e956f35b9b88172aef4df3e5b45cc7dbfe8ae0c46f8e6a"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 8,
"surface_counts": {
"plane": 8
},
"axis_count": 0,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-40.0,
-230.0,
-6.0,
40.0,
230.0,
6.0
],
"volume_mm3": 441300.0,
"surface_area_mm2": 86439.705627485,
"solid_count": 1,
"face_count": 8,
"edge_count": 18,
"vertex_count": 12
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-40.0,
-230.0,
-6.0,
40.0,
230.0,
6.0
],
"volume_mm3": 441300.0,
"surface_area_mm2": 86439.705627485,
"solid_count": 1,
"face_count": 8,
"edge_count": 18,
"vertex_count": 12
},
"comparisons": {
"volume_mm3": {
"expected": 441300.0,
"actual": 441300.0,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 86439.705627485,
"actual": 86439.705627485,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-40.0,
-230.0,
-6.0,
40.0,
230.0,
6.0
],
"actual": [
-40.0,
-230.0,
-6.0,
40.0,
230.0,
6.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 8,
"actual": 8,
"matches": true
},
"edge_count": {
"expected": 18,
"actual": 18,
"matches": true
},
"vertex_count": {
"expected": 12,
"actual": 12,
"matches": true
}
},
"numeric_geometry_match": true,
"topology_counts_match": true
}
},
"source_has_modeling_features": true
}
}