Files
cdsl-cad/json_to_cdsl/output/_GFC200_08_Cover.cdsl.json
2026-08-24 14:52:08 +08:00

996 lines
21 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_GFC200_08_Cover",
"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": [
14.5,
-20.0
],
"end": [
15.0,
-19.5
],
"center": [
14.5,
-19.5
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
15.0,
-19.5
],
"end": [
15.0,
17.0
]
},
{
"type": "line",
"start": [
15.0,
17.0
],
"end": [
10.1,
17.0
]
},
{
"type": "line",
"start": [
10.1,
17.0
],
"end": [
10.1,
-20.0
]
},
{
"type": "line",
"start": [
10.1,
-20.0
],
"end": [
14.5,
-20.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": "arc",
"start": [
5.75,
17.0
],
"end": [
-5.75,
17.0
],
"center": [
0.0,
4.929606469
],
"radius_mm": 13.37,
"clockwise": false
},
{
"type": "line",
"start": [
-5.75,
17.0
],
"end": [
5.75,
17.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"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": [
4.0,
-15.0
],
"end": [
4.0,
-13.0
]
},
{
"type": "line",
"start": [
4.0,
-13.0
],
"end": [
11.0,
-13.0
]
},
{
"type": "line",
"start": [
11.0,
-13.0
],
"end": [
11.0,
-11.25
]
},
{
"type": "line",
"start": [
11.0,
-11.25
],
"end": [
15.0,
-11.25
]
},
{
"type": "line",
"start": [
15.0,
-11.25
],
"end": [
15.0,
-15.0
]
},
{
"type": "line",
"start": [
15.0,
-15.0
],
"end": [
4.0,
-15.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
15.0,
-15.0
],
"end": [
4.0,
-15.0
]
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"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,
13.75
],
"end": [
15.0,
10.0
]
},
{
"type": "line",
"start": [
15.0,
10.0
],
"end": [
11.0,
10.0
]
},
{
"type": "line",
"start": [
11.0,
10.0
],
"end": [
11.0,
11.75
]
},
{
"type": "line",
"start": [
11.0,
11.75
],
"end": [
4.0,
11.75
]
},
{
"type": "line",
"start": [
4.0,
11.75
],
"end": [
4.0,
13.75
]
},
{
"type": "line",
"start": [
4.0,
13.75
],
"end": [
15.0,
13.75
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
4.0,
13.75
],
"end": [
15.0,
13.75
]
}
]
}
}
]
},
"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_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_004",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_003"
],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": -1,
"derived_from_sketch_id": "sk_002"
},
"execution_status": "deferred"
},
{
"id": "f_005",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_two_sided",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 5.75,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
},
"reverse_distance_mm": 5.75,
"reverse_end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_006",
"name": "基准面2",
"atomic_id": "reference_plane",
"depends_on": [
"f_005"
],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": -1,
"derived_from_sketch_id": "sk_003"
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_006",
"f_005"
],
"params": {
"distance_mm": 4.9,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_008",
"name": "基准面3",
"atomic_id": "reference_plane",
"depends_on": [
"f_007"
],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": -1,
"derived_from_sketch_id": "sk_004"
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "切除-旋转1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_008",
"f_005"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
15.0,
-15.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_004",
"selectors": [
{
"kind": "axis",
"stable_id": "30e624d74903445ba795852347c4842850ce5ef065eec127d0ecb659a9e4b921",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.015,
-0.015,
0.0
],
"end": [
0.004,
-0.015,
0.0
]
}
}
]
},
{
"id": "f_010",
"name": "基准面4",
"atomic_id": "reference_plane",
"depends_on": [
"f_009"
],
"params": {
"plane": {
"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
]
},
"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": "revolve_cut",
"depends_on": [
"f_010",
"f_005"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
4.0,
13.75,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005",
"selectors": [
{
"kind": "axis",
"stable_id": "4f32ffe1fb39767e4f4b4e191b25debdf4b8de3361b8760d127e20d96e7ba156",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.004,
0.01375,
0.0
],
"end": [
0.015,
0.01375,
0.0
]
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "05_壳体与盖件/0502_端盖/050299_通用端盖/标准_GFC200_08_Cover.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.013709291618291776,
"volume": 1.7576014895245867e-06,
"surface_area": 0.0015066036347143657,
"center_of_mass": [
0.012484429454320014,
-0.0011470097219683174,
-2.670783047232267e-19
],
"principal_moments": [
2.0015145912496264e-07,
1.4012355906073285e-06,
1.5448439447928857e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.010099999999999998,
-0.02,
-0.00575,
0.015,
0.018299606468718997,
0.00575
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-旋转2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABuAAAAbQAAAGwAAABrAAAA",
"persist_reference_sha256": "8ed7ea5f2df09bc3a8016e02cf2d2a5a4f3dffde7123341fda8a21e7814026c4",
"component": null,
"geometry": {
"box": [
0.0101,
-0.02,
-0.00575,
0.015,
0.018299606468718997,
0.00575
],
"face_count": 13,
"edge_count": 23,
"vertex_count": 10
},
"stable_id": "8ed7ea5f2df09bc3a8016e02cf2d2a5a4f3dffde7123341fda8a21e7814026c4"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 17,
"surface_counts": {
"cylinder": 10,
"plane": 7
},
"axis_count": 10,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
10.1,
-20.0,
-5.75,
15.0,
18.299606469,
5.75
],
"volume_mm3": 1757.601489525,
"surface_area_mm2": 1506.603634714,
"solid_count": 1,
"face_count": 17,
"edge_count": 39,
"vertex_count": 26
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
10.1,
-20.0,
-5.75,
15.0,
18.299606469,
5.75
],
"volume_mm3": 1757.601489525,
"surface_area_mm2": 1506.603634714,
"solid_count": 1,
"face_count": 13,
"edge_count": 23,
"vertex_count": 10
},
"comparisons": {
"volume_mm3": {
"expected": 1757.601489525,
"actual": 1757.601489525,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1506.603634714,
"actual": 1506.603634714,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
10.1,
-20.0,
-5.75,
15.0,
18.299606469,
5.75
],
"actual": [
10.1,
-20.0,
-5.75,
15.0,
18.299606469,
5.75
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 13,
"actual": 17,
"matches": false
},
"edge_count": {
"expected": 23,
"actual": 39,
"matches": false
},
"vertex_count": {
"expected": 10,
"actual": 26,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}