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

1175 lines
26 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "020555",
"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,
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": [
15.0,
-15.0
],
"end": [
-15.0,
-15.0
]
},
{
"type": "line",
"start": [
-15.0,
-15.0
],
"end": [
-15.0,
15.0
]
},
{
"type": "line",
"start": [
-15.0,
15.0
],
"end": [
15.0,
15.0
]
},
{
"type": "line",
"start": [
15.0,
15.0
],
"end": [
15.0,
-15.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
15.0,
-15.0
],
"end": [
-15.0,
15.0
]
},
{
"type": "line",
"start": [
15.0,
15.0
],
"end": [
-15.0,
-15.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": "arc",
"start": [
-7.5,
-5.25
],
"end": [
-7.5,
5.25
],
"center": [
-10.5,
-0.0
],
"radius_mm": 6.046693311,
"clockwise": false
},
{
"type": "line",
"start": [
-7.5,
5.25
],
"end": [
-12.5,
5.25
]
},
{
"type": "line",
"start": [
-12.5,
5.25
],
"end": [
-12.5,
3.25
]
},
{
"type": "line",
"start": [
-12.5,
3.25
],
"end": [
-15.0,
3.25
]
},
{
"type": "line",
"start": [
-15.0,
3.25
],
"end": [
-15.0,
-3.25
]
},
{
"type": "line",
"start": [
-15.0,
-3.25
],
"end": [
-12.5,
-3.25
]
},
{
"type": "line",
"start": [
-12.5,
-3.25
],
"end": [
-12.5,
-5.25
]
},
{
"type": "line",
"start": [
-12.5,
-5.25
],
"end": [
-7.5,
-5.25
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
7.5,
-5.25
],
"end": [
7.5,
5.25
],
"center": [
10.5,
-0.0
],
"radius_mm": 6.046693311,
"clockwise": true
},
{
"type": "line",
"start": [
7.5,
5.25
],
"end": [
12.5,
5.25
]
},
{
"type": "line",
"start": [
12.5,
5.25
],
"end": [
12.5,
3.25
]
},
{
"type": "line",
"start": [
12.5,
3.25
],
"end": [
15.0,
3.25
]
},
{
"type": "line",
"start": [
15.0,
3.25
],
"end": [
15.0,
-3.25
]
},
{
"type": "line",
"start": [
15.0,
-3.25
],
"end": [
12.5,
-3.25
]
},
{
"type": "line",
"start": [
12.5,
-3.25
],
"end": [
12.5,
-5.25
]
},
{
"type": "line",
"start": [
12.5,
-5.25
],
"end": [
7.5,
-5.25
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-33.928237389,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
21.253435433
]
}
]
}
},
{
"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": "arc",
"start": [
-5.196152423,
7.5
],
"end": [
5.196152423,
7.5
],
"center": [
0.0,
10.5
],
"radius_mm": 6.0,
"clockwise": false
},
{
"type": "line",
"start": [
5.196152423,
7.5
],
"end": [
5.196152423,
12.5
]
},
{
"type": "line",
"start": [
5.196152423,
12.5
],
"end": [
3.25,
12.5
]
},
{
"type": "line",
"start": [
3.25,
12.5
],
"end": [
3.25,
15.0
]
},
{
"type": "line",
"start": [
3.25,
15.0
],
"end": [
-3.25,
15.0
]
},
{
"type": "line",
"start": [
-3.25,
15.0
],
"end": [
-3.25,
12.5
]
},
{
"type": "line",
"start": [
-3.25,
12.5
],
"end": [
-5.196152423,
12.5
]
},
{
"type": "line",
"start": [
-5.196152423,
12.5
],
"end": [
-5.196152423,
7.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-5.196152423,
-7.5
],
"end": [
5.196152423,
-7.5
],
"center": [
0.0,
-10.5
],
"radius_mm": 6.0,
"clockwise": true
},
{
"type": "line",
"start": [
5.196152423,
-7.5
],
"end": [
5.196152423,
-12.5
]
},
{
"type": "line",
"start": [
5.196152423,
-12.5
],
"end": [
3.25,
-12.5
]
},
{
"type": "line",
"start": [
3.25,
-12.5
],
"end": [
3.25,
-15.0
]
},
{
"type": "line",
"start": [
3.25,
-15.0
],
"end": [
-3.25,
-15.0
]
},
{
"type": "line",
"start": [
-3.25,
-15.0
],
"end": [
-3.25,
-12.5
]
},
{
"type": "line",
"start": [
-3.25,
-12.5
],
"end": [
-5.196152423,
-12.5
]
},
{
"type": "line",
"start": [
-5.196152423,
-12.5
],
"end": [
-5.196152423,
-7.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
19.209158062,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
18.94481185
]
}
]
}
}
]
},
"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_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_004",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 1150.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"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": "切除-拉伸2",
"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_004"
},
{
"id": "f_007",
"name": "Ø5.0 (5) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 5.0,
"depth_mm": 1150.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-d3ed19f589e4a94cfe7c27db",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-15.0,
0.0,
-15.0,
15.0,
0.0,
15.0
],
"center_mm": [
0.0,
0.0,
0.0
],
"normal": [
-0.0,
-1.0,
-0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-d3ed19f589e4a94cfe7c27db",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-15.0,
0.0,
-15.0,
15.0,
0.0,
15.0
],
"center_mm": [
0.0,
0.0,
0.0
],
"normal": [
-0.0,
-1.0,
-0.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_008",
"name": "打孔尺寸根据内六角圆柱头螺钉的类型2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "内六角圆柱头螺钉 GB/T 70.1-2000",
"diameter_mm": 6.6,
"depth_mm": 30.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
0.0,
1135.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 6.8
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_010",
"name": "打孔尺寸根据内六角圆柱头螺钉的类型3",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "内六角圆柱头螺钉 GB/T 70.1-2000",
"diameter_mm": 6.6,
"depth_mm": 30.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
0.0,
15.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 6.8
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_009",
"name": "阵列(线性)2",
"atomic_id": "pattern_linear",
"depends_on": [
"f_008",
"f_004"
],
"params": {
"source_feature_ids": [
"f_008",
"f_004"
],
"direction_1": [
0.0,
-1.0,
0.0
],
"spacing_1_mm": 330.0,
"pattern_count_1": 2
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "020555.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.5934984852502081,
"volume": 0.0005934984852502081,
"surface_area": 0.27238562237505326,
"center_of_mass": [
-1.8180444423341655e-08,
0.574890845085249,
-5.179374576629584e-06
],
"principal_moments": [
0.0001092664944891678,
0.0653649307729028,
0.06536500930928832
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.014999999999999975,
0.0,
-0.014999999999999989,
0.015000000000000024,
1.15,
0.015000000000000027
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "打孔尺寸根据内六角圆柱头螺钉的类型3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAAB0AAAAcwAAAHIAAABtAAAAbAAAAGsAAABqAAAA",
"persist_reference_sha256": "5d02ae0f88e3e72417d38e18693d3162825b7fe0ea6a658fc2fcfd8563f93319",
"component": null,
"geometry": {
"box": [
-0.014999999999999975,
0.0,
-0.014999999999999989,
0.015000000000000024,
1.15,
0.015000000000000027
],
"face_count": 81,
"edge_count": 230,
"vertex_count": 144
},
"stable_id": "5d02ae0f88e3e72417d38e18693d3162825b7fe0ea6a658fc2fcfd8563f93319"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 95,
"surface_counts": {
"cylinder": 37,
"plane": 58
},
"axis_count": 37,
"repeat_spacings_mm": [
{
"spacing_mm": 1150.0479,
"pair_count": 4
},
{
"spacing_mm": 14.8492,
"pair_count": 4
},
{
"spacing_mm": 23.6696,
"pair_count": 2
},
{
"spacing_mm": 805.2082,
"pair_count": 2
},
{
"spacing_mm": 1135.1477,
"pair_count": 2
},
{
"spacing_mm": 21.0,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-15.0,
-1e-07,
-15.0,
15.0,
1150.0000001,
15.0
],
"volume_mm3": 593498.611740179,
"surface_area_mm2": 272385.542759412,
"solid_count": 1,
"face_count": 95,
"edge_count": 288,
"vertex_count": 192
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-15.0,
0.0,
-15.0,
15.0,
1150.0,
15.0
],
"volume_mm3": 593498.485250208,
"surface_area_mm2": 272385.622375053,
"solid_count": 1,
"face_count": 81,
"edge_count": 230,
"vertex_count": 144
},
"comparisons": {
"volume_mm3": {
"expected": 593498.485250208,
"actual": 593498.611740179,
"absolute_delta": 0.12648997106589377,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 272385.622375053,
"actual": 272385.542759412,
"absolute_delta": 0.07961564097786322,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-15.0,
0.0,
-15.0,
15.0,
1150.0,
15.0
],
"actual": [
-15.0,
-1e-07,
-15.0,
15.0,
1150.0000001,
15.0
],
"max_absolute_delta": 1.0000007932831068e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 81,
"actual": 95,
"matches": false
},
"edge_count": {
"expected": 230,
"actual": 288,
"matches": false
},
"vertex_count": {
"expected": 144,
"actual": 192,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}