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

1224 lines
28 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "143108",
"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": [
-9.0,
4.15
],
"end": [
-9.0,
7.0
]
},
{
"type": "line",
"start": [
-9.0,
7.0
],
"end": [
-16.0,
7.0
]
},
{
"type": "line",
"start": [
-16.0,
7.0
],
"end": [
-16.0,
4.15
]
},
{
"type": "line",
"start": [
-16.0,
4.15
],
"end": [
-20.0,
4.15
]
},
{
"type": "line",
"start": [
-20.0,
4.15
],
"end": [
-20.0,
20.0
]
},
{
"type": "line",
"start": [
-20.0,
20.0
],
"end": [
-4.15,
20.0
]
},
{
"type": "line",
"start": [
-4.15,
20.0
],
"end": [
-4.15,
16.0
]
},
{
"type": "line",
"start": [
-4.15,
16.0
],
"end": [
-7.0,
16.0
]
},
{
"type": "line",
"start": [
-7.0,
16.0
],
"end": [
-7.0,
9.0
]
},
{
"type": "line",
"start": [
-7.0,
9.0
],
"end": [
-4.15,
9.0
]
},
{
"type": "line",
"start": [
-4.15,
9.0
],
"end": [
-4.15,
6.0
]
},
{
"type": "line",
"start": [
-4.15,
6.0
],
"end": [
4.15,
6.0
]
},
{
"type": "line",
"start": [
4.15,
6.0
],
"end": [
4.15,
9.0
]
},
{
"type": "line",
"start": [
4.15,
9.0
],
"end": [
7.0,
9.0
]
},
{
"type": "line",
"start": [
7.0,
9.0
],
"end": [
7.0,
16.0
]
},
{
"type": "line",
"start": [
7.0,
16.0
],
"end": [
4.15,
16.0
]
},
{
"type": "line",
"start": [
4.15,
16.0
],
"end": [
4.15,
20.0
]
},
{
"type": "line",
"start": [
4.15,
20.0
],
"end": [
20.0,
20.0
]
},
{
"type": "line",
"start": [
20.0,
20.0
],
"end": [
20.0,
4.15
]
},
{
"type": "line",
"start": [
20.0,
4.15
],
"end": [
16.0,
4.15
]
},
{
"type": "line",
"start": [
16.0,
4.15
],
"end": [
16.0,
7.0
]
},
{
"type": "line",
"start": [
16.0,
7.0
],
"end": [
9.0,
7.0
]
},
{
"type": "line",
"start": [
9.0,
7.0
],
"end": [
9.0,
4.15
]
},
{
"type": "line",
"start": [
9.0,
4.15
],
"end": [
6.0,
4.15
]
},
{
"type": "line",
"start": [
6.0,
4.15
],
"end": [
6.0,
-4.15
]
},
{
"type": "line",
"start": [
6.0,
-4.15
],
"end": [
9.0,
-4.15
]
},
{
"type": "line",
"start": [
9.0,
-4.15
],
"end": [
9.0,
-7.0
]
},
{
"type": "line",
"start": [
9.0,
-7.0
],
"end": [
16.0,
-7.0
]
},
{
"type": "line",
"start": [
16.0,
-7.0
],
"end": [
16.0,
-4.15
]
},
{
"type": "line",
"start": [
16.0,
-4.15
],
"end": [
20.0,
-4.15
]
},
{
"type": "line",
"start": [
20.0,
-4.15
],
"end": [
20.0,
-20.0
]
},
{
"type": "line",
"start": [
20.0,
-20.0
],
"end": [
4.15,
-20.0
]
},
{
"type": "line",
"start": [
4.15,
-20.0
],
"end": [
4.15,
-16.0
]
},
{
"type": "line",
"start": [
4.15,
-16.0
],
"end": [
7.0,
-16.0
]
},
{
"type": "line",
"start": [
7.0,
-16.0
],
"end": [
7.0,
-9.0
]
},
{
"type": "line",
"start": [
7.0,
-9.0
],
"end": [
4.15,
-9.0
]
},
{
"type": "line",
"start": [
4.15,
-9.0
],
"end": [
4.15,
-6.0
]
},
{
"type": "line",
"start": [
4.15,
-6.0
],
"end": [
-4.15,
-6.0
]
},
{
"type": "line",
"start": [
-4.15,
-6.0
],
"end": [
-4.15,
-9.0
]
},
{
"type": "line",
"start": [
-4.15,
-9.0
],
"end": [
-7.0,
-9.0
]
},
{
"type": "line",
"start": [
-7.0,
-9.0
],
"end": [
-7.0,
-16.0
]
},
{
"type": "line",
"start": [
-7.0,
-16.0
],
"end": [
-4.15,
-16.0
]
},
{
"type": "line",
"start": [
-4.15,
-16.0
],
"end": [
-4.15,
-20.0
]
},
{
"type": "line",
"start": [
-4.15,
-20.0
],
"end": [
-20.0,
-20.0
]
},
{
"type": "line",
"start": [
-20.0,
-20.0
],
"end": [
-20.0,
-4.15
]
},
{
"type": "line",
"start": [
-20.0,
-4.15
],
"end": [
-16.0,
-4.15
]
},
{
"type": "line",
"start": [
-16.0,
-4.15
],
"end": [
-16.0,
-7.0
]
},
{
"type": "line",
"start": [
-16.0,
-7.0
],
"end": [
-9.0,
-7.0
]
},
{
"type": "line",
"start": [
-9.0,
-7.0
],
"end": [
-9.0,
-4.15
]
},
{
"type": "line",
"start": [
-9.0,
-4.15
],
"end": [
-6.0,
-4.15
]
},
{
"type": "line",
"start": [
-6.0,
-4.15
],
"end": [
-6.0,
4.15
]
},
{
"type": "line",
"start": [
-6.0,
4.15
],
"end": [
-9.0,
4.15
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
-13.5,
13.5
],
"radius_mm": 3.5
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 3.25
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
13.5,
13.5
],
"radius_mm": 3.5
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
-13.5,
-13.5
],
"radius_mm": 3.5
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
13.5,
-13.5
],
"radius_mm": 3.5
}
]
}
]
}
}
]
},
"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": 500.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"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": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 2.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "M8 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 8.0,
"depth_mm": 500.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
0.0,
0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 8.0,
"depth_mm": 500.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-c1d917785d61a48d7cae1fda",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-20.0,
-20.0,
0.0,
20.0,
20.0,
0.0
],
"center_mm": [
0.0,
-0.0,
0.0
],
"normal": [
-0.0,
-0.0,
1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-c1d917785d61a48d7cae1fda",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-20.0,
-20.0,
0.0,
20.0,
20.0,
0.0
],
"center_mm": [
0.0,
-0.0,
0.0
],
"normal": [
-0.0,
-0.0,
1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_007",
"name": "M8 螺纹孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 0.0,
"depth_mm": 16.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
0.0,
0.0,
0.0
]
}
],
"host_face": {
"kind": "face",
"stable_id": "step-face-c1d917785d61a48d7cae1fda",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-20.0,
-20.0,
0.0,
20.0,
20.0,
0.0
],
"center_mm": [
0.0,
-0.0,
0.0
],
"normal": [
-0.0,
-0.0,
1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-c1d917785d61a48d7cae1fda",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-20.0,
-20.0,
0.0,
20.0,
20.0,
0.0
],
"center_mm": [
0.0,
-0.0,
0.0
],
"normal": [
-0.0,
-0.0,
1.0
],
"surface_type": "plane"
}
}
],
"unresolved": [
"hole diameter or depth was not captured"
]
}
],
"meta": {
"unit": "mm",
"source": "143108.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.39095575975647695,
"volume": 0.00039095575975647693,
"surface_area": 0.21331072051867067,
"center_of_mass": [
1.2279983942326068e-16,
-2.0040770769006365e-17,
-0.2500000000000001
],
"principal_moments": [
0.00012365398699002415,
0.008206738655088286,
0.008206738655088286
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.019999999999999796,
-0.020000000000000018,
-0.5,
0.020000000000000462,
0.020000000000000018,
1.138921523207036e-18
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M8 螺纹孔2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABqAAAAaQAAAGUAAAA=",
"persist_reference_sha256": "9414176c3cfdfbd9a1437c6b42d1a6d41c15e4d82bc6eb39c28ae2727a903789",
"component": null,
"geometry": {
"box": [
-0.019999999999999796,
-0.020000000000000018,
-0.5,
0.02000000000000046,
0.020000000000000018,
1.138921523207036e-18
],
"face_count": 63,
"edge_count": 178,
"vertex_count": 112
},
"stable_id": "9414176c3cfdfbd9a1437c6b42d1a6d41c15e4d82bc6eb39c28ae2727a903789"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 68,
"surface_counts": {
"cylinder": 14,
"plane": 54
},
"axis_count": 14,
"repeat_spacings_mm": [
{
"spacing_mm": 31.8198,
"pair_count": 8
},
{
"spacing_mm": 500.3644,
"pair_count": 4
},
{
"spacing_mm": 500.6476,
"pair_count": 4
},
{
"spacing_mm": 27.0,
"pair_count": 4
},
{
"spacing_mm": 6.364,
"pair_count": 4
},
{
"spacing_mm": 44.5477,
"pair_count": 4
},
{
"spacing_mm": 36.0,
"pair_count": 4
},
{
"spacing_mm": 38.1838,
"pair_count": 2
},
{
"spacing_mm": 50.9117,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-20.0,
-20.0,
-500.0,
20.0,
20.0,
0.0
],
"volume_mm3": 390955.759756477,
"surface_area_mm2": 213310.720518671,
"solid_count": 1,
"face_count": 68,
"edge_count": 198,
"vertex_count": 132
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-20.0,
-20.0,
-500.0,
20.0,
20.0,
0.0
],
"volume_mm3": 390955.759756477,
"surface_area_mm2": 213310.720518671,
"solid_count": 1,
"face_count": 63,
"edge_count": 178,
"vertex_count": 112
},
"comparisons": {
"volume_mm3": {
"expected": 390955.759756477,
"actual": 390955.759756477,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 213310.720518671,
"actual": 213310.720518671,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-20.0,
-20.0,
-500.0,
20.0,
20.0,
0.0
],
"actual": [
-20.0,
-20.0,
-500.0,
20.0,
20.0,
0.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 63,
"actual": 68,
"matches": false
},
"edge_count": {
"expected": 178,
"actual": 198,
"matches": false
},
"vertex_count": {
"expected": 112,
"actual": 132,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}