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

937 lines
20 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "068966",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "Origin",
"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": [
55.0,
0.0
]
},
{
"type": "line",
"start": [
55.0,
0.0
],
"end": [
55.0,
130.0
]
},
{
"type": "line",
"start": [
55.0,
130.0
],
"end": [
0.0,
130.0
]
},
{
"type": "line",
"start": [
0.0,
130.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": [
-52.5,
130.0
],
"end": [
-2.5,
130.0
]
},
{
"type": "line",
"start": [
-2.5,
130.0
],
"end": [
-2.5,
-0.0
]
},
{
"type": "line",
"start": [
-2.5,
-0.0
],
"end": [
-52.5,
-0.0
]
},
{
"type": "line",
"start": [
-52.5,
-0.0
],
"end": [
-52.5,
130.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-27.5,
0.0
],
"end": [
-27.5,
7.914925409
]
}
]
}
},
{
"id": "sk_004",
"name": "草图8",
"role": "profile",
"workplane": {
"origin_mm": [
10.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,
130.0
],
"end": [
55.0,
130.0
]
},
{
"type": "line",
"start": [
55.0,
130.0
],
"end": [
55.0,
65.0
]
},
{
"type": "line",
"start": [
55.0,
65.0
],
"end": [
0.0,
65.0
]
},
{
"type": "line",
"start": [
0.0,
65.0
],
"end": [
0.0,
130.0
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图13",
"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": [
-52.5,
65.0
],
"end": [
-55.0,
65.0
]
},
{
"type": "line",
"start": [
-55.0,
65.0
],
"end": [
-55.0,
-0.0
]
},
{
"type": "line",
"start": [
-55.0,
-0.0
],
"end": [
-52.5,
-0.0
]
},
{
"type": "line",
"start": [
-52.5,
-0.0
],
"end": [
-52.5,
65.0
]
}
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Front",
"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": "Top",
"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": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_003",
"name": "Right",
"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": 2.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 2.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "M4 六角凹头螺钉的柱形沉头孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 4.5,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
37.5,
52.0,
0.0
]
},
{
"mm": [
17.5,
52.0,
0.0
]
},
{
"mm": [
17.5,
14.0,
0.0
]
},
{
"mm": [
37.5,
14.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 8.0,
"depth_mm": 4.4
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_009",
"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_006",
"name": "M4 六角凹头螺钉的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 4.5,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-27.5,
53.0,
0.0
]
},
{
"mm": [
-27.5,
30.0,
0.0
]
},
{
"mm": [
-27.5,
7.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 8.0,
"depth_mm": 4.4
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_010",
"name": "倒角2",
"atomic_id": "chamfer",
"depends_on": [
"f_004",
"f_009"
],
"params": {
"distance_mm": 2.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "M4 六角凹头螺钉的柱形沉头孔4",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 4.5,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-47.5,
60.5,
0.0
]
},
{
"mm": [
-7.5,
60.5,
0.0
]
}
],
"counterbore": {
"diameter_mm": 8.0,
"depth_mm": 4.4
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_012",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005",
"f_009"
],
"params": {
"distance_mm": 2.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
}
],
"meta": {
"unit": "mm",
"source": "068966.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.026347187159680437,
"volume": 2.6347187159680437e-05,
"surface_area": 0.010448846507483131,
"center_of_mass": [
0.027184346443400974,
0.03196634173183395,
0.005950170789449894
],
"principal_moments": [
7.183911973329442e-06,
9.103441596169072e-06,
1.5992986079004124e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-1.3877787807814457e-17,
0.0,
0.055,
0.065,
0.01
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAABtAAAAbAAAAGoAAABpAAAAaAAAAGYAAABlAAAA",
"persist_reference_sha256": "b88458103691c45cda8ff71c896ce9d2deab5c8539424949543c5fb8f271adcd",
"component": null,
"geometry": {
"box": [
0.0,
-8.604500192924557e-18,
0.0,
0.055,
0.065,
0.01
],
"face_count": 39,
"edge_count": 66,
"vertex_count": 20
},
"stable_id": "b88458103691c45cda8ff71c896ce9d2deab5c8539424949543c5fb8f271adcd"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 57,
"surface_counts": {
"cylinder": 36,
"plane": 21
},
"axis_count": 36,
"repeat_spacings_mm": [
{
"spacing_mm": 15.3704,
"pair_count": 2
},
{
"spacing_mm": 32.1908,
"pair_count": 2
},
{
"spacing_mm": 55.9129,
"pair_count": 2
},
{
"spacing_mm": 48.2312,
"pair_count": 2
},
{
"spacing_mm": 21.36,
"pair_count": 2
},
{
"spacing_mm": 36.4726,
"pair_count": 2
},
{
"spacing_mm": 57.1161,
"pair_count": 2
},
{
"spacing_mm": 20.0,
"pair_count": 2
},
{
"spacing_mm": 42.9418,
"pair_count": 2
},
{
"spacing_mm": 38.0,
"pair_count": 2
},
{
"spacing_mm": 12.8452,
"pair_count": 2
},
{
"spacing_mm": 25.4558,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-0.0,
-0.0,
0.0,
55.0,
65.0,
10.0
],
"volume_mm3": 26347.18715968,
"surface_area_mm2": 10448.846507483,
"solid_count": 1,
"face_count": 57,
"edge_count": 138,
"vertex_count": 92
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-0.0,
0.0,
55.0,
65.0,
10.0
],
"volume_mm3": 26347.18715968,
"surface_area_mm2": 10448.846507483,
"solid_count": 1,
"face_count": 39,
"edge_count": 66,
"vertex_count": 20
},
"comparisons": {
"volume_mm3": {
"expected": 26347.18715968,
"actual": 26347.18715968,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 10448.846507483,
"actual": 10448.846507483,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-0.0,
0.0,
55.0,
65.0,
10.0
],
"actual": [
-0.0,
-0.0,
0.0,
55.0,
65.0,
10.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 39,
"actual": 57,
"matches": false
},
"edge_count": {
"expected": 66,
"actual": 138,
"matches": false
},
"vertex_count": {
"expected": 20,
"actual": 92,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}