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

777 lines
18 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "210787",
"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": "line",
"start": [
-100.0,
200.0
],
"end": [
100.0,
200.0
]
},
{
"type": "line",
"start": [
100.0,
200.0
],
"end": [
100.0,
-200.0
]
},
{
"type": "line",
"start": [
100.0,
-200.0
],
"end": [
-100.0,
-200.0
]
},
{
"type": "line",
"start": [
-100.0,
-200.0
],
"end": [
-100.0,
200.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-100.0,
200.0
],
"end": [
100.0,
-200.0
]
},
{
"type": "line",
"start": [
-100.0,
-200.0
],
"end": [
100.0,
200.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": 6.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": "打孔尺寸(%根据十字)槽沉头木螺钉的类型1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "十字槽沉头木螺钉 GB/T 951-1986",
"diameter_mm": 6.4,
"depth_mm": 6.0,
"end_condition": {
"solidworks_code": 2,
"type": "through_all_both"
},
"positions": [
{
"mm": [
90.0,
100.0,
0.0
]
},
{
"mm": [
90.0,
50.0,
0.0
]
},
{
"mm": [
70.0,
100.0,
0.0
]
},
{
"mm": [
70.0,
50.0,
0.0
]
}
],
"countersink": {
"diameter_mm": 13.2,
"angle_rad": 1.5707963267948966
},
"host_face": {
"kind": "face",
"stable_id": "step-face-d06a95b9f5b452bbaad5c5d2",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-99.0,
-199.0,
0.0,
99.0,
199.0,
0.0
],
"center_mm": [
-0.0,
-1.056614234,
0.0
],
"normal": [
-0.0,
0.0,
1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-d06a95b9f5b452bbaad5c5d2",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-99.0,
-199.0,
0.0,
99.0,
199.0,
0.0
],
"center_mm": [
-0.0,
-1.056614234,
0.0
],
"normal": [
-0.0,
0.0,
1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_006",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"origin_mm": [
100.0,
200.0,
-6.0
],
"x_dir": [
0.0,
0.0,
-1.0
],
"normal": [
1.0,
0.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 1,
"references": [
{
"kind": "feature",
"stable_id": "7702cbf85e274de5f85bcfd60408fe64dcce2aa80c93a67c40199f738af45b03",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "88bee6fea490f3b7a6faf9b39ceae22a209192d3283d66e94c9313e445b2e12a",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
1.0,
1.7347234759768068e-16,
0.0,
0.09999999999999994,
0.20000000000000004,
-0.006
]
},
"box": [
0.09999999999999994,
-0.19999999999999998,
-0.006,
0.1,
0.20000000000000004,
0.0
],
"area": 0.0024000000000000002
}
},
{
"kind": "face",
"stable_id": "adbf745396b196de1751205b90257fffa943534e568007d1273172bcbaf9e3e5",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-1.0,
-1.0408340855860841e-16,
0.0,
-0.10000000000000005,
0.20000000000000004,
-0.006
]
},
"box": [
-0.10000000000000005,
-0.19999999999999998,
-0.006,
-0.1,
0.20000000000000004,
0.0
],
"area": 0.0024000000000000002
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "7702cbf85e274de5f85bcfd60408fe64dcce2aa80c93a67c40199f738af45b03",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "88bee6fea490f3b7a6faf9b39ceae22a209192d3283d66e94c9313e445b2e12a",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
1.0,
1.7347234759768068e-16,
0.0,
0.09999999999999994,
0.20000000000000004,
-0.006
]
},
"box": [
0.09999999999999994,
-0.19999999999999998,
-0.006,
0.1,
0.20000000000000004,
0.0
],
"area": 0.0024000000000000002
}
},
{
"kind": "face",
"stable_id": "adbf745396b196de1751205b90257fffa943534e568007d1273172bcbaf9e3e5",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-1.0,
-1.0408340855860841e-16,
0.0,
-0.10000000000000005,
0.20000000000000004,
-0.006
]
},
"box": [
-0.10000000000000005,
-0.19999999999999998,
-0.006,
-0.1,
0.20000000000000004,
0.0
],
"area": 0.0024000000000000002
}
}
]
},
{
"id": "f_008",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "镜向1",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_005",
"f_006"
],
"params": {
"source_feature_ids": [
"f_005"
],
"mirror_plane": {
"kind": "plane",
"stable_id": "654d0e00f98a978a212c914b124943d3eb74b261e9a9216f59f71fe0cd97bcae",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_006"
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "654d0e00f98a978a212c914b124943d3eb74b261e9a9216f59f71fe0cd97bcae",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_006"
}
]
}
],
"meta": {
"unit": "mm",
"source": "210787.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.47599019492829014,
"volume": 0.00047599019492829017,
"surface_area": 0.166027402964862,
"center_of_mass": [
-1.3093853213669414e-17,
-0.00044168006530026933,
-0.003005133288616435
],
"principal_moments": [
0.001573837488269497,
0.006356912621441805,
0.007927907607637773
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.10000000000000006,
-0.19999999999999998,
-0.006,
0.1,
0.20000000000000004,
0.0
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABsAAAAawAAAGoAAAA=",
"persist_reference_sha256": "2db9119400da0ea5cb25d03727526719c18c6bd5ffe1fb84e98a0f4cd5d771fa",
"component": null,
"geometry": {
"box": [
-0.10000000000000005,
-0.19999999999999998,
-0.006,
0.1,
0.20000000000000004,
0.0
],
"face_count": 42,
"edge_count": 72,
"vertex_count": 24
},
"stable_id": "2db9119400da0ea5cb25d03727526719c18c6bd5ffe1fb84e98a0f4cd5d771fa"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 58,
"surface_counts": {
"cone": 16,
"cylinder": 16,
"plane": 26
},
"axis_count": 32,
"repeat_spacings_mm": [
{
"spacing_mm": 50.0,
"pair_count": 4
},
{
"spacing_mm": 20.0,
"pair_count": 4
},
{
"spacing_mm": 53.8516,
"pair_count": 4
},
{
"spacing_mm": 160.0,
"pair_count": 4
},
{
"spacing_mm": 167.6305,
"pair_count": 4
},
{
"spacing_mm": 180.0,
"pair_count": 2
},
{
"spacing_mm": 186.8154,
"pair_count": 2
},
{
"spacing_mm": 140.0,
"pair_count": 2
},
{
"spacing_mm": 148.6607,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-100.0,
-200.0,
-6.0,
100.0,
200.0,
0.0
],
"volume_mm3": 475990.19492829,
"surface_area_mm2": 166027.402964862,
"solid_count": 1,
"face_count": 58,
"edge_count": 128,
"vertex_count": 72
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-100.0,
-200.0,
-6.0,
100.0,
200.0,
0.0
],
"volume_mm3": 475990.19492829,
"surface_area_mm2": 166027.402964862,
"solid_count": 1,
"face_count": 42,
"edge_count": 72,
"vertex_count": 24
},
"comparisons": {
"volume_mm3": {
"expected": 475990.19492829,
"actual": 475990.19492829,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 166027.402964862,
"actual": 166027.402964862,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-100.0,
-200.0,
-6.0,
100.0,
200.0,
0.0
],
"actual": [
-100.0,
-200.0,
-6.0,
100.0,
200.0,
0.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 42,
"actual": 58,
"matches": false
},
"edge_count": {
"expected": 72,
"actual": 128,
"matches": false
},
"vertex_count": {
"expected": 24,
"actual": 72,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}