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

619 lines
13 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "184825",
"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,
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": [
21.0,
100.0
],
"end": [
-21.0,
100.0
]
},
{
"type": "line",
"start": [
-21.0,
100.0
],
"end": [
-21.0,
-100.0
]
},
{
"type": "line",
"start": [
-21.0,
-100.0
],
"end": [
21.0,
-100.0
]
},
{
"type": "line",
"start": [
21.0,
-100.0
],
"end": [
21.0,
100.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_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": "基准面4",
"atomic_id": "reference_plane",
"depends_on": [
"f_003"
],
"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_002"
},
"execution_status": "deferred"
},
{
"id": "f_005",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 9.5,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_006",
"name": "Ø3.0 (3) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 3.0,
"depth_mm": 200.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
21.0,
6.4,
0.0
]
},
{
"mm": [
-21.0,
6.4,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"name": "Ø0.6 (0.6) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 0.6,
"depth_mm": 283.16,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
10.5,
0.0,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "M4 凹头盖螺钉的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005"
],
"params": {
"hole_type": "凹头盖螺钉 - ANSI B18.3.1M",
"diameter_mm": 4.5,
"depth_mm": 9.5,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-11.5,
-80.0,
0.0
]
},
{
"mm": [
11.5,
-80.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 8.0,
"depth_mm": 4.0
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_009",
"name": "阵列(线性)2",
"atomic_id": "pattern_linear",
"depends_on": [
"f_008",
"f_005"
],
"params": {
"source_feature_ids": [
"f_008",
"f_005"
],
"direction_1": [
0.0,
0.0,
-1.0
],
"spacing_1_mm": 40.0,
"pattern_count_1": 5
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "184825.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.07547547805086477,
"volume": 7.547547805086477e-05,
"surface_area": 0.02359338550936357,
"center_of_mass": [
-3.5397263690562494e-06,
0.004670573651247564,
1.0479466025303422e-09
],
"principal_moments": [
1.1321519744998886e-05,
0.0002525310488873559,
0.00026271075225477733
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.020999999999999998,
0.0,
-0.1,
0.020999999999999998,
0.0095,
0.1
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "阵列(线性)2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABtAAAAagAAAGkAAABoAAAAZwAAAA==",
"persist_reference_sha256": "389f6a600830182f284f917aef9dce0f3a81299936687b852c6a2fed2c9c2254",
"component": null,
"geometry": {
"box": [
-0.020999999999999998,
0.0,
-0.1,
0.020999999999999998,
0.0095,
0.1
],
"face_count": 47,
"edge_count": 95,
"vertex_count": 40
},
"stable_id": "389f6a600830182f284f917aef9dce0f3a81299936687b852c6a2fed2c9c2254"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 68,
"surface_counts": {
"cylinder": 49,
"plane": 19
},
"axis_count": 49,
"repeat_spacings_mm": [
{
"spacing_mm": 40.0,
"pair_count": 8
},
{
"spacing_mm": 46.1411,
"pair_count": 8
},
{
"spacing_mm": 80.0,
"pair_count": 6
},
{
"spacing_mm": 83.2406,
"pair_count": 6
},
{
"spacing_mm": 23.0,
"pair_count": 5
},
{
"spacing_mm": 120.0,
"pair_count": 4
},
{
"spacing_mm": 122.1843,
"pair_count": 4
},
{
"spacing_mm": 160.0,
"pair_count": 2
},
{
"spacing_mm": 161.6447,
"pair_count": 2
},
{
"spacing_mm": 180.2772,
"pair_count": 2
},
{
"spacing_mm": 182.9368,
"pair_count": 2
},
{
"spacing_mm": 140.3562,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-21.0,
-1e-07,
-100.0000001,
21.0,
9.5,
100.0000001
],
"volume_mm3": 75475.491977642,
"surface_area_mm2": 23593.387411996,
"solid_count": 1,
"face_count": 68,
"edge_count": 183,
"vertex_count": 122
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-21.0,
0.0,
-100.0,
21.0,
9.5,
100.0
],
"volume_mm3": 75475.478050865,
"surface_area_mm2": 23593.385509364,
"solid_count": 1,
"face_count": 47,
"edge_count": 95,
"vertex_count": 40
},
"comparisons": {
"volume_mm3": {
"expected": 75475.478050865,
"actual": 75475.491977642,
"absolute_delta": 0.013926776999142021,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 23593.385509364,
"actual": 23593.387411996,
"absolute_delta": 0.0019026319969270844,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-21.0,
0.0,
-100.0,
21.0,
9.5,
100.0
],
"actual": [
-21.0,
-1e-07,
-100.0000001,
21.0,
9.5,
100.0000001
],
"max_absolute_delta": 1e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 47,
"actual": 68,
"matches": false
},
"edge_count": {
"expected": 95,
"actual": 183,
"matches": false
},
"vertex_count": {
"expected": 40,
"actual": 122,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}