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

1086 lines
24 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "150971",
"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": "arc",
"start": [
2.85993547,
6.629083858
],
"end": [
2.820017309,
5.931980095
],
"center": [
3.19732007,
6.260069452
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
2.820017309,
5.931980095
],
"end": [
4.027839432,
4.542984654
]
},
{
"type": "arc",
"start": [
4.027839432,
4.542984654
],
"end": [
4.135168125,
3.379785812
],
"center": [
3.27323391,
3.886805939
],
"radius_mm": 1.0,
"clockwise": true
},
{
"type": "line",
"start": [
4.135168125,
3.379785812
],
"end": [
2.5,
0.6
]
},
{
"type": "line",
"start": [
2.5,
0.6
],
"end": [
3.0,
0.6
]
},
{
"type": "line",
"start": [
3.0,
0.6
],
"end": [
3.0,
0.0
]
},
{
"type": "line",
"start": [
3.0,
0.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
15.0
]
},
{
"type": "line",
"start": [
0.0,
15.0
],
"end": [
6.0,
15.0
]
},
{
"type": "line",
"start": [
6.0,
15.0
],
"end": [
6.0,
9.5
]
},
{
"type": "line",
"start": [
6.0,
9.5
],
"end": [
2.85993547,
6.629083858
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
15.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": "arc",
"start": [
3.5,
12.5
],
"end": [
3.5,
10.5
],
"center": [
3.5,
11.5
],
"radius_mm": 1.0,
"clockwise": true
},
{
"type": "line",
"start": [
3.5,
10.5
],
"end": [
1.0,
10.5
]
},
{
"type": "line",
"start": [
1.0,
10.5
],
"end": [
1.0,
6.3
]
},
{
"type": "line",
"start": [
1.0,
6.3
],
"end": [
2.840697387,
4.606558404
]
},
{
"type": "arc",
"start": [
2.840697387,
4.606558404
],
"end": [
2.969291869,
3.278236942
],
"center": [
2.163640856,
3.870627392
],
"radius_mm": 1.0,
"clockwise": true
},
{
"type": "line",
"start": [
2.969291869,
3.278236942
],
"end": [
1.1,
0.6
]
},
{
"type": "line",
"start": [
1.1,
0.6
],
"end": [
2.5,
0.0
]
},
{
"type": "line",
"start": [
2.5,
0.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
15.0
]
},
{
"type": "line",
"start": [
0.0,
15.0
],
"end": [
2.5,
15.0
]
},
{
"type": "line",
"start": [
2.5,
15.0
],
"end": [
2.5,
12.5
]
},
{
"type": "line",
"start": [
2.5,
12.5
],
"end": [
3.5,
12.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
15.0
]
}
]
}
},
{
"id": "sk_004",
"name": "suction-cup-to_body",
"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": "旋转1",
"atomic_id": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
0.0,
1.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "b3bbeecf61eb0eebdd1fce239c4114c35a854e1d4748549cdd97807c688171f2",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.0,
0.015,
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": "revolve_cut",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
0.0,
1.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "axis",
"stable_id": "264d3dc2dd5a453b44f52ac433afbc1c8917fb2c3a743555867b42347297df2c",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.0,
0.015,
0.0
]
}
}
]
},
{
"id": "f_006",
"name": "基准面4",
"atomic_id": "reference_plane",
"depends_on": [
"f_002"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
15.0
],
"normal": [
0.0,
0.0,
1.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 15.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_007",
"name": "suction-cup-to_body XY",
"atomic_id": "reference_plane",
"depends_on": [
"f_006"
],
"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_008",
"name": "suction-cup-to_body XZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_007"
],
"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_009",
"name": "suction-cup-to_body YZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_008"
],
"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_010",
"name": "suction-cup-to_body X",
"atomic_id": "reference_axis",
"depends_on": [
"f_007",
"f_008"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "2e75bcce0963c55e09ac03e95b09eb4d9a78062bd5a973bbae3e1a326c0dcb2b",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "2e75bcce0963c55e09ac03e95b09eb4d9a78062bd5a973bbae3e1a326c0dcb2b",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "2e75bcce0963c55e09ac03e95b09eb4d9a78062bd5a973bbae3e1a326c0dcb2b",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_007"
},
{
"kind": "plane",
"stable_id": "c2374859f1c25b25a16c26d059a0ea0f1db486712aa3716d9856fa3c23e3857c",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_008"
}
]
},
{
"id": "f_011",
"name": "suction-cup-to_body Y",
"atomic_id": "reference_axis",
"depends_on": [
"f_007",
"f_009"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "2e75bcce0963c55e09ac03e95b09eb4d9a78062bd5a973bbae3e1a326c0dcb2b",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "2e75bcce0963c55e09ac03e95b09eb4d9a78062bd5a973bbae3e1a326c0dcb2b",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "2e75bcce0963c55e09ac03e95b09eb4d9a78062bd5a973bbae3e1a326c0dcb2b",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_007"
},
{
"kind": "plane",
"stable_id": "e3020cda7a575457c1c65693cf18ff42170d19987b12c6ebf62caf7e9c620491",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_009"
}
]
},
{
"id": "f_012",
"name": "suction-cup-to_body Z",
"atomic_id": "reference_axis",
"depends_on": [
"f_009",
"f_008"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "e3020cda7a575457c1c65693cf18ff42170d19987b12c6ebf62caf7e9c620491",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "e3020cda7a575457c1c65693cf18ff42170d19987b12c6ebf62caf7e9c620491",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "e3020cda7a575457c1c65693cf18ff42170d19987b12c6ebf62caf7e9c620491",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_009"
},
{
"kind": "plane",
"stable_id": "c2374859f1c25b25a16c26d059a0ea0f1db486712aa3716d9856fa3c23e3857c",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_008"
}
]
}
],
"meta": {
"unit": "mm",
"source": "150971.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0007719815414165106,
"volume": 7.719815414165106e-07,
"surface_area": 0.0009198224261887214,
"center_of_mass": [
3.600250406348292e-20,
0.009774172480789529,
-1.622991791918897e-19
],
"principal_moments": [
1.3406384156946872e-08,
1.7546064260283654e-08,
1.7546064260283654e-08
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.006,
0.0,
-0.006,
0.006,
0.015,
0.006
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-旋转1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABmAAAAZQAAAA==",
"persist_reference_sha256": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7",
"component": null,
"geometry": {
"box": [
-0.006,
0.0,
-0.006,
0.006,
0.015,
0.006
],
"face_count": 19,
"edge_count": 19,
"vertex_count": 0
},
"stable_id": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 35,
"surface_counts": {
"cone": 12,
"cylinder": 8,
"plane": 5,
"torus": 10
},
"axis_count": 20,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-6.0,
0.0,
-6.0,
6.0,
15.0,
6.0
],
"volume_mm3": 771.981541417,
"surface_area_mm2": 919.822426189,
"solid_count": 1,
"face_count": 35,
"edge_count": 70,
"vertex_count": 40
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-6.0,
0.0,
-6.0,
6.0,
15.0,
6.0
],
"volume_mm3": 771.981541417,
"surface_area_mm2": 919.822426189,
"solid_count": 1,
"face_count": 19,
"edge_count": 19,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 771.981541417,
"actual": 771.981541417,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 919.822426189,
"actual": 919.822426189,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-6.0,
0.0,
-6.0,
6.0,
15.0,
6.0
],
"actual": [
-6.0,
0.0,
-6.0,
6.0,
15.0,
6.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 19,
"actual": 35,
"matches": false
},
"edge_count": {
"expected": 19,
"actual": 70,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 40,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}