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

836 lines
18 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "227307",
"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": [
3.9,
6.0
],
"end": [
68.0,
6.0
]
},
{
"type": "line",
"start": [
68.0,
6.0
],
"end": [
68.0,
0.0
]
},
{
"type": "line",
"start": [
68.0,
0.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
6.0
]
},
{
"type": "line",
"start": [
0.0,
6.0
],
"end": [
3.9,
6.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
38.562333333,
0.0
]
}
]
}
},
{
"id": "sk_003",
"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": "annulus",
"center": [
0.0,
0.0
],
"inner_radius_mm": 5.0,
"outer_radius_mm": 7.0
}
},
{
"id": "sk_004",
"name": "草图4",
"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": [
10.0,
6.0
],
"end": [
33.0,
6.0
]
},
{
"type": "line",
"start": [
33.0,
6.0
],
"end": [
33.0,
10.75
]
},
{
"type": "line",
"start": [
33.0,
10.75
],
"end": [
10.0,
10.75
]
},
{
"type": "line",
"start": [
10.0,
10.75
],
"end": [
10.0,
6.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-4.095546692,
0.0
],
"end": [
75.698463486,
0.0
]
}
]
}
},
{
"id": "sk_005",
"name": "草图8",
"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": [
-2.0,
7.0
],
"end": [
2.0,
7.0
]
},
{
"type": "line",
"start": [
2.0,
7.0
],
"end": [
2.0,
3.0
]
},
{
"type": "line",
"start": [
2.0,
3.0
],
"end": [
-2.0,
3.0
]
},
{
"type": "line",
"start": [
-2.0,
3.0
],
"end": [
-2.0,
7.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": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "05967160eebf5028112cd3269854ffcb8b2ee0bbf6c92ae3fb0e10b34158a098",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.03856233333333334,
0.0,
0.0
]
}
}
]
},
{
"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_002"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
7.0
],
"normal": [
0.0,
0.0,
1.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 7.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
},
{
"id": "f_006",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 16.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "旋转2",
"atomic_id": "revolve_add",
"depends_on": [
"f_002",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-4.095546692,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"selectors": [
{
"kind": "axis",
"stable_id": "86a469041be602a717f202fdac1605376ce9093cd141c7f29432b71d6ba83e22",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.004095546691664113,
0.0,
0.0
],
"end": [
0.07569846348586878,
0.0,
0.0
]
}
}
]
},
{
"id": "f_010",
"name": "切除-拉伸4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 12.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_008",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_007",
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "倒角2",
"atomic_id": "chamfer",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "227307.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.012683532102283705,
"volume": 1.2683532102283705e-05,
"surface_area": 0.003765226558524257,
"center_of_mass": [
0.027056937252823474,
-2.7016659415902467e-05,
2.4736565404005952e-21
],
"principal_moments": [
5.471032090504069e-07,
3.2615260336016347e-06,
3.2628479040704084e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.01075,
-0.01075,
0.068,
0.01075,
0.01075
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸4",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABwAAAAbAAAAGsAAABlAAAA",
"persist_reference_sha256": "115c2b46480cfb4a057028d68c260f95e67c02c322782d71b7e494186cd86bcb",
"component": null,
"geometry": {
"box": [
0.0,
-0.01075,
-0.01075,
0.068,
0.01075,
0.01075
],
"face_count": 17,
"edge_count": 25,
"vertex_count": 10
},
"stable_id": "115c2b46480cfb4a057028d68c260f95e67c02c322782d71b7e494186cd86bcb"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 27,
"surface_counts": {
"cone": 11,
"cylinder": 8,
"plane": 8
},
"axis_count": 19,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
0.0,
-10.75,
-10.75,
68.0000001,
10.75,
10.75
],
"volume_mm3": 12683.532323761,
"surface_area_mm2": 3765.226729161,
"solid_count": 1,
"face_count": 27,
"edge_count": 57,
"vertex_count": 34
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-10.75,
-10.75,
68.0,
10.75,
10.75
],
"volume_mm3": 12683.532102284,
"surface_area_mm2": 3765.226558524,
"solid_count": 1,
"face_count": 17,
"edge_count": 25,
"vertex_count": 10
},
"comparisons": {
"volume_mm3": {
"expected": 12683.532102284,
"actual": 12683.532323761,
"absolute_delta": 0.00022147699928609654,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 3765.226558524,
"actual": 3765.226729161,
"absolute_delta": 0.00017063699988284498,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-10.75,
-10.75,
68.0,
10.75,
10.75
],
"actual": [
0.0,
-10.75,
-10.75,
68.0000001,
10.75,
10.75
],
"max_absolute_delta": 9.999999406318238e-08,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 17,
"actual": 27,
"matches": false
},
"edge_count": {
"expected": 25,
"actual": 57,
"matches": false
},
"vertex_count": {
"expected": 10,
"actual": 34,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}