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

846 lines
18 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "177126",
"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": [
-32.5,
-32.5
],
"end": [
32.5,
-32.5
]
},
{
"type": "line",
"start": [
32.5,
-32.5
],
"end": [
32.5,
32.5
]
},
{
"type": "line",
"start": [
32.5,
32.5
],
"end": [
-32.5,
32.5
]
},
{
"type": "line",
"start": [
-32.5,
32.5
],
"end": [
-32.5,
-32.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-23.093465214,
0.0
],
"end": [
30.007676356,
0.0
]
},
{
"type": "line",
"start": [
0.0,
26.965423454
],
"end": [
0.0,
-15.902685627
]
}
]
}
},
{
"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": "annulus",
"center": [
0.0,
0.0
],
"inner_radius_mm": 29.5,
"outer_radius_mm": 32.5
}
},
{
"id": "sk_004",
"name": "草图3",
"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": "annulus",
"center": [
0.0,
0.0
],
"inner_radius_mm": 29.5,
"outer_radius_mm": 31.0
}
},
{
"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": "arc",
"start": [
-20.506096654,
-20.506096654
],
"end": [
20.506096654,
-20.506096654
],
"center": [
0.0,
0.0
],
"radius_mm": 29.0,
"clockwise": false
},
{
"type": "line",
"start": [
20.506096654,
-20.506096654
],
"end": [
22.273863607,
-22.273863607
]
},
{
"type": "arc",
"start": [
22.273863607,
-22.273863607
],
"end": [
-22.273863607,
-22.273863607
],
"center": [
0.0,
0.0
],
"radius_mm": 31.5,
"clockwise": false
},
{
"type": "line",
"start": [
-22.273863607,
-22.273863607
],
"end": [
-20.506096654,
-20.506096654
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
9.137577931
],
"end": [
0.0,
-11.074509211
]
},
{
"type": "line",
"start": [
-11.692037742,
0.0
],
"end": [
14.16486653,
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": "circles",
"items": [
{
"center": [
0.0,
0.0
],
"radius_mm": 3.75
},
{
"center": [
-6.0,
14.832396974
],
"radius_mm": 1.6
},
{
"center": [
6.0,
-14.832396974
],
"radius_mm": 1.6
},
{
"center": [
-17.67766953,
17.67766953
],
"radius_mm": 2.5
},
{
"center": [
17.67766953,
17.67766953
],
"radius_mm": 2.5
},
{
"center": [
17.67766953,
-17.67766953
],
"radius_mm": 2.5
},
{
"center": [
-17.67766953,
-17.67766953
],
"radius_mm": 2.5
}
]
}
}
]
},
"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": 4.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 12.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_008",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 2.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_010",
"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": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_006",
"name": "凸台-拉伸3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 6.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_005"
],
"params": {
"distance_mm": 1.5,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 5.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
}
],
"meta": {
"unit": "mm",
"source": "177126.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.026512496204379076,
"volume": 2.6512496204379075e-05,
"surface_area": 0.016112287395536495,
"center_of_mass": [
1.112896112279305e-17,
0.005189055884608884,
-0.0003661553460443866
],
"principal_moments": [
1.104585526811449e-05,
1.126868087902137e-05,
2.0875389179521074e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0325,
0.0,
-0.0325,
0.03250000000000001,
0.0225,
0.0325
],
"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.0325,
0.0,
-0.0325,
0.03250000000000001,
0.0225,
0.0325
],
"face_count": 29,
"edge_count": 61,
"vertex_count": 28
},
"stable_id": "7b9beb7191e2f2f986d9a7b22a4512f3e28e743aa2dbab2d3a652e6815df3f83"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 40,
"surface_counts": {
"cone": 2,
"cylinder": 24,
"plane": 14
},
"axis_count": 26,
"repeat_spacings_mm": [
{
"spacing_mm": 50.0575,
"pair_count": 8
},
{
"spacing_mm": 35.3553,
"pair_count": 4
},
{
"spacing_mm": 25.0,
"pair_count": 4
},
{
"spacing_mm": 29.9541,
"pair_count": 4
},
{
"spacing_mm": 33.6341,
"pair_count": 4
},
{
"spacing_mm": 68.282,
"pair_count": 4
},
{
"spacing_mm": 18.6835,
"pair_count": 4
},
{
"spacing_mm": 43.3676,
"pair_count": 4
},
{
"spacing_mm": 44.7716,
"pair_count": 4
},
{
"spacing_mm": 46.7386,
"pair_count": 4
},
{
"spacing_mm": 61.0,
"pair_count": 4
},
{
"spacing_mm": 50.0,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-32.5,
0.0,
-32.5,
32.5,
22.5,
32.5
],
"volume_mm3": 26512.496204379,
"surface_area_mm2": 16112.287395536,
"solid_count": 1,
"face_count": 40,
"edge_count": 104,
"vertex_count": 66
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-32.5,
0.0,
-32.5,
32.5,
22.5,
32.5
],
"volume_mm3": 26512.496204379,
"surface_area_mm2": 16112.287395536,
"solid_count": 1,
"face_count": 29,
"edge_count": 61,
"vertex_count": 28
},
"comparisons": {
"volume_mm3": {
"expected": 26512.496204379,
"actual": 26512.496204379,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 16112.287395536,
"actual": 16112.287395536,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-32.5,
0.0,
-32.5,
32.5,
22.5,
32.5
],
"actual": [
-32.5,
0.0,
-32.5,
32.5,
22.5,
32.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 29,
"actual": 40,
"matches": false
},
"edge_count": {
"expected": 61,
"actual": 104,
"matches": false
},
"vertex_count": {
"expected": 28,
"actual": 66,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}