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

1082 lines
24 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "231891",
"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": [
0.0,
0.0
],
"end": [
40.0,
0.0
]
},
{
"type": "line",
"start": [
40.0,
0.0
],
"end": [
40.0,
20.0
]
},
{
"type": "line",
"start": [
40.0,
20.0
],
"end": [
0.0,
20.0
]
},
{
"type": "line",
"start": [
0.0,
20.0
],
"end": [
0.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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.5,
17.15
],
"end": [
-9.5,
14.15
]
},
{
"type": "line",
"start": [
-9.5,
14.15
],
"end": [
-14.0,
14.15
]
},
{
"type": "line",
"start": [
-14.0,
14.15
],
"end": [
-14.0,
5.85
]
},
{
"type": "line",
"start": [
-14.0,
5.85
],
"end": [
-9.5,
5.85
]
},
{
"type": "line",
"start": [
-9.5,
5.85
],
"end": [
-9.5,
2.85
]
},
{
"type": "line",
"start": [
-9.5,
2.85
],
"end": [
-4.0,
2.85
]
},
{
"type": "line",
"start": [
-4.0,
2.85
],
"end": [
-4.0,
5.85
]
},
{
"type": "line",
"start": [
-4.0,
5.85
],
"end": [
0.0,
5.85
]
},
{
"type": "line",
"start": [
0.0,
5.85
],
"end": [
0.0,
14.15
]
},
{
"type": "line",
"start": [
0.0,
14.15
],
"end": [
-4.0,
14.15
]
},
{
"type": "line",
"start": [
-4.0,
14.15
],
"end": [
-4.0,
17.15
]
},
{
"type": "line",
"start": [
-4.0,
17.15
],
"end": [
-9.5,
17.15
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-40.0,
5.85
],
"end": [
-40.0,
14.15
]
},
{
"type": "line",
"start": [
-40.0,
14.15
],
"end": [
-36.0,
14.15
]
},
{
"type": "line",
"start": [
-36.0,
14.15
],
"end": [
-36.0,
17.15
]
},
{
"type": "line",
"start": [
-36.0,
17.15
],
"end": [
-30.5,
17.15
]
},
{
"type": "line",
"start": [
-30.5,
17.15
],
"end": [
-30.5,
14.15
]
},
{
"type": "line",
"start": [
-30.5,
14.15
],
"end": [
-26.0,
14.15
]
},
{
"type": "line",
"start": [
-26.0,
14.15
],
"end": [
-26.0,
5.85
]
},
{
"type": "line",
"start": [
-26.0,
5.85
],
"end": [
-30.5,
5.85
]
},
{
"type": "line",
"start": [
-30.5,
5.85
],
"end": [
-30.5,
2.85
]
},
{
"type": "line",
"start": [
-30.5,
2.85
],
"end": [
-36.0,
2.85
]
},
{
"type": "line",
"start": [
-36.0,
2.85
],
"end": [
-36.0,
5.85
]
},
{
"type": "line",
"start": [
-36.0,
5.85
],
"end": [
-40.0,
5.85
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
-20.0,
10.0
],
"radius_mm": 3.5
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-20.0,
10.0
],
"end": [
-20.0,
20.0
]
},
{
"type": "line",
"start": [
-40.0,
10.0
],
"end": [
-0.0,
10.0
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
1000.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
0.0,
-1.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,
978.0
],
"end": [
0.0,
938.0
]
},
{
"type": "line",
"start": [
0.0,
938.0
],
"end": [
0.0,
978.0
]
},
{
"type": "line",
"start": [
0.0,
978.0
],
"end": [
40.0,
978.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
0.0,
40.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
40.0,
0.0
]
},
{
"type": "line",
"start": [
40.0,
0.0
],
"end": [
0.0,
40.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": 978.0,
"reverse": false,
"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": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"radius_mm": 0.3,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "圆角2",
"atomic_id": "fillet",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"radius_mm": 0.3,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_007"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_009",
"name": "M6 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_007",
"f_008"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 6.0,
"depth_mm": 20.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
20.0,
-838.0,
0.0
]
},
{
"mm": [
20.0,
-801.0,
0.0
]
},
{
"mm": [
20.0,
-100.0,
0.0
]
},
{
"mm": [
20.0,
-137.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 20.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_010",
"name": "Ø5.2 (5.2) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_007",
"f_008"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 5.2,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 2,
"type": "through_all_both"
},
"positions": [
{
"mm": [
24.0,
-21.5,
0.0
]
},
{
"mm": [
24.0,
-36.5,
0.0
]
},
{
"mm": [
24.0,
-901.5,
0.0
]
},
{
"mm": [
24.0,
-916.5,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "231891.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 1.1696966271018507,
"volume": 0.00043322097300068545,
"surface_area": 0.20891482712467527,
"center_of_mass": [
0.02024024895893816,
0.00999998349164009,
0.48904797653048027
],
"principal_moments": [
0.00018905277183523368,
0.08580746253380281,
0.08588002634177604
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-5.421010862427522e-20,
0.0,
0.0,
0.04,
0.02,
0.978
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M6 螺纹孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABtAAAAbAAAAGsAAABqAAAA",
"persist_reference_sha256": "0e172830ee09352a9c5b62835095238b0d4f99ee8e7c454e8cfc837ccc4cce30",
"component": null,
"geometry": {
"box": [
-5.421010862427522e-20,
0.0,
0.0,
0.04,
0.02,
0.978
],
"face_count": 49,
"edge_count": 132,
"vertex_count": 76
},
"stable_id": "0e172830ee09352a9c5b62835095238b0d4f99ee8e7c454e8cfc837ccc4cce30"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 58,
"surface_counts": {
"cylinder": 28,
"plane": 30
},
"axis_count": 28,
"repeat_spacings_mm": [
{
"spacing_mm": 21.9586,
"pair_count": 4
},
{
"spacing_mm": 37.0,
"pair_count": 2
},
{
"spacing_mm": 701.0,
"pair_count": 2
},
{
"spacing_mm": 142.7452,
"pair_count": 2
},
{
"spacing_mm": 141.3796,
"pair_count": 2
},
{
"spacing_mm": 179.1792,
"pair_count": 2
},
{
"spacing_mm": 178.0932,
"pair_count": 2
},
{
"spacing_mm": 878.4419,
"pair_count": 2
},
{
"spacing_mm": 878.221,
"pair_count": 2
},
{
"spacing_mm": 841.4613,
"pair_count": 2
},
{
"spacing_mm": 841.2308,
"pair_count": 2
},
{
"spacing_mm": 20.1963,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-1e-07,
-1e-07,
-1e-07,
40.0000001,
20.0000001,
978.0000001
],
"volume_mm3": 433234.399710947,
"surface_area_mm2": 208909.312176491,
"solid_count": 1,
"face_count": 58,
"edge_count": 168,
"vertex_count": 112
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-0.0,
0.0,
0.0,
40.0,
20.0,
978.0
],
"volume_mm3": 433220.973000685,
"surface_area_mm2": 208914.827124675,
"solid_count": 1,
"face_count": 49,
"edge_count": 132,
"vertex_count": 76
},
"comparisons": {
"volume_mm3": {
"expected": 433220.973000685,
"actual": 433234.399710947,
"absolute_delta": 13.426710262021516,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 208914.827124675,
"actual": 208909.312176491,
"absolute_delta": 5.514948184019886,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-0.0,
0.0,
0.0,
40.0,
20.0,
978.0
],
"actual": [
-1e-07,
-1e-07,
-1e-07,
40.0000001,
20.0000001,
978.0000001
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 49,
"actual": 58,
"matches": false
},
"edge_count": {
"expected": 132,
"actual": 168,
"matches": false
},
"vertex_count": {
"expected": 76,
"actual": 112,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}