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

557 lines
12 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "202926",
"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": [
-90.0,
40.0
],
"end": [
90.0,
40.0
]
},
{
"type": "line",
"start": [
90.0,
40.0
],
"end": [
90.0,
-40.0
]
},
{
"type": "line",
"start": [
90.0,
-40.0
],
"end": [
-90.0,
-40.0
]
},
{
"type": "line",
"start": [
-90.0,
-40.0
],
"end": [
-90.0,
40.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-90.0,
40.0
],
"end": [
90.0,
-40.0
]
},
{
"type": "line",
"start": [
-90.0,
-40.0
],
"end": [
90.0,
40.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
12.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": "circle",
"center": [
75.0,
25.0
],
"radius_mm": 0.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_004",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 12.0,
"reverse": false,
"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": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "阵列(线性)1",
"atomic_id": "pattern_linear",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"source_feature_ids": [
"f_005",
"f_004"
],
"direction_1": [
-1.0,
0.0,
0.0
],
"spacing_1_mm": 10.0,
"pattern_count_1": 16,
"direction_2": [
0.0,
1.0,
0.0
],
"spacing_2_mm": 10.0,
"pattern_count_2": 6
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "202926.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.17110353996706035,
"volume": 0.00017110353996706035,
"surface_area": 0.03956389342116909,
"center_of_mass": [
-1.7014436872730038e-17,
6.996604390576602e-18,
0.005990085184483825
],
"principal_moments": [
9.372271014530474e-05,
0.0004650125334182499,
0.0005546197444576824
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.09000000000000002,
-0.039999999999999994,
0.0,
0.08999999999999998,
0.04000000000000001,
0.012
],
"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.09000000000000002,
-0.039999999999999994,
0.0,
0.08999999999999998,
0.04000000000000001,
0.012
],
"face_count": 198,
"edge_count": 204,
"vertex_count": 8
},
"stable_id": "2db9119400da0ea5cb25d03727526719c18c6bd5ffe1fb84e98a0f4cd5d771fa"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 294,
"surface_counts": {
"cylinder": 192,
"plane": 102
},
"axis_count": 192,
"repeat_spacings_mm": [
{
"spacing_mm": 22.3607,
"pair_count": 260
},
{
"spacing_mm": 31.6228,
"pair_count": 220
},
{
"spacing_mm": 50.0,
"pair_count": 206
},
{
"spacing_mm": 36.0555,
"pair_count": 188
},
{
"spacing_mm": 41.2311,
"pair_count": 180
},
{
"spacing_mm": 10.0,
"pair_count": 170
},
{
"spacing_mm": 44.7214,
"pair_count": 152
},
{
"spacing_mm": 14.1421,
"pair_count": 150
},
{
"spacing_mm": 20.0,
"pair_count": 148
},
{
"spacing_mm": 50.9902,
"pair_count": 140
},
{
"spacing_mm": 30.0,
"pair_count": 126
},
{
"spacing_mm": 80.6226,
"pair_count": 116
}
],
"metrics": {
"bounding_box_mm": [
-90.0,
-40.0,
0.0,
90.0,
40.0,
12.0
],
"volume_mm3": 171103.539967062,
"surface_area_mm2": 39563.893421169,
"solid_count": 1,
"face_count": 294,
"edge_count": 588,
"vertex_count": 392
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-90.0,
-40.0,
0.0,
90.0,
40.0,
12.0
],
"volume_mm3": 171103.53996706,
"surface_area_mm2": 39563.893421169,
"solid_count": 1,
"face_count": 198,
"edge_count": 204,
"vertex_count": 8
},
"comparisons": {
"volume_mm3": {
"expected": 171103.53996706,
"actual": 171103.539967062,
"absolute_delta": 2.0081643015146255e-09,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 39563.893421169,
"actual": 39563.893421169,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-90.0,
-40.0,
0.0,
90.0,
40.0,
12.0
],
"actual": [
-90.0,
-40.0,
0.0,
90.0,
40.0,
12.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 198,
"actual": 294,
"matches": false
},
"edge_count": {
"expected": 204,
"actual": 588,
"matches": false
},
"vertex_count": {
"expected": 8,
"actual": 392,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}