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

1124 lines
25 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "225627",
"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": [
-80.0,
30.0
],
"end": [
80.0,
30.0
]
},
{
"type": "line",
"start": [
80.0,
30.0
],
"end": [
80.0,
-30.0
]
},
{
"type": "line",
"start": [
80.0,
-30.0
],
"end": [
-80.0,
-30.0
]
},
{
"type": "line",
"start": [
-80.0,
-30.0
],
"end": [
-80.0,
30.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-80.0,
30.0
],
"end": [
80.0,
-30.0
]
},
{
"type": "line",
"start": [
-80.0,
-30.0
],
"end": [
80.0,
30.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": [
-39.0,
0.0
],
"end": [
39.0,
0.0
]
},
{
"type": "line",
"start": [
39.0,
0.0
],
"end": [
39.0,
-8.0
]
},
{
"type": "line",
"start": [
39.0,
-8.0
],
"end": [
-39.0,
-8.0
]
},
{
"type": "line",
"start": [
-39.0,
-8.0
],
"end": [
-39.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图7",
"role": "profile",
"workplane": {
"origin_mm": [
15.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": "arc",
"start": [
-17.0,
20.0
],
"end": [
-23.0,
20.0
],
"center": [
-20.0,
20.0
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "line",
"start": [
-23.0,
20.0
],
"end": [
-23.0,
10.0
]
},
{
"type": "arc",
"start": [
-23.0,
10.0
],
"end": [
-17.0,
10.0
],
"center": [
-20.0,
10.0
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "line",
"start": [
-17.0,
10.0
],
"end": [
-17.0,
20.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
23.0,
20.0
],
"end": [
17.0,
20.0
],
"center": [
20.0,
20.0
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "line",
"start": [
17.0,
20.0
],
"end": [
17.0,
10.0
]
},
{
"type": "arc",
"start": [
17.0,
10.0
],
"end": [
23.0,
10.0
],
"center": [
20.0,
10.0
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "line",
"start": [
23.0,
10.0
],
"end": [
23.0,
20.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-23.0,
-20.0
],
"end": [
-17.0,
-20.0
],
"center": [
-20.0,
-20.0
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "line",
"start": [
-17.0,
-20.0
],
"end": [
-17.0,
-10.0
]
},
{
"type": "arc",
"start": [
-17.0,
-10.0
],
"end": [
-23.0,
-10.0
],
"center": [
-20.0,
-10.0
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "line",
"start": [
-23.0,
-10.0
],
"end": [
-23.0,
-20.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
17.0,
-20.0
],
"end": [
23.0,
-20.0
],
"center": [
20.0,
-20.0
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "line",
"start": [
23.0,
-20.0
],
"end": [
23.0,
-10.0
]
},
{
"type": "arc",
"start": [
23.0,
-10.0
],
"end": [
17.0,
-10.0
],
"center": [
20.0,
-10.0
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "line",
"start": [
17.0,
-10.0
],
"end": [
17.0,
-20.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-20.0,
20.0
],
"end": [
-20.0,
10.0
]
},
{
"type": "line",
"start": [
20.0,
20.0
],
"end": [
20.0,
10.0
]
},
{
"type": "line",
"start": [
-20.0,
-20.0
],
"end": [
-20.0,
-10.0
]
},
{
"type": "line",
"start": [
20.0,
-20.0
],
"end": [
20.0,
-10.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": 15.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": "切除-拉伸3",
"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": 3.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "M6 六角头螺栓的柱形沉头孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "Hex head bolts GB/T5782-2000 ",
"diameter_mm": 6.6,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-44.5,
23.0,
0.0
]
},
{
"mm": [
-70.5,
-23.0,
0.0
]
},
{
"mm": [
-70.5,
23.0,
0.0
]
},
{
"mm": [
-44.5,
-23.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 6.0
},
"host_face": {
"kind": "face",
"stable_id": "step-face-7975c2ce67e436f4fc7318df",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-80.0,
-30.0,
0.0,
-39.0,
30.0,
0.0
],
"center_mm": [
-59.624850082,
0.0,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-7975c2ce67e436f4fc7318df",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-80.0,
-30.0,
0.0,
-39.0,
30.0,
0.0
],
"center_mm": [
-59.624850082,
0.0,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_009",
"name": "Ø6.0 (6) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 6.0,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-20.0,
15.0,
0.0
]
},
{
"mm": [
20.0,
15.0,
0.0
]
},
{
"mm": [
20.0,
-15.0,
0.0
]
},
{
"mm": [
-20.0,
-15.0,
0.0
]
}
]
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "镜向1",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_007",
"f_003"
],
"params": {
"source_feature_ids": [
"f_007"
],
"mirror_plane": {
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
{
"id": "f_010",
"name": "切除-拉伸4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_009"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
}
],
"meta": {
"unit": "mm",
"source": "225627.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.09338258615045635,
"volume": 9.338258615045635e-05,
"surface_area": 0.0288133659820915,
"center_of_mass": [
-7.792358990193807e-18,
1.860794645207854e-17,
0.008622099231020208
],
"principal_moments": [
2.7210701629931233e-05,
0.0002508150783905003,
0.000274711058959874
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.08000000000000002,
-0.029999999999999985,
0.0,
0.07999999999999999,
0.030000000000000013,
0.015
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸4",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABvAAAAbgAAAG0AAABsAAAAawAAAGoAAAA=",
"persist_reference_sha256": "0700f756110bac580a894a776e7fad79b4c66f1a06972cbecee080a0df0d2cc3",
"component": null,
"geometry": {
"box": [
-0.08000000000000002,
-0.029999999999999985,
0.0,
0.07999999999999999,
0.030000000000000013,
0.015
],
"face_count": 102,
"edge_count": 276,
"vertex_count": 184
},
"stable_id": "0700f756110bac580a894a776e7fad79b4c66f1a06972cbecee080a0df0d2cc3"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 118,
"surface_counts": {
"cylinder": 56,
"plane": 62
},
"axis_count": 56,
"repeat_spacings_mm": [
{
"spacing_mm": 52.8394,
"pair_count": 8
},
{
"spacing_mm": 26.0,
"pair_count": 8
},
{
"spacing_mm": 46.0,
"pair_count": 8
},
{
"spacing_mm": 123.8588,
"pair_count": 8
},
{
"spacing_mm": 115.0,
"pair_count": 8
},
{
"spacing_mm": 46.1255,
"pair_count": 8
},
{
"spacing_mm": 3.4,
"pair_count": 8
},
{
"spacing_mm": 40.0,
"pair_count": 6
},
{
"spacing_mm": 89.0,
"pair_count": 4
},
{
"spacing_mm": 100.1848,
"pair_count": 4
},
{
"spacing_mm": 118.4,
"pair_count": 4
},
{
"spacing_mm": 127.0219,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-80.0,
-30.0,
0.0,
80.0,
30.0,
15.0
],
"volume_mm3": 93382.586150456,
"surface_area_mm2": 28813.365982092,
"solid_count": 1,
"face_count": 118,
"edge_count": 324,
"vertex_count": 216
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-80.0,
-30.0,
0.0,
80.0,
30.0,
15.0
],
"volume_mm3": 93382.586150456,
"surface_area_mm2": 28813.365982091,
"solid_count": 1,
"face_count": 102,
"edge_count": 276,
"vertex_count": 184
},
"comparisons": {
"volume_mm3": {
"expected": 93382.586150456,
"actual": 93382.586150456,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 28813.365982091,
"actual": 28813.365982092,
"absolute_delta": 1.000444171950221e-09,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-80.0,
-30.0,
0.0,
80.0,
30.0,
15.0
],
"actual": [
-80.0,
-30.0,
0.0,
80.0,
30.0,
15.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 102,
"actual": 118,
"matches": false
},
"edge_count": {
"expected": 276,
"actual": 324,
"matches": false
},
"vertex_count": {
"expected": 184,
"actual": 216,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}