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

1377 lines
30 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "220932",
"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": "Sketch1",
"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": [
-15.0,
17.0
],
"end": [
-15.0,
-14.5
]
},
{
"type": "line",
"start": [
-15.0,
-14.5
],
"end": [
15.0,
-14.5
]
},
{
"type": "line",
"start": [
15.0,
-14.5
],
"end": [
15.0,
17.0
]
},
{
"type": "line",
"start": [
15.0,
17.0
],
"end": [
-15.0,
17.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 8.3
}
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch2",
"role": "profile",
"workplane": {
"origin_mm": [
-14.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": [
9.064115214,
9.0
],
"end": [
10.0,
10.621
]
},
{
"type": "line",
"start": [
10.0,
10.621
],
"end": [
14.621,
10.621
]
},
{
"type": "line",
"start": [
14.621,
10.621
],
"end": [
15.0,
11.0
]
},
{
"type": "line",
"start": [
15.0,
11.0
],
"end": [
15.0,
9.0
]
},
{
"type": "line",
"start": [
15.0,
9.0
],
"end": [
9.064115214,
9.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
15.0,
9.0
],
"end": [
9.064115214,
9.0
]
}
]
}
},
{
"id": "sk_004",
"name": "Sketch3",
"role": "profile",
"workplane": {
"origin_mm": [
-14.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": [
9.0,
17.0
],
"end": [
11.0,
17.0
]
},
{
"type": "line",
"start": [
11.0,
17.0
],
"end": [
10.621,
16.621
]
},
{
"type": "line",
"start": [
10.621,
16.621
],
"end": [
10.621,
12.0
]
},
{
"type": "line",
"start": [
10.621,
12.0
],
"end": [
9.0,
11.064115214
]
},
{
"type": "line",
"start": [
9.0,
11.064115214
],
"end": [
9.0,
17.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
9.0,
11.064115214
],
"end": [
9.0,
17.0
]
}
]
}
},
{
"id": "sk_005",
"name": "Sketch4",
"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": false,
"segments": [
{
"type": "line",
"start": [
14.0,
9.0
],
"end": [
1014.0,
9.0
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
14.0,
9.0
],
"end": [
14.0,
-991.0
]
}
]
}
]
}
},
{
"id": "sk_006",
"name": "Sketch5",
"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": false,
"segments": [
{
"type": "line",
"start": [
-9.0,
-14.0
],
"end": [
-9.0,
-1014.0
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
-9.0,
-14.0
],
"end": [
991.0,
-14.0
]
}
]
}
]
}
},
{
"id": "sk_007",
"name": "body_ct",
"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": []
}
}
]
},
"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": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 53.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
},
"reverse_distance_mm": 53.0,
"reverse_end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "Plane1",
"atomic_id": "reference_plane",
"depends_on": [
"f_001"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
-14.0,
-0.0
],
"normal": [
0.0,
1.0,
0.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 14.0,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
{
"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_006",
"name": "Cut-Revolve1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
15.0,
9.0,
0.0
],
"direction": [
-1.0,
0.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "axis",
"stable_id": "d6d946e97e6c72f4e31290eb4bb9f816e951d6d89afa6f3ef118495894a3a3b2",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.015,
0.009000000000000001,
0.0
],
"end": [
0.009064115213643632,
0.009000000000000001,
0.0
]
}
}
]
},
{
"id": "f_007",
"name": "Cut-Revolve2",
"atomic_id": "revolve_cut",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
9.0,
11.064115214,
0.0
],
"direction": [
0.0,
1.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"selectors": [
{
"kind": "axis",
"stable_id": "37093f6e55bc8e80ee8fdf0180f4aa0238bfc6f8ee15aaf930909ef5692836a2",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.009000000000000001,
0.011064115213643618,
0.0
],
"end": [
0.009000000000000001,
0.017,
0.0
]
}
}
]
},
{
"id": "f_010",
"name": "Plane3",
"atomic_id": "reference_plane",
"depends_on": [
"f_002"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
17.0
],
"normal": [
0.0,
0.0,
1.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 17.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_008",
"name": "Plane2",
"atomic_id": "reference_plane",
"depends_on": [
"f_003"
],
"params": {
"plane": {
"origin_mm": [
15.0,
0.0,
0.0
],
"normal": [
1.0,
0.0,
0.0
],
"x_dir": [
0.0,
1.0,
0.0
]
},
"offset_mm": 15.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
{
"id": "f_009",
"name": "LPattern1",
"atomic_id": "pattern_linear",
"depends_on": [
"f_006"
],
"params": {
"source_feature_ids": [
"f_006"
],
"direction_1": [
1.0,
0.0,
0.0
],
"spacing_1_mm": 25.0,
"pattern_count_1": 2,
"direction_2": [
0.0,
-1.0,
0.0
],
"spacing_2_mm": 18.0,
"pattern_count_2": 2
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_011",
"name": "LPattern2",
"atomic_id": "pattern_linear",
"depends_on": [
"f_007"
],
"params": {
"source_feature_ids": [
"f_007"
],
"direction_1": [
0.0,
-1.0,
0.0
],
"spacing_1_mm": 25.0,
"pattern_count_1": 2,
"direction_2": [
1.0,
0.0,
0.0
],
"spacing_2_mm": 18.0,
"pattern_count_2": 2
},
"execution_status": "deferred",
"sketch_id": "sk_006"
},
{
"id": "f_012",
"name": "body_ct XY",
"atomic_id": "reference_plane",
"depends_on": [
"f_011"
],
"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": -1
},
"execution_status": "deferred"
},
{
"id": "f_013",
"name": "body_ct XZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_012"
],
"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": -1
},
"execution_status": "deferred"
},
{
"id": "f_014",
"name": "body_ct YZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_013"
],
"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": -1
},
"execution_status": "deferred"
},
{
"id": "f_015",
"name": "body_ct X",
"atomic_id": "reference_axis",
"depends_on": [
"f_012",
"f_013"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "13648a88fbc3d3ecafaf01cd69bcbbee618a9f1b37ebdc0a95083e1a72678b77",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "13648a88fbc3d3ecafaf01cd69bcbbee618a9f1b37ebdc0a95083e1a72678b77",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "13648a88fbc3d3ecafaf01cd69bcbbee618a9f1b37ebdc0a95083e1a72678b77",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_012"
},
{
"kind": "plane",
"stable_id": "077785ab792a58c344386ede3fbb8f258b354f53b4ff2b76375a521032acd4b6",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_013"
}
]
},
{
"id": "f_016",
"name": "body_ct Y",
"atomic_id": "reference_axis",
"depends_on": [
"f_012",
"f_014"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "13648a88fbc3d3ecafaf01cd69bcbbee618a9f1b37ebdc0a95083e1a72678b77",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "13648a88fbc3d3ecafaf01cd69bcbbee618a9f1b37ebdc0a95083e1a72678b77",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "13648a88fbc3d3ecafaf01cd69bcbbee618a9f1b37ebdc0a95083e1a72678b77",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_012"
},
{
"kind": "plane",
"stable_id": "6fec6b9982863b120d5a40b2468a6c8dce08d2c499768c82c41b0c37615d5364",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_014"
}
]
},
{
"id": "f_017",
"name": "body_ct Z",
"atomic_id": "reference_axis",
"depends_on": [
"f_014",
"f_013"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "6fec6b9982863b120d5a40b2468a6c8dce08d2c499768c82c41b0c37615d5364",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "6fec6b9982863b120d5a40b2468a6c8dce08d2c499768c82c41b0c37615d5364",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "6fec6b9982863b120d5a40b2468a6c8dce08d2c499768c82c41b0c37615d5364",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_014"
},
{
"kind": "plane",
"stable_id": "077785ab792a58c344386ede3fbb8f258b354f53b4ff2b76375a521032acd4b6",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_013"
}
]
}
],
"meta": {
"unit": "mm",
"source": "220932.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.03825740212227044,
"volume": 3.825740212227044e-05,
"surface_area": 0.011141148359975072,
"center_of_mass": [
-5.77996050466702e-05,
0.0015693140388000812,
-0.0265
],
"principal_moments": [
7.3922262361224784e-06,
1.2499241846452187e-05,
1.2858945314056799e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.015,
-0.0145,
-0.053,
0.015,
0.017,
0.0
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "LPattern2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABpAAAAaAAAAGcAAABmAAAAZQAAAA==",
"persist_reference_sha256": "7b9beb7191e2f2f986d9a7b22a4512f3e28e743aa2dbab2d3a652e6815df3f83",
"component": null,
"geometry": {
"box": [
-0.015,
-0.0145,
-0.053,
0.015,
0.017,
0.0
],
"face_count": 31,
"edge_count": 38,
"vertex_count": 16
},
"stable_id": "7b9beb7191e2f2f986d9a7b22a4512f3e28e743aa2dbab2d3a652e6815df3f83"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 56,
"surface_counts": {
"cone": 32,
"cylinder": 18,
"plane": 6
},
"axis_count": 50,
"repeat_spacings_mm": [
{
"spacing_mm": 18.0,
"pair_count": 10
},
{
"spacing_mm": 25.0,
"pair_count": 10
},
{
"spacing_mm": 30.8058,
"pair_count": 10
},
{
"spacing_mm": 1000.0,
"pair_count": 4
},
{
"spacing_mm": 994.4431,
"pair_count": 4
},
{
"spacing_mm": 1000.162,
"pair_count": 4
},
{
"spacing_mm": 994.606,
"pair_count": 4
},
{
"spacing_mm": 1000.3125,
"pair_count": 4
},
{
"spacing_mm": 994.7573,
"pair_count": 4
},
{
"spacing_mm": 1000.4744,
"pair_count": 4
},
{
"spacing_mm": 994.9202,
"pair_count": 4
},
{
"spacing_mm": 5.5569,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-15.0,
-14.5,
-53.0,
15.0,
17.0,
0.0
],
"volume_mm3": 38257.40212227,
"surface_area_mm2": 11141.148359975,
"solid_count": 1,
"face_count": 56,
"edge_count": 114,
"vertex_count": 68
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-15.0,
-14.5,
-53.0,
15.0,
17.0,
0.0
],
"volume_mm3": 38257.40212227,
"surface_area_mm2": 11141.148359975,
"solid_count": 1,
"face_count": 31,
"edge_count": 38,
"vertex_count": 16
},
"comparisons": {
"volume_mm3": {
"expected": 38257.40212227,
"actual": 38257.40212227,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 11141.148359975,
"actual": 11141.148359975,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-15.0,
-14.5,
-53.0,
15.0,
17.0,
0.0
],
"actual": [
-15.0,
-14.5,
-53.0,
15.0,
17.0,
0.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 31,
"actual": 56,
"matches": false
},
"edge_count": {
"expected": 38,
"actual": 114,
"matches": false
},
"vertex_count": {
"expected": 16,
"actual": 68,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}