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

1277 lines
28 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "242307",
"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": [
-58.5,
14.0
],
"end": [
58.5,
14.0
]
},
{
"type": "line",
"start": [
58.5,
14.0
],
"end": [
58.5,
-14.0
]
},
{
"type": "line",
"start": [
58.5,
-14.0
],
"end": [
-58.5,
-14.0
]
},
{
"type": "line",
"start": [
-58.5,
-14.0
],
"end": [
-58.5,
14.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-58.5,
14.0
],
"end": [
58.5,
-14.0
]
},
{
"type": "line",
"start": [
-58.5,
-14.0
],
"end": [
58.5,
14.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": [
-55.0,
10.0
],
"end": [
55.0,
10.0
]
},
{
"type": "line",
"start": [
55.0,
10.0
],
"end": [
55.0,
-10.0
]
},
{
"type": "line",
"start": [
55.0,
-10.0
],
"end": [
-55.0,
-10.0
]
},
{
"type": "line",
"start": [
-55.0,
-10.0
],
"end": [
-55.0,
10.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-55.0,
10.0
],
"end": [
55.0,
-10.0
]
},
{
"type": "line",
"start": [
-55.0,
-10.0
],
"end": [
55.0,
10.0
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"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": [
-1.75,
38.5
],
"end": [
1.75,
38.5
]
},
{
"type": "line",
"start": [
1.75,
38.5
],
"end": [
1.75,
10.0
]
},
{
"type": "line",
"start": [
1.75,
10.0
],
"end": [
-1.75,
10.0
]
},
{
"type": "line",
"start": [
-1.75,
10.0
],
"end": [
-1.75,
38.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
39.897088302
]
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"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": [
-50.5,
14.0
],
"end": [
50.5,
14.0
]
},
{
"type": "line",
"start": [
50.5,
14.0
],
"end": [
50.5,
33.0
]
},
{
"type": "line",
"start": [
50.5,
33.0
],
"end": [
-50.5,
33.0
]
},
{
"type": "line",
"start": [
-50.5,
33.0
],
"end": [
-50.5,
14.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
50.5,
-14.0
],
"end": [
50.5,
-33.0
]
},
{
"type": "line",
"start": [
50.5,
-33.0
],
"end": [
-50.5,
-33.0
]
},
{
"type": "line",
"start": [
-50.5,
-33.0
],
"end": [
-50.5,
-14.0
]
},
{
"type": "line",
"start": [
-50.5,
-14.0
],
"end": [
50.5,
-14.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
33.971484997
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
37.450046641,
0.0
]
}
]
}
},
{
"id": "sk_006",
"name": "草图5",
"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": "arc",
"start": [
-36.0,
26.0
],
"end": [
-36.0,
20.0
],
"center": [
-36.0,
23.0
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "line",
"start": [
-36.0,
20.0
],
"end": [
-24.0,
20.0
]
},
{
"type": "arc",
"start": [
-24.0,
20.0
],
"end": [
-24.0,
26.0
],
"center": [
-24.0,
23.0
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "line",
"start": [
-24.0,
26.0
],
"end": [
-36.0,
26.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
36.0,
26.0
],
"end": [
36.0,
20.0
],
"center": [
36.0,
23.0
],
"radius_mm": 3.0,
"clockwise": true
},
{
"type": "line",
"start": [
36.0,
20.0
],
"end": [
24.0,
20.0
]
},
{
"type": "arc",
"start": [
24.0,
20.0
],
"end": [
24.0,
26.0
],
"center": [
24.0,
23.0
],
"radius_mm": 3.0,
"clockwise": true
},
{
"type": "line",
"start": [
24.0,
26.0
],
"end": [
36.0,
26.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-36.0,
-26.0
],
"end": [
-36.0,
-20.0
],
"center": [
-36.0,
-23.0
],
"radius_mm": 3.0,
"clockwise": true
},
{
"type": "line",
"start": [
-36.0,
-20.0
],
"end": [
-24.0,
-20.0
]
},
{
"type": "arc",
"start": [
-24.0,
-20.0
],
"end": [
-24.0,
-26.0
],
"center": [
-24.0,
-23.0
],
"radius_mm": 3.0,
"clockwise": true
},
{
"type": "line",
"start": [
-24.0,
-26.0
],
"end": [
-36.0,
-26.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
36.0,
-26.0
],
"end": [
36.0,
-20.0
],
"center": [
36.0,
-23.0
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "line",
"start": [
36.0,
-20.0
],
"end": [
24.0,
-20.0
]
},
{
"type": "arc",
"start": [
24.0,
-20.0
],
"end": [
24.0,
-26.0
],
"center": [
24.0,
-23.0
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "line",
"start": [
24.0,
-26.0
],
"end": [
36.0,
-26.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
49.143955724,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
31.159044217
]
},
{
"type": "line",
"start": [
-36.0,
23.0
],
"end": [
-24.0,
23.0
]
},
{
"type": "line",
"start": [
36.0,
23.0
],
"end": [
24.0,
23.0
]
},
{
"type": "line",
"start": [
-36.0,
-23.0
],
"end": [
-24.0,
-23.0
]
},
{
"type": "line",
"start": [
36.0,
-23.0
],
"end": [
24.0,
-23.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": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 38.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all_both",
"solidworks_code": 2
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 10.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_008",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all_both",
"solidworks_code": 2
}
},
"execution_status": "deferred",
"sketch_id": "sk_006"
},
{
"id": "f_010",
"name": "圆角2",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 2.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_007"
],
"params": {
"radius_mm": 5.0,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "242307.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0762449796782931,
"volume": 7.474998007675795e-05,
"surface_area": 0.03240696447372311,
"center_of_mass": [
-1.3667000211304305e-17,
0.012692248372345538,
1.7705542914202829e-19
],
"principal_moments": [
3.5120621768263845e-05,
9.508088117240817e-05,
0.0001117568976363831
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.05850000000000001,
-5.000000000143778e-08,
-0.033,
0.058499999999999996,
0.0385,
0.033
],
"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.05850000000000001,
-5e-08,
-0.033,
0.058499999999999996,
0.0385,
0.033
],
"face_count": 49,
"edge_count": 144,
"vertex_count": 96
},
"stable_id": "7b9beb7191e2f2f986d9a7b22a4512f3e28e743aa2dbab2d3a652e6815df3f83"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 49,
"surface_counts": {
"cylinder": 16,
"plane": 33
},
"axis_count": 16,
"repeat_spacings_mm": [
{
"spacing_mm": 12.0,
"pair_count": 4
},
{
"spacing_mm": 60.0,
"pair_count": 4
},
{
"spacing_mm": 46.0,
"pair_count": 4
},
{
"spacing_mm": 47.5395,
"pair_count": 4
},
{
"spacing_mm": 75.6042,
"pair_count": 4
},
{
"spacing_mm": 100.2774,
"pair_count": 4
},
{
"spacing_mm": 86.4844,
"pair_count": 4
},
{
"spacing_mm": 59.1909,
"pair_count": 4
},
{
"spacing_mm": 30.4558,
"pair_count": 4
},
{
"spacing_mm": 98.9002,
"pair_count": 4
},
{
"spacing_mm": 93.1518,
"pair_count": 4
},
{
"spacing_mm": 40.5617,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-58.5,
0.0,
-33.0,
58.5,
38.5,
33.0
],
"volume_mm3": 74749.980076758,
"surface_area_mm2": 32406.964473723,
"solid_count": 1,
"face_count": 49,
"edge_count": 144,
"vertex_count": 96
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-58.5,
-5e-05,
-33.0,
58.5,
38.5,
33.0
],
"volume_mm3": 74749.980076758,
"surface_area_mm2": 32406.964473723,
"solid_count": 1,
"face_count": 49,
"edge_count": 144,
"vertex_count": 96
},
"comparisons": {
"volume_mm3": {
"expected": 74749.980076758,
"actual": 74749.980076758,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 32406.964473723,
"actual": 32406.964473723,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-58.5,
-5e-05,
-33.0,
58.5,
38.5,
33.0
],
"actual": [
-58.5,
0.0,
-33.0,
58.5,
38.5,
33.0
],
"max_absolute_delta": 5e-05,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 49,
"actual": 49,
"matches": true
},
"edge_count": {
"expected": 144,
"actual": 144,
"matches": true
},
"vertex_count": {
"expected": 96,
"actual": 96,
"matches": true
}
},
"numeric_geometry_match": true,
"topology_counts_match": true
}
},
"source_has_modeling_features": true
}
}