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

1198 lines
27 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "240923",
"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": [
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": [
-30.3,
-13.0
],
"end": [
-29.3,
-14.0
],
"center": [
-29.3,
-13.0
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
-29.3,
-14.0
],
"end": [
-24.8,
-14.0
]
},
{
"type": "line",
"start": [
-24.8,
-14.0
],
"end": [
-24.8,
14.0
]
},
{
"type": "line",
"start": [
-24.8,
14.0
],
"end": [
-29.3,
14.0
]
},
{
"type": "arc",
"start": [
-29.3,
14.0
],
"end": [
-30.3,
13.0
],
"center": [
-29.3,
13.0
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
-30.3,
13.0
],
"end": [
-30.3,
-13.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": "line",
"start": [
-24.8,
13.0
],
"end": [
-24.8,
-13.0
]
},
{
"type": "line",
"start": [
-24.8,
-13.0
],
"end": [
-24.5,
-13.0
]
},
{
"type": "line",
"start": [
-24.5,
-13.0
],
"end": [
-24.5,
13.0
]
},
{
"type": "line",
"start": [
-24.5,
13.0
],
"end": [
-24.8,
13.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": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-14.0,
-29.3
],
"end": [
-13.0,
-30.3
],
"center": [
-13.0,
-29.3
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
-13.0,
-30.3
],
"end": [
13.0,
-30.3
]
},
{
"type": "arc",
"start": [
13.0,
-30.3
],
"end": [
14.0,
-29.3
],
"center": [
13.0,
-29.3
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
14.0,
-29.3
],
"end": [
14.0,
-24.8
]
},
{
"type": "line",
"start": [
14.0,
-24.8
],
"end": [
-14.0,
-24.8
]
},
{
"type": "line",
"start": [
-14.0,
-24.8
],
"end": [
-14.0,
-29.3
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-20.0,
-20.0
],
"end": [
-20.0,
-70.0
]
},
{
"type": "line",
"start": [
-20.0,
-70.0
],
"end": [
20.0,
-70.0
]
},
{
"type": "line",
"start": [
20.0,
-70.0
],
"end": [
20.0,
-20.0
]
},
{
"type": "line",
"start": [
20.0,
-20.0
],
"end": [
-20.0,
-20.0
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"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": "line",
"start": [
-30.3,
0.0
],
"end": [
-30.3,
-11.5
]
},
{
"type": "line",
"start": [
-30.3,
-11.5
],
"end": [
-30.5,
-11.5
]
},
{
"type": "line",
"start": [
-30.5,
-11.5
],
"end": [
-30.5,
0.0
]
},
{
"type": "line",
"start": [
-30.5,
0.0
],
"end": [
-30.3,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-30.5,
0.0
],
"end": [
-30.3,
0.0
]
}
]
}
},
{
"id": "sk_006",
"name": "gauge",
"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_008",
"name": "基准面4",
"atomic_id": "reference_plane",
"depends_on": [
"f_001"
],
"params": {
"plane": {
"origin_mm": [
0.0,
24.5,
0.0
],
"normal": [
0.0,
1.0,
0.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 24.5,
"angle_rad": 0.0,
"reverse": false,
"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_009",
"name": "gauge XY",
"atomic_id": "reference_plane",
"depends_on": [
"f_008"
],
"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_004",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_two_sided",
"depends_on": [
"f_003"
],
"params": {
"distance_mm": 14.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
},
"reverse_distance_mm": 14.0,
"reverse_end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_010",
"name": "gauge XZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_009"
],
"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_005",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_002",
"f_004"
],
"params": {
"distance_mm": 14.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
},
"reverse_distance_mm": 14.0,
"reverse_end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_006",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_two_sided",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"distance_mm": 13.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
},
"reverse_distance_mm": 13.0,
"reverse_end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "旋转1",
"atomic_id": "revolve_add",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-30.5,
0.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_005",
"selectors": [
{
"kind": "axis",
"stable_id": "dbd8e2c37a7ccb72dd24ae756b2e60c058dc8bf3a5e266bfa4b6843c068563d2",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.0305,
0.0,
0.0
],
"end": [
-0.0303,
0.0,
0.0
]
}
}
]
},
{
"id": "f_011",
"name": "gauge YZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_010"
],
"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_012",
"name": "gauge X",
"atomic_id": "reference_axis",
"depends_on": [
"f_009",
"f_010"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "cc822751c3d402c24a5adfe3bfd717caeb78b209ad02c1c30164ac4e3b911e7e",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "cc822751c3d402c24a5adfe3bfd717caeb78b209ad02c1c30164ac4e3b911e7e",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "cc822751c3d402c24a5adfe3bfd717caeb78b209ad02c1c30164ac4e3b911e7e",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_009"
},
{
"kind": "plane",
"stable_id": "e6f89605bcb568ca52736b13ab71157ad88b2b53ad9553acbbb37d30eb144123",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_010"
}
]
},
{
"id": "f_013",
"name": "gauge Y",
"atomic_id": "reference_axis",
"depends_on": [
"f_009",
"f_011"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "cc822751c3d402c24a5adfe3bfd717caeb78b209ad02c1c30164ac4e3b911e7e",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "cc822751c3d402c24a5adfe3bfd717caeb78b209ad02c1c30164ac4e3b911e7e",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "cc822751c3d402c24a5adfe3bfd717caeb78b209ad02c1c30164ac4e3b911e7e",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_009"
},
{
"kind": "plane",
"stable_id": "1fdf92ea39c6b7f6f3dee622ef98da3e160818b38e1d1ff057764fe1ec125884",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_011"
}
]
},
{
"id": "f_014",
"name": "gauge Z",
"atomic_id": "reference_axis",
"depends_on": [
"f_011",
"f_010"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "1fdf92ea39c6b7f6f3dee622ef98da3e160818b38e1d1ff057764fe1ec125884",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "1fdf92ea39c6b7f6f3dee622ef98da3e160818b38e1d1ff057764fe1ec125884",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "1fdf92ea39c6b7f6f3dee622ef98da3e160818b38e1d1ff057764fe1ec125884",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_011"
},
{
"kind": "plane",
"stable_id": "e6f89605bcb568ca52736b13ab71157ad88b2b53ad9553acbbb37d30eb144123",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_010"
}
]
}
],
"meta": {
"unit": "mm",
"source": "240923.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.00457430143747986,
"volume": 4.57430143747986e-06,
"surface_area": 0.0021810211256255516,
"center_of_mass": [
-4.9220304614431054e-08,
-4.92203046240709e-08,
0.027460154369161355
],
"principal_moments": [
3.059638603474497e-07,
3.059638603474497e-07,
5.85800932533482e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.014000000000000002,
-0.014,
0.0245,
0.014000000000000002,
0.014,
0.0305
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "旋转1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0",
"component": null,
"geometry": {
"box": [
-0.014000000000000002,
-0.014,
0.0245,
0.014,
0.014,
0.0305
],
"face_count": 17,
"edge_count": 34,
"vertex_count": 20
},
"stable_id": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 18,
"surface_counts": {
"cylinder": 6,
"plane": 12
},
"axis_count": 6,
"repeat_spacings_mm": [
{
"spacing_mm": 19.1426,
"pair_count": 4
},
{
"spacing_mm": 26.0,
"pair_count": 2
},
{
"spacing_mm": 27.0185,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-14.0000001,
-14.0000001,
24.5,
14.0000001,
14.0000001,
30.5
],
"volume_mm3": 4574.243199027,
"surface_area_mm2": 2181.014143049,
"solid_count": 1,
"face_count": 18,
"edge_count": 38,
"vertex_count": 24
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-14.0,
-14.0,
24.5,
14.0,
14.0,
30.5
],
"volume_mm3": 4574.30143748,
"surface_area_mm2": 2181.021125626,
"solid_count": 1,
"face_count": 17,
"edge_count": 34,
"vertex_count": 20
},
"comparisons": {
"volume_mm3": {
"expected": 4574.30143748,
"actual": 4574.243199027,
"absolute_delta": 0.05823845299983077,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 2181.021125626,
"actual": 2181.014143049,
"absolute_delta": 0.006982577000144374,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-14.0,
-14.0,
24.5,
14.0,
14.0,
30.5
],
"actual": [
-14.0000001,
-14.0000001,
24.5,
14.0000001,
14.0000001,
30.5
],
"max_absolute_delta": 9.99999993922529e-08,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 17,
"actual": 18,
"matches": false
},
"edge_count": {
"expected": 34,
"actual": 38,
"matches": false
},
"vertex_count": {
"expected": 20,
"actual": 24,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}