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

1011 lines
22 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "117528",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 8.5
}
},
{
"id": "sk_003",
"name": "草图6",
"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": [
-8.5,
56.3
],
"end": [
-7.75,
56.3
]
},
{
"type": "line",
"start": [
-7.75,
56.3
],
"end": [
-7.75,
55.0
]
},
{
"type": "line",
"start": [
-7.75,
55.0
],
"end": [
-8.5,
55.0
]
},
{
"type": "line",
"start": [
-8.5,
55.0
],
"end": [
-8.5,
56.3
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
110.0
],
"end": [
0.0,
92.604775147
]
}
]
}
},
{
"id": "sk_004",
"name": "草图9",
"role": "profile",
"workplane": {
"origin_mm": [
-61.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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-2.692582404,
7.0
],
"end": [
-7.0,
2.692582404
],
"center": [
0.0,
0.0
],
"radius_mm": 7.5,
"clockwise": false
},
{
"type": "line",
"start": [
-7.0,
2.692582404
],
"end": [
-7.0,
-2.692582404
]
},
{
"type": "arc",
"start": [
-7.0,
-2.692582404
],
"end": [
-2.692582404,
-7.0
],
"center": [
0.0,
0.0
],
"radius_mm": 7.5,
"clockwise": false
},
{
"type": "line",
"start": [
-2.692582404,
-7.0
],
"end": [
2.692582404,
-7.0
]
},
{
"type": "arc",
"start": [
2.692582404,
-7.0
],
"end": [
7.0,
-2.692582404
],
"center": [
0.0,
0.0
],
"radius_mm": 7.5,
"clockwise": false
},
{
"type": "line",
"start": [
7.0,
-2.692582404
],
"end": [
7.0,
2.692582404
]
},
{
"type": "arc",
"start": [
7.0,
2.692582404
],
"end": [
2.692582404,
7.0
],
"center": [
0.0,
0.0
],
"radius_mm": 7.5,
"clockwise": false
},
{
"type": "line",
"start": [
2.692582404,
7.0
],
"end": [
-2.692582404,
7.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
8.0,
0.0
],
"end": [
-8.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
-8.0
],
"end": [
0.0,
8.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": 123.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"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": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.5,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "M6 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 6.0,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
0.0,
0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 15.0,
"class": "1B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"name": "切除-旋转1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_002",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
110.0,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "axis",
"stable_id": "cc0a675928eddb84bb3482842f77b7c9db4786b5ebb9848de5cc643268a9576c",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.11,
0.0
],
"end": [
0.0,
0.0926047751474357,
0.0
]
}
}
]
},
{
"id": "f_009",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_002"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
6.0
],
"normal": [
0.0,
0.0,
1.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 6.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": "镜向1",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_007",
"f_001"
],
"params": {
"source_feature_ids": [
"f_007"
],
"mirror_plane": {
"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_010",
"name": "M6 螺纹孔3",
"atomic_id": "hole_wizard",
"depends_on": [
"f_009"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 6.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-0.0,
113.0,
0.0
]
},
{
"mm": [
0.0,
-113.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 12.0,
"class": ""
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_011",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 12.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_012",
"name": "倒角2",
"atomic_id": "chamfer",
"depends_on": [
"f_011"
],
"params": {
"distance_mm": 0.5,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_013",
"name": "镜向2",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_001",
"f_012",
"f_011"
],
"params": {
"source_feature_ids": [
"f_012",
"f_011"
],
"mirror_plane": {
"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_014",
"name": "M6 螺纹孔4",
"atomic_id": "hole_wizard",
"depends_on": [
"f_011",
"f_004",
"f_005",
"f_012"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 6.0,
"depth_mm": 14.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-67.5,
0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 14.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_015",
"name": "镜向3",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_014",
"f_001"
],
"params": {
"source_feature_ids": [
"f_014"
],
"mirror_plane": {
"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"
}
]
}
],
"meta": {
"unit": "mm",
"source": "117528.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.24583540569242338,
"volume": 3.1316612190117626e-05,
"surface_area": 0.008592956275889083,
"center_of_mass": [
7.313231415653945e-19,
-2.1725084747179666e-18,
4.592518580279742e-17
],
"principal_moments": [
8.641822918216598e-06,
0.00040368495372476195,
0.0004037487011313317
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0085,
-0.0085,
-0.07350000000000004,
0.0085,
0.0085,
0.07350000000000004
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "镜向3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAABzAAAAcgAAAHEAAABwAAAAbgAAAG0AAABqAAAA",
"persist_reference_sha256": "4a4642fdf1379aba2068b23d9b9d05761e3d9c1efc9a1b748f05a2402f67d3f2",
"component": null,
"geometry": {
"box": [
-0.0085,
-0.0085,
-0.07350000000000002,
0.0085,
0.0085,
0.07350000000000004
],
"face_count": 41,
"edge_count": 80,
"vertex_count": 40
},
"stable_id": "4a4642fdf1379aba2068b23d9b9d05761e3d9c1efc9a1b748f05a2402f67d3f2"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 50,
"surface_counts": {
"cone": 12,
"cylinder": 22,
"plane": 16
},
"axis_count": 34,
"repeat_spacings_mm": [
{
"spacing_mm": 9.2195,
"pair_count": 3
},
{
"spacing_mm": 135.0,
"pair_count": 2
},
{
"spacing_mm": 43.0726,
"pair_count": 2
},
{
"spacing_mm": 177.638,
"pair_count": 2
},
{
"spacing_mm": 141.1737,
"pair_count": 2
},
{
"spacing_mm": 183.5,
"pair_count": 2
},
{
"spacing_mm": 36.5,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-8.5,
-8.5,
-73.5000001,
8.5,
8.5,
73.5000001
],
"volume_mm3": 31316.706275273,
"surface_area_mm2": 8592.953551176,
"solid_count": 1,
"face_count": 50,
"edge_count": 114,
"vertex_count": 72
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-8.5,
-8.5,
-73.5,
8.5,
8.5,
73.5
],
"volume_mm3": 31316.612190118,
"surface_area_mm2": 8592.956275889,
"solid_count": 1,
"face_count": 41,
"edge_count": 80,
"vertex_count": 40
},
"comparisons": {
"volume_mm3": {
"expected": 31316.612190118,
"actual": 31316.706275273,
"absolute_delta": 0.09408515500035719,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 8592.956275889,
"actual": 8592.953551176,
"absolute_delta": 0.0027247130001342157,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-8.5,
-8.5,
-73.5,
8.5,
8.5,
73.5
],
"actual": [
-8.5,
-8.5,
-73.5000001,
8.5,
8.5,
73.5000001
],
"max_absolute_delta": 9.999999406318238e-08,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 41,
"actual": 50,
"matches": false
},
"edge_count": {
"expected": 80,
"actual": 114,
"matches": false
},
"vertex_count": {
"expected": 40,
"actual": 72,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}