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

1057 lines
23 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "226677",
"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": "annulus",
"center": [
0.0,
0.0
],
"inner_radius_mm": 15.0,
"outer_radius_mm": 20.0
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
15.9,
-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": [
51.0,
28.5
],
"end": [
-51.0,
28.5
]
},
{
"type": "line",
"start": [
-51.0,
28.5
],
"end": [
-51.0,
-28.5
]
},
{
"type": "line",
"start": [
-51.0,
-28.5
],
"end": [
51.0,
-28.5
]
},
{
"type": "line",
"start": [
51.0,
-28.5
],
"end": [
51.0,
28.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 20.0
}
]
}
],
"construction": [
{
"type": "line",
"start": [
51.0,
28.5
],
"end": [
-51.0,
-28.5
]
},
{
"type": "line",
"start": [
51.0,
-28.5
],
"end": [
-51.0,
28.5
]
}
]
}
},
{
"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": [
21.9,
-28.5
],
"end": [
9.9,
-28.5
]
},
{
"type": "line",
"start": [
9.9,
-28.5
],
"end": [
9.9,
28.5
]
},
{
"type": "line",
"start": [
9.9,
28.5
],
"end": [
21.9,
28.5
]
},
{
"type": "line",
"start": [
21.9,
28.5
],
"end": [
21.9,
-28.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
21.9,
-28.5
],
"end": [
9.9,
28.5
]
},
{
"type": "line",
"start": [
21.9,
28.5
],
"end": [
9.9,
-28.5
]
},
{
"type": "line",
"start": [
15.9,
-28.5
],
"end": [
15.9,
0.0
]
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"role": "profile",
"workplane": {
"origin_mm": [
29.9,
-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": [
-28.0,
28.5
],
"end": [
28.0,
28.5
]
},
{
"type": "line",
"start": [
28.0,
28.5
],
"end": [
28.0,
70.0
]
},
{
"type": "line",
"start": [
28.0,
70.0
],
"end": [
-28.0,
70.0
]
},
{
"type": "line",
"start": [
-28.0,
70.0
],
"end": [
-28.0,
28.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-18.5,
44.0
],
"end": [
18.5,
44.0
]
},
{
"type": "line",
"start": [
18.5,
44.0
],
"end": [
18.5,
60.0
]
},
{
"type": "line",
"start": [
18.5,
60.0
],
"end": [
-18.5,
60.0
]
},
{
"type": "line",
"start": [
-18.5,
60.0
],
"end": [
-18.5,
44.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
65.784298677
]
},
{
"type": "line",
"start": [
-28.0,
28.5
],
"end": [
28.0,
70.0
]
},
{
"type": "line",
"start": [
-28.0,
70.0
],
"end": [
28.0,
28.5
]
},
{
"type": "line",
"start": [
-18.5,
44.0
],
"end": [
18.5,
60.0
]
},
{
"type": "line",
"start": [
-18.5,
60.0
],
"end": [
18.5,
44.0
]
}
]
}
},
{
"id": "sk_006",
"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": "circle",
"center": [
0.0,
-15.9
],
"radius_mm": 11.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": 38.1,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"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": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
-0.0,
-15.9
],
"x_dir": [
0.0,
-1.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"offset_mm": 15.9,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "feature",
"stable_id": "fbaa5cec11ead6e84004493d14e8bc9c0270dda20b2298371ca32ec8b905e357",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "65ee53241fa88e9bf9569138fe03735a0b9a12baa20ff3e42faa5ab249e4b02b",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
1.0,
0.0,
0.0,
0.0
]
},
"box": [
-0.02,
-0.02,
0.0,
0.02,
0.02,
0.0
],
"area": 0.0005497787143782141
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "fbaa5cec11ead6e84004493d14e8bc9c0270dda20b2298371ca32ec8b905e357",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "65ee53241fa88e9bf9569138fe03735a0b9a12baa20ff3e42faa5ab249e4b02b",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
1.0,
0.0,
0.0,
0.0
]
},
"box": [
-0.02,
-0.02,
0.0,
0.02,
0.02,
0.0
],
"area": 0.0005497787143782141
}
}
]
},
{
"id": "f_006",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 28.0,
"reverse": true,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 6.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_009",
"name": "凸台-拉伸3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4,
"reference": {
"kind": "face",
"stable_id": "74dad0871abecf2fdfde0452b9f0cb0ab1b5d38097f806e21912b9cb9a9a182e",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
1.0,
0.05099999999999999,
-0.02850000000000001,
0.0019000000000000006
]
},
"box": [
-0.051000000000000004,
-0.02850000000000001,
0.001899999999999999,
0.05099999999999999,
0.02850000000000001,
0.0019000000000000006
],
"area": 0.004557362938564084
}
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"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": "ca9b26738aafbe5077b4fa72173b363ed58490758883745da2a3d01a70c27cd8",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "ca9b26738aafbe5077b4fa72173b363ed58490758883745da2a3d01a70c27cd8",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
{
"id": "f_010",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_009",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all_both",
"solidworks_code": 2
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
}
],
"meta": {
"unit": "mm",
"source": "226677.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.1843554041867606,
"volume": 0.00018435540418676062,
"surface_area": 0.03383521210260902,
"center_of_mass": [
-3.782337433149393e-18,
0.011368029849952548,
0.01625790484524804
],
"principal_moments": [
0.0001375078150547575,
0.00014958539653838187,
0.0002591000301668609
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.051000025000000004,
-0.02850000000000001,
0.0,
0.05100002499999999,
0.07000002500000001,
0.0381
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABqAAAAaQAAAGgAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "0a26bbf75646bd83d8870646ce4005d1ea62ef8846c2724b2f0430bdfd10750a",
"component": null,
"geometry": {
"box": [
-0.051000025000000004,
-0.02850000000000001,
0.0,
0.05100002499999999,
0.07000002500000001,
0.0381
],
"face_count": 28,
"edge_count": 68,
"vertex_count": 40
},
"stable_id": "0a26bbf75646bd83d8870646ce4005d1ea62ef8846c2724b2f0430bdfd10750a"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 32,
"surface_counts": {
"cylinder": 8,
"plane": 24
},
"axis_count": 8,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-51.0,
-28.5,
0.0,
51.0,
70.0,
38.1
],
"volume_mm3": 184355.404186761,
"surface_area_mm2": 33835.212102609,
"solid_count": 1,
"face_count": 32,
"edge_count": 84,
"vertex_count": 56
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-51.000025,
-28.5,
0.0,
51.000025,
70.000025,
38.1
],
"volume_mm3": 184355.404186761,
"surface_area_mm2": 33835.212102609,
"solid_count": 1,
"face_count": 28,
"edge_count": 68,
"vertex_count": 40
},
"comparisons": {
"volume_mm3": {
"expected": 184355.404186761,
"actual": 184355.404186761,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 33835.212102609,
"actual": 33835.212102609,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-51.000025,
-28.5,
0.0,
51.000025,
70.000025,
38.1
],
"actual": [
-51.0,
-28.5,
0.0,
51.0,
70.0,
38.1
],
"max_absolute_delta": 2.5000000000829914e-05,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 28,
"actual": 32,
"matches": false
},
"edge_count": {
"expected": 68,
"actual": 84,
"matches": false
},
"vertex_count": {
"expected": 40,
"actual": 56,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}