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

1331 lines
29 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "056524",
"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": [
-184.0,
-0.0
],
"end": [
-184.0,
12.0
]
},
{
"type": "line",
"start": [
-184.0,
12.0
],
"end": [
0.0,
12.0
]
},
{
"type": "line",
"start": [
0.0,
12.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-184.0,
-0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
3.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图5",
"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": "arc",
"start": [
-3.25,
17.5
],
"end": [
-8.75,
17.5
],
"center": [
-6.0,
17.5
],
"radius_mm": 2.75,
"clockwise": false
},
{
"type": "line",
"start": [
-8.75,
17.5
],
"end": [
-8.75,
7.5
]
},
{
"type": "arc",
"start": [
-8.75,
7.5
],
"end": [
-3.25,
7.5
],
"center": [
-6.0,
7.5
],
"radius_mm": 2.75,
"clockwise": false
},
{
"type": "line",
"start": [
-3.25,
7.5
],
"end": [
-3.25,
17.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-180.75,
17.5
],
"end": [
-175.25,
17.5
],
"center": [
-178.0,
17.5
],
"radius_mm": 2.75,
"clockwise": true
},
{
"type": "line",
"start": [
-175.25,
17.5
],
"end": [
-175.25,
7.5
]
},
{
"type": "arc",
"start": [
-175.25,
7.5
],
"end": [
-180.75,
7.5
],
"center": [
-178.0,
7.5
],
"radius_mm": 2.75,
"clockwise": true
},
{
"type": "line",
"start": [
-180.75,
7.5
],
"end": [
-180.75,
17.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-92.0,
0.0
],
"end": [
-92.0,
25.0
]
},
{
"type": "line",
"start": [
-6.0,
17.5
],
"end": [
-6.0,
7.5
]
},
{
"type": "line",
"start": [
-6.0,
12.5
],
"end": [
-184.0,
12.5
]
},
{
"type": "line",
"start": [
-178.0,
17.5
],
"end": [
-178.0,
7.5
]
}
]
}
},
{
"id": "sk_004",
"name": "草图9",
"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": [
-172.0,
-0.0
],
"end": [
-12.0,
-0.0
]
},
{
"type": "line",
"start": [
-12.0,
-0.0
],
"end": [
-12.0,
7.5
]
},
{
"type": "line",
"start": [
-12.0,
7.5
],
"end": [
-172.0,
7.5
]
},
{
"type": "line",
"start": [
-172.0,
7.5
],
"end": [
-172.0,
-0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-92.0,
12.0
],
"end": [
-92.0,
-9.289837711
]
}
]
}
},
{
"id": "sk_005",
"name": "草图16",
"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": "arc",
"start": [
-11.0,
7.5
],
"end": [
-1.0,
7.5
],
"center": [
-6.0,
7.5
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
-1.0,
7.5
],
"end": [
-1.0,
17.5
]
},
{
"type": "arc",
"start": [
-1.0,
17.5
],
"end": [
-11.0,
17.5
],
"center": [
-6.0,
17.5
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
-11.0,
17.5
],
"end": [
-11.0,
7.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-183.0,
7.5
],
"end": [
-173.0,
7.5
],
"center": [
-178.0,
7.5
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
-173.0,
7.5
],
"end": [
-173.0,
17.5
]
},
{
"type": "arc",
"start": [
-173.0,
17.5
],
"end": [
-183.0,
17.5
],
"center": [
-178.0,
17.5
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
-183.0,
17.5
],
"end": [
-183.0,
7.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-6.0,
7.5
],
"end": [
-6.0,
17.5
]
},
{
"type": "line",
"start": [
-178.0,
7.5
],
"end": [
-178.0,
17.5
]
}
]
}
},
{
"id": "sk_006",
"name": "草图17",
"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": [
-172.0,
3.0
],
"end": [
-12.0,
3.0
]
},
{
"type": "line",
"start": [
-12.0,
3.0
],
"end": [
-12.0,
-0.0
]
},
{
"type": "line",
"start": [
-12.0,
-0.0
],
"end": [
-172.0,
-0.0
]
},
{
"type": "line",
"start": [
-172.0,
-0.0
],
"end": [
-172.0,
3.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": 25.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": "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": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 2.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 15.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_010",
"name": "M3 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 3.0,
"depth_mm": 5.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-159.0,
20.0,
0.0
]
}
],
"thread": {
"diameter_mm": 3.0,
"depth_mm": 5.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "Ø3.0 (3) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_007",
"f_004",
"f_006"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 3.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-159.0,
5.0,
0.0
]
}
],
"host_face": {
"kind": "face",
"stable_id": "step-face-0bfcfa0b1403c757fbc87bff",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-182.0,
-0.0,
0.0,
-2.0,
12.0,
0.0
],
"center_mm": [
-92.0,
8.8125,
0.0
],
"normal": [
-0.0,
-0.0,
1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-0bfcfa0b1403c757fbc87bff",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-182.0,
-0.0,
0.0,
-2.0,
12.0,
0.0
],
"center_mm": [
-92.0,
8.8125,
0.0
],
"normal": [
-0.0,
-0.0,
1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_011",
"name": "阵列(线性)2",
"atomic_id": "pattern_linear",
"depends_on": [
"f_010",
"f_004"
],
"params": {
"source_feature_ids": [
"f_010",
"f_004"
],
"direction_1": [
-1.0,
0.0,
0.0
],
"spacing_1_mm": 20.0,
"pattern_count_1": 8
},
"execution_status": "deferred"
},
{
"id": "f_012",
"name": "M5 六角凹头螺钉的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_007"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 5.5,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-178.0,
12.5,
0.0
]
},
{
"mm": [
-6.0,
12.5,
0.0
]
}
],
"counterbore": {
"diameter_mm": 10.0,
"depth_mm": 5.4
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_014",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_007"
],
"params": {
"radius_mm": 5.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_015",
"name": "切除-拉伸4",
"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_006"
},
{
"id": "f_009",
"name": "阵列(线性)1",
"atomic_id": "pattern_linear",
"depends_on": [
"f_008",
"f_004"
],
"params": {
"source_feature_ids": [
"f_008",
"f_004"
],
"direction_1": [
-1.0,
0.0,
0.0
],
"spacing_1_mm": 20.0,
"pattern_count_1": 8
},
"execution_status": "deferred"
},
{
"id": "f_013",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_012",
"f_005"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
}
],
"meta": {
"unit": "mm",
"source": "056524.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.028597272308646723,
"volume": 2.8597272308646722e-05,
"surface_area": 0.015104369054591407,
"center_of_mass": [
-0.09208257293487597,
0.008041073760080475,
-0.014184181211859739
],
"principal_moments": [
1.7875000225084573e-06,
8.318034335099255e-05,
8.454645260932278e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.184,
-2.326828918379971e-17,
-0.025,
0.0,
0.01200000000000007,
0.0
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸4",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAoAAAB5AAAAeAAAAHcAAAB2AAAAdQAAAHQAAABzAAAAcgAAAHAAAABlAAAA",
"persist_reference_sha256": "f336aeea0384922cb39fb61a0bc2a1164cbc8838ec52d7f93a622a95ad27ad10",
"component": null,
"geometry": {
"box": [
-0.184,
-2.326828918379971e-17,
-0.025,
0.0,
0.01200000000000007,
0.0
],
"face_count": 52,
"edge_count": 128,
"vertex_count": 64
},
"stable_id": "f336aeea0384922cb39fb61a0bc2a1164cbc8838ec52d7f93a622a95ad27ad10"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 70,
"surface_counts": {
"cylinder": 44,
"plane": 26
},
"axis_count": 44,
"repeat_spacings_mm": [
{
"spacing_mm": 20.0,
"pair_count": 14
},
{
"spacing_mm": 21.7715,
"pair_count": 14
},
{
"spacing_mm": 40.0,
"pair_count": 12
},
{
"spacing_mm": 40.9145,
"pair_count": 12
},
{
"spacing_mm": 60.0,
"pair_count": 10
},
{
"spacing_mm": 60.6135,
"pair_count": 10
},
{
"spacing_mm": 80.0,
"pair_count": 8
},
{
"spacing_mm": 8.6023,
"pair_count": 8
},
{
"spacing_mm": 80.4612,
"pair_count": 8
},
{
"spacing_mm": 100.0,
"pair_count": 6
},
{
"spacing_mm": 100.3693,
"pair_count": 6
},
{
"spacing_mm": 120.0,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-184.0,
-0.0,
-25.0000001,
0.0,
12.0000001,
0.0
],
"volume_mm3": 28597.271810662,
"surface_area_mm2": 15104.374177027,
"solid_count": 1,
"face_count": 70,
"edge_count": 198,
"vertex_count": 132
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-184.0,
-0.0,
-25.0,
0.0,
12.0,
0.0
],
"volume_mm3": 28597.272308647,
"surface_area_mm2": 15104.369054591,
"solid_count": 1,
"face_count": 52,
"edge_count": 128,
"vertex_count": 64
},
"comparisons": {
"volume_mm3": {
"expected": 28597.272308647,
"actual": 28597.271810662,
"absolute_delta": 0.0004979849982191809,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 15104.369054591,
"actual": 15104.374177027,
"absolute_delta": 0.0051224360013293335,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-184.0,
-0.0,
-25.0,
0.0,
12.0,
0.0
],
"actual": [
-184.0,
-0.0,
-25.0000001,
0.0,
12.0000001,
0.0
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 52,
"actual": 70,
"matches": false
},
"edge_count": {
"expected": 128,
"actual": 198,
"matches": false
},
"vertex_count": {
"expected": 64,
"actual": 132,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}