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

1198 lines
26 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "139073",
"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": [
63.193909093,
-88.0
],
"end": [
88.0,
-63.193909093
],
"center": [
0.0,
0.0
],
"radius_mm": 108.339605622,
"clockwise": false
},
{
"type": "line",
"start": [
88.0,
-63.193909093
],
"end": [
88.0,
63.193909093
]
},
{
"type": "arc",
"start": [
88.0,
63.193909093
],
"end": [
63.193909093,
88.0
],
"center": [
0.0,
0.0
],
"radius_mm": 108.339605622,
"clockwise": false
},
{
"type": "line",
"start": [
63.193909093,
88.0
],
"end": [
-63.193909093,
88.0
]
},
{
"type": "arc",
"start": [
-63.193909093,
88.0
],
"end": [
-88.0,
63.193909093
],
"center": [
0.0,
0.0
],
"radius_mm": 108.339605622,
"clockwise": false
},
{
"type": "line",
"start": [
-88.0,
63.193909093
],
"end": [
-88.0,
-63.193909093
]
},
{
"type": "arc",
"start": [
-88.0,
-63.193909093
],
"end": [
-63.193909093,
-88.0
],
"center": [
0.0,
0.0
],
"radius_mm": 108.339605622,
"clockwise": false
},
{
"type": "line",
"start": [
-63.193909093,
-88.0
],
"end": [
63.193909093,
-88.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
88.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
-88.0,
0.0
],
"end": [
0.0,
0.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": "line",
"start": [
60.0,
88.0
],
"end": [
60.0,
60.0
]
},
{
"type": "line",
"start": [
60.0,
60.0
],
"end": [
88.0,
60.0
]
},
{
"type": "line",
"start": [
88.0,
60.0
],
"end": [
88.0,
-60.0
]
},
{
"type": "line",
"start": [
88.0,
-60.0
],
"end": [
60.0,
-60.0
]
},
{
"type": "line",
"start": [
60.0,
-60.0
],
"end": [
60.0,
-88.0
]
},
{
"type": "line",
"start": [
60.0,
-88.0
],
"end": [
-60.0,
-88.0
]
},
{
"type": "line",
"start": [
-60.0,
-88.0
],
"end": [
-60.0,
-60.0
]
},
{
"type": "line",
"start": [
-60.0,
-60.0
],
"end": [
-88.0,
-60.0
]
},
{
"type": "line",
"start": [
-88.0,
-60.0
],
"end": [
-88.0,
60.0
]
},
{
"type": "line",
"start": [
-88.0,
60.0
],
"end": [
-60.0,
60.0
]
},
{
"type": "line",
"start": [
-60.0,
60.0
],
"end": [
-60.0,
88.0
]
},
{
"type": "line",
"start": [
-60.0,
88.0
],
"end": [
60.0,
88.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-88.0,
0.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
88.0
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"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": [
48.0,
207.0
],
"end": [
0.0,
207.0
]
},
{
"type": "line",
"start": [
0.0,
207.0
],
"end": [
0.0,
181.0
]
},
{
"type": "line",
"start": [
0.0,
181.0
],
"end": [
48.0,
181.0
]
},
{
"type": "line",
"start": [
48.0,
181.0
],
"end": [
48.0,
207.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
207.0
],
"end": [
0.0,
181.0
]
}
]
}
},
{
"id": "sk_005",
"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": [
-0.0,
83.0
],
"end": [
0.0,
18.0
]
},
{
"type": "line",
"start": [
0.0,
18.0
],
"end": [
57.15,
18.0
]
},
{
"type": "line",
"start": [
57.15,
18.0
],
"end": [
57.15,
21.2
]
},
{
"type": "line",
"start": [
57.15,
21.2
],
"end": [
32.5,
21.2
]
},
{
"type": "line",
"start": [
32.5,
21.2
],
"end": [
32.5,
83.0
]
},
{
"type": "line",
"start": [
32.5,
83.0
],
"end": [
-0.0,
83.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
18.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
-0.0,
83.0
],
"end": [
0.0,
18.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": 18.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"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": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 181.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_009",
"name": "Ø9.0 (9) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 9.0,
"depth_mm": 83.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-51.265241636,
-51.265241636,
0.0
]
},
{
"mm": [
51.265241636,
-51.265241636,
0.0
]
},
{
"mm": [
51.265241636,
51.265241636,
0.0
]
},
{
"mm": [
-51.265241636,
51.265241636,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "旋转1",
"atomic_id": "revolve_add",
"depends_on": [
"f_002",
"f_004",
"f_005"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
207.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_004",
"selectors": [
{
"kind": "axis",
"stable_id": "f401c342b89390608232713c80993fc674766faf6ca2eab8b898a6e48f1be170",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.20700000000000002,
0.0
],
"end": [
0.0,
0.181,
0.0
]
}
}
]
},
{
"id": "f_010",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_005"
],
"params": {
"radius_mm": 15.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "基准面2",
"atomic_id": "reference_plane",
"depends_on": [
"f_006"
],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": -1,
"derived_from_sketch_id": "sk_005"
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "圆角2",
"atomic_id": "fillet",
"depends_on": [
"f_004",
"f_010",
"f_005"
],
"params": {
"radius_mm": 1.5,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "旋转2",
"atomic_id": "revolve_add",
"depends_on": [
"f_007",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-0.0,
83.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_005",
"selectors": [
{
"kind": "axis",
"stable_id": "202041bbd50cb716dc777611bff8f46499c5aa9282c9405d4000ce85611def8b",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-8.673617379884035e-18,
0.083,
0.0
],
"end": [
0.0,
0.018,
0.0
]
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "139073.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 6.032641587541433,
"volume": 0.006032641587541433,
"surface_area": 0.21660978849512694,
"center_of_mass": [
-6.2388997022938476e-18,
-1.1476969451735698e-17,
-0.07948421614773633
],
"principal_moments": [
0.025905804616320333,
0.038024963323553436,
0.038024963323553436
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.08821660150897237,
-0.08821660150897238,
-0.20700000000000002,
0.08821660150897233,
0.08821660150897227,
0.083
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "圆角2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABwAAAAbwAAAG4AAABtAAAAbAAAAA==",
"persist_reference_sha256": "e996db9e3a50cafbad28a18c04cf5097e7c734bda4be00e1fab372dd686f849f",
"component": null,
"geometry": {
"box": [
-0.08821660150897237,
-0.08821660150897238,
-0.20700000000000002,
0.08821660150897233,
0.08821660150897227,
0.08299999999999999
],
"face_count": 80,
"edge_count": 174,
"vertex_count": 96
},
"stable_id": "e996db9e3a50cafbad28a18c04cf5097e7c734bda4be00e1fab372dd686f849f"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 89,
"surface_counts": {
"cylinder": 46,
"plane": 25,
"torus": 18
},
"axis_count": 46,
"repeat_spacings_mm": [
{
"spacing_mm": 221.9623,
"pair_count": 8
},
{
"spacing_mm": 186.8173,
"pair_count": 8
},
{
"spacing_mm": 216.5567,
"pair_count": 8
},
{
"spacing_mm": 153.1323,
"pair_count": 8
},
{
"spacing_mm": 76.8082,
"pair_count": 8
},
{
"spacing_mm": 147.6787,
"pair_count": 8
},
{
"spacing_mm": 102.5305,
"pair_count": 4
},
{
"spacing_mm": 110.2055,
"pair_count": 4
},
{
"spacing_mm": 219.3291,
"pair_count": 4
},
{
"spacing_mm": 74.7011,
"pair_count": 4
},
{
"spacing_mm": 184.0861,
"pair_count": 4
},
{
"spacing_mm": 254.2574,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-88.0000001,
-88.0000001,
-207.0,
88.0000001,
88.0000001,
83.0
],
"volume_mm3": 6032636.077224892,
"surface_area_mm2": 216609.649842116,
"solid_count": 1,
"face_count": 89,
"edge_count": 206,
"vertex_count": 126
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-88.216601509,
-88.216601509,
-207.0,
88.216601509,
88.216601509,
83.0
],
"volume_mm3": 6032641.587541433,
"surface_area_mm2": 216609.788495127,
"solid_count": 1,
"face_count": 80,
"edge_count": 174,
"vertex_count": 96
},
"comparisons": {
"volume_mm3": {
"expected": 6032641.587541433,
"actual": 6032636.077224892,
"absolute_delta": 5.510316541418433,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 216609.788495127,
"actual": 216609.649842116,
"absolute_delta": 0.1386530110030435,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-88.216601509,
-88.216601509,
-207.0,
88.216601509,
88.216601509,
83.0
],
"actual": [
-88.0000001,
-88.0000001,
-207.0,
88.0000001,
88.0000001,
83.0
],
"max_absolute_delta": 0.21660140900000613,
"within_tolerance": false
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 80,
"actual": 89,
"matches": false
},
"edge_count": {
"expected": 174,
"actual": 206,
"matches": false
},
"vertex_count": {
"expected": 96,
"actual": 126,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}