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

981 lines
22 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "077325",
"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": [
26.193016739,
0.0
],
"end": [
66.193016739,
0.0
]
},
{
"type": "line",
"start": [
66.193016739,
0.0
],
"end": [
66.193016739,
-10.0
]
},
{
"type": "line",
"start": [
66.193016739,
-10.0
],
"end": [
26.193016739,
-10.0
]
},
{
"type": "line",
"start": [
26.193016739,
-10.0
],
"end": [
26.193016739,
0.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
6.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": [
26.193016739,
0.0
],
"end": [
32.193016739,
0.0
]
},
{
"type": "line",
"start": [
32.193016739,
0.0
],
"end": [
32.193016739,
-10.0
]
},
{
"type": "line",
"start": [
32.193016739,
-10.0
],
"end": [
26.193016739,
-10.0
]
},
{
"type": "line",
"start": [
26.193016739,
-10.0
],
"end": [
26.193016739,
0.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
0.0,
0.0,
-1.0
],
"y_dir": [
0.707106781,
0.0,
0.707106781
],
"normal": [
0.0,
-1.0,
0.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
15.5,
0.0
]
},
{
"type": "line",
"start": [
15.5,
0.0
],
"end": [
15.5,
-10.0
]
},
{
"type": "line",
"start": [
15.5,
-10.0
],
"end": [
0.0,
-10.0
]
},
{
"type": "line",
"start": [
0.0,
-10.0
],
"end": [
0.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"role": "profile",
"workplane": {
"origin_mm": [
15.5,
-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": "circle",
"center": [
22.193016739,
-4.0
],
"radius_mm": 2.5
}
},
{
"id": "sk_006",
"name": "草图8",
"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": [
18.193016739,
0.0
],
"end": [
26.193016739,
0.0
]
},
{
"type": "line",
"start": [
26.193016739,
0.0
],
"end": [
18.193016739,
12.0
]
},
{
"type": "line",
"start": [
18.193016739,
12.0
],
"end": [
18.193016739,
0.0
]
}
]
}
]
}
},
{
"id": "sk_007",
"name": "草图9",
"role": "profile",
"workplane": {
"origin_mm": [
6.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": [
62.193016739,
-6.75
],
"end": [
62.193016739,
-3.25
],
"center": [
62.193016739,
-5.0
],
"radius_mm": 1.75,
"clockwise": false
},
{
"type": "line",
"start": [
62.193016739,
-3.25
],
"end": [
47.193016739,
-3.25
]
},
{
"type": "arc",
"start": [
47.193016739,
-3.25
],
"end": [
47.193016739,
-6.75
],
"center": [
47.193016739,
-5.0
],
"radius_mm": 1.75,
"clockwise": false
},
{
"type": "line",
"start": [
47.193016739,
-6.75
],
"end": [
62.193016739,
-6.75
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
62.193016739,
-5.0
],
"end": [
47.193016739,
-5.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": 6.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": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 40.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "凸台-拉伸4",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_009",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"unresolved": "reference plane orientation was not captured"
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 8,
"references": [
{
"kind": "feature",
"stable_id": "c3a684d390b1a97abaff9742991c62e1b759d9d397757acf3571c673b6800990",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "edge",
"stable_id": "f4801726b666c1184e69eb4042bb394a04e6f5c4c17ee80115cc85570f6ec8c4",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"curve": {
"type": "line",
"parameters": [
0.026193016739498934,
-0.01,
0.0,
1.0,
0.0,
0.0
]
},
"start": [
0.018193016739498934,
-0.01,
0.0
],
"end": [
0.06619301673949893,
-0.01,
0.0
]
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "c3a684d390b1a97abaff9742991c62e1b759d9d397757acf3571c673b6800990",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "edge",
"stable_id": "f4801726b666c1184e69eb4042bb394a04e6f5c4c17ee80115cc85570f6ec8c4",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"curve": {
"type": "line",
"parameters": [
0.026193016739498934,
-0.01,
0.0,
1.0,
0.0,
0.0
]
},
"start": [
0.018193016739498934,
-0.01,
0.0
],
"end": [
0.06619301673949893,
-0.01,
0.0
]
}
}
],
"unresolved": [
"reference plane orientation was not captured"
]
},
{
"id": "f_011",
"name": "切除-拉伸7",
"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_007"
},
{
"id": "f_006",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 10.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_007",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_010",
"name": "切除-拉伸6",
"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"
}
],
"meta": {
"unit": "mm",
"source": "077325.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0055006847842658515,
"volume": 5.500684784265852e-06,
"surface_area": 0.003193555295989255,
"center_of_mass": [
0.03483629656587423,
-0.0050339163940097366,
0.014337699457522907
],
"principal_moments": [
4.522757024279022e-07,
1.234320718865929e-06,
1.5873272908484432e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.018192991739498926,
-0.01000005,
0.0,
0.06619301673949893,
5e-08,
0.046000025
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸7",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABvAAAAbgAAAG0AAABsAAAAawAAAGoAAAA=",
"persist_reference_sha256": "0700f756110bac580a894a776e7fad79b4c66f1a06972cbecee080a0df0d2cc3",
"component": null,
"geometry": {
"box": [
0.018192991739498933,
-0.01000005,
0.0,
0.06619301673949893,
5e-08,
0.046000025
],
"face_count": 17,
"edge_count": 44,
"vertex_count": 28
},
"stable_id": "0700f756110bac580a894a776e7fad79b4c66f1a06972cbecee080a0df0d2cc3"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 19,
"surface_counts": {
"cylinder": 5,
"plane": 14
},
"axis_count": 5,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
18.193016639,
-10.0000001,
-1e-07,
66.193016739,
1e-07,
46.0
],
"volume_mm3": 5500.705425466,
"surface_area_mm2": 3193.561936142,
"solid_count": 1,
"face_count": 19,
"edge_count": 51,
"vertex_count": 34
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
18.192991739,
-10.00005,
0.0,
66.193016739,
5e-05,
46.000025
],
"volume_mm3": 5500.684784266,
"surface_area_mm2": 3193.555295989,
"solid_count": 1,
"face_count": 17,
"edge_count": 44,
"vertex_count": 28
},
"comparisons": {
"volume_mm3": {
"expected": 5500.684784266,
"actual": 5500.705425466,
"absolute_delta": 0.020641199999772653,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 3193.555295989,
"actual": 3193.561936142,
"absolute_delta": 0.006640152999807469,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
18.192991739,
-10.00005,
0.0,
66.193016739,
5e-05,
46.000025
],
"actual": [
18.193016639,
-10.0000001,
-1e-07,
66.193016739,
1e-07,
46.0
],
"max_absolute_delta": 4.990000000049122e-05,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 17,
"actual": 19,
"matches": false
},
"edge_count": {
"expected": 44,
"actual": 51,
"matches": false
},
"vertex_count": {
"expected": 28,
"actual": 34,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}