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

918 lines
20 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "146478",
"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": [
0.0,
21.0
],
"end": [
0.0,
69.5
]
},
{
"type": "line",
"start": [
0.0,
69.5
],
"end": [
61.0,
69.5
]
},
{
"type": "line",
"start": [
61.0,
69.5
],
"end": [
61.0,
32.0
]
},
{
"type": "line",
"start": [
61.0,
32.0
],
"end": [
64.0,
32.0
]
},
{
"type": "line",
"start": [
64.0,
32.0
],
"end": [
64.0,
21.0
]
},
{
"type": "line",
"start": [
64.0,
21.0
],
"end": [
0.0,
21.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
64.836842105,
0.0
]
},
{
"type": "line",
"start": [
3.429942615,
69.5
],
"end": [
7.80189136,
55.2
]
},
{
"type": "line",
"start": [
7.80189136,
55.2
],
"end": [
15.19810864,
55.2
]
},
{
"type": "line",
"start": [
15.19810864,
55.2
],
"end": [
19.570057385,
69.5
]
},
{
"type": "line",
"start": [
0.0,
66.0
],
"end": [
61.0,
66.0
]
},
{
"type": "line",
"start": [
11.5,
55.2
],
"end": [
11.5,
21.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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.19810864,
55.2
],
"end": [
19.570057385,
69.5
]
},
{
"type": "line",
"start": [
19.570057385,
69.5
],
"end": [
3.429942615,
69.5
]
},
{
"type": "line",
"start": [
3.429942615,
69.5
],
"end": [
7.80189136,
55.2
]
},
{
"type": "line",
"start": [
7.80189136,
55.2
],
"end": [
15.19810864,
55.2
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
61.0,
0.0
]
}
]
}
},
{
"id": "sk_004",
"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": [
-6.0,
20.124611797
],
"end": [
6.0,
20.124611797
]
},
{
"type": "line",
"start": [
6.0,
20.124611797
],
"end": [
6.0,
24.3
]
},
{
"type": "line",
"start": [
6.0,
24.3
],
"end": [
-6.0,
24.3
]
},
{
"type": "line",
"start": [
-6.0,
24.3
],
"end": [
-6.0,
20.124611797
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图5",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 41.124342916
}
}
]
},
"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": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "d0d8cfcdf0cbcd8d8448ae628a093dfadbdc14330cf0b2b0169abfb1317d72a5",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.06483684210526314,
0.0,
0.0
]
}
}
]
},
{
"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": "revolve_cut",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "axis",
"stable_id": "77dc439ee4540857284a750f4420888b5b9634cbd99b7650f75ea7eb65ed190d",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.061,
0.0,
0.0
]
}
}
]
},
{
"id": "f_007",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.5,
"angle_rad": 0.7853981633974483
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "倒角2",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.5,
"angle_rad": 0.7853981633974483
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "阵列(线性)1",
"atomic_id": "pattern_linear",
"depends_on": [
"f_005"
],
"params": {
"source_feature_ids": [
"f_005"
],
"direction_1": [
1.0,
0.0,
0.0
],
"spacing_1_mm": 19.0,
"pattern_count_1": 3
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_008",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_007"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_009",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_007"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
}
],
"meta": {
"unit": "mm",
"source": "146478.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 4.463555186823331,
"volume": 0.0006376507409747616,
"surface_area": 0.08416840631582798,
"center_of_mass": [
0.03050000000000072,
-9.17819681533135e-05,
1.1311858479825547e-18
],
"principal_moments": [
0.006369635590216969,
0.006378682048815032,
0.009825281216445547
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.0695,
-0.0695,
0.061,
0.0695,
0.0695
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABpAAAAaAAAAGcAAABmAAAAZQAAAA==",
"persist_reference_sha256": "7b9beb7191e2f2f986d9a7b22a4512f3e28e743aa2dbab2d3a652e6815df3f83",
"component": null,
"geometry": {
"box": [
0.0,
-0.0695,
-0.0695,
0.061,
0.0695,
0.0695
],
"face_count": 21,
"edge_count": 32,
"vertex_count": 12
},
"stable_id": "7b9beb7191e2f2f986d9a7b22a4512f3e28e743aa2dbab2d3a652e6815df3f83"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 40,
"surface_counts": {
"cone": 18,
"cylinder": 17,
"plane": 5
},
"axis_count": 35,
"repeat_spacings_mm": [
{
"spacing_mm": 19.0,
"pair_count": 6
},
{
"spacing_mm": 11.7682,
"pair_count": 3
},
{
"spacing_mm": 3.4299,
"pair_count": 3
},
{
"spacing_mm": 38.0,
"pair_count": 3
},
{
"spacing_mm": 15.1981,
"pair_count": 3
},
{
"spacing_mm": 7.2318,
"pair_count": 2
},
{
"spacing_mm": 22.4299,
"pair_count": 2
},
{
"spacing_mm": 30.7682,
"pair_count": 2
},
{
"spacing_mm": 34.1981,
"pair_count": 2
},
{
"spacing_mm": 15.5701,
"pair_count": 2
},
{
"spacing_mm": 3.8019,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-1e-07,
-69.5,
-69.5,
61.0000001,
69.5,
69.5
],
"volume_mm3": 637650.74098665,
"surface_area_mm2": 84168.406312248,
"solid_count": 1,
"face_count": 40,
"edge_count": 86,
"vertex_count": 48
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-69.5,
-69.5,
61.0,
69.5,
69.5
],
"volume_mm3": 637650.740974762,
"surface_area_mm2": 84168.406315828,
"solid_count": 1,
"face_count": 21,
"edge_count": 32,
"vertex_count": 12
},
"comparisons": {
"volume_mm3": {
"expected": 637650.740974762,
"actual": 637650.74098665,
"absolute_delta": 1.1887983419001102e-05,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 84168.406315828,
"actual": 84168.406312248,
"absolute_delta": 3.5800039768218994e-06,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-69.5,
-69.5,
61.0,
69.5,
69.5
],
"actual": [
-1e-07,
-69.5,
-69.5,
61.0000001,
69.5,
69.5
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 21,
"actual": 40,
"matches": false
},
"edge_count": {
"expected": 32,
"actual": 86,
"matches": false
},
"vertex_count": {
"expected": 12,
"actual": 48,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}