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

776 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "229115",
"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": "arc",
"start": [
-34.0,
20.0
],
"end": [
-34.0,
-20.0
],
"center": [
-34.0,
0.0
],
"radius_mm": 20.0,
"clockwise": false
},
{
"type": "line",
"start": [
-34.0,
-20.0
],
"end": [
54.0,
-20.0
]
},
{
"type": "line",
"start": [
54.0,
-20.0
],
"end": [
54.0,
20.0
]
},
{
"type": "line",
"start": [
54.0,
20.0
],
"end": [
-34.0,
20.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
10.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": [
36.0,
0.0
],
"radius_mm": 10.0
}
},
{
"id": "sk_004",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
10.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": "arc",
"start": [
-19.0,
-7.0
],
"end": [
-19.0,
7.0
],
"center": [
-19.0,
0.0
],
"radius_mm": 7.0,
"clockwise": false
},
{
"type": "line",
"start": [
-19.0,
7.0
],
"end": [
-44.0,
7.0
]
},
{
"type": "arc",
"start": [
-44.0,
7.0
],
"end": [
-44.0,
-7.0
],
"center": [
-44.0,
0.0
],
"radius_mm": 7.0,
"clockwise": false
},
{
"type": "line",
"start": [
-44.0,
-7.0
],
"end": [
-19.0,
-7.0
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"role": "profile",
"workplane": {
"origin_mm": [
1.5,
-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": "arc",
"start": [
-19.0,
-4.5
],
"end": [
-19.0,
4.5
],
"center": [
-19.0,
0.0
],
"radius_mm": 4.5,
"clockwise": false
},
{
"type": "line",
"start": [
-19.0,
4.5
],
"end": [
-44.0,
4.5
]
},
{
"type": "arc",
"start": [
-44.0,
4.5
],
"end": [
-44.0,
-4.5
],
"center": [
-44.0,
0.0
],
"radius_mm": 4.5,
"clockwise": false
},
{
"type": "line",
"start": [
-44.0,
-4.5
],
"end": [
-19.0,
-4.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_004",
"name": "拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 20.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"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": 20.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 15.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "M6 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 6.0,
"depth_mm": 8.317541634,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
0.0,
0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 8.317541634,
"class": "1B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 8.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 11.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
}
],
"meta": {
"unit": "mm",
"source": "229115.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.5225253283955931,
"volume": 6.699042671738373e-05,
"surface_area": 0.015261428235826656,
"center_of_mass": [
0.001158490883928693,
-5.422107944644233e-10,
-0.0001570937459588803
],
"principal_moments": [
9.417004868951954e-05,
0.0004342494948479807,
0.0004937317611316003
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.054000000000000006,
-0.02,
-0.01,
0.05399999999999999,
0.02000000000000001,
0.01
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M6 螺纹孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABpAAAAaAAAAGcAAABmAAAAZQAAAA==",
"persist_reference_sha256": "7b9beb7191e2f2f986d9a7b22a4512f3e28e743aa2dbab2d3a652e6815df3f83",
"component": null,
"geometry": {
"box": [
-0.054000000000000006,
-0.02,
-0.01,
0.05399999999999999,
0.02000000000000001,
0.01
],
"face_count": 19,
"edge_count": 46,
"vertex_count": 28
},
"stable_id": "7b9beb7191e2f2f986d9a7b22a4512f3e28e743aa2dbab2d3a652e6815df3f83"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 24,
"surface_counts": {
"cylinder": 14,
"plane": 10
},
"axis_count": 14,
"repeat_spacings_mm": [
{
"spacing_mm": 25.0,
"pair_count": 3
},
{
"spacing_mm": 18.7083,
"pair_count": 2
},
{
"spacing_mm": 11.5,
"pair_count": 2
},
{
"spacing_mm": 27.5182,
"pair_count": 2
},
{
"spacing_mm": 61.5549,
"pair_count": 2
},
{
"spacing_mm": 58.8324,
"pair_count": 2
},
{
"spacing_mm": 20.8327,
"pair_count": 2
},
{
"spacing_mm": 73.171,
"pair_count": 2
},
{
"spacing_mm": 83.5838,
"pair_count": 2
},
{
"spacing_mm": 85.5219,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-54.0,
-20.0,
-10.0000001,
54.0000001,
20.0,
10.0000001
],
"volume_mm3": 66990.573147238,
"surface_area_mm2": 15261.416511386,
"solid_count": 1,
"face_count": 24,
"edge_count": 64,
"vertex_count": 42
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-54.0,
-20.0,
-10.0,
54.0,
20.0,
10.0
],
"volume_mm3": 66990.426717384,
"surface_area_mm2": 15261.428235827,
"solid_count": 1,
"face_count": 19,
"edge_count": 46,
"vertex_count": 28
},
"comparisons": {
"volume_mm3": {
"expected": 66990.426717384,
"actual": 66990.573147238,
"absolute_delta": 0.14642985399405006,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 15261.428235827,
"actual": 15261.416511386,
"absolute_delta": 0.011724440999387298,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-54.0,
-20.0,
-10.0,
54.0,
20.0,
10.0
],
"actual": [
-54.0,
-20.0,
-10.0000001,
54.0000001,
20.0,
10.0000001
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 19,
"actual": 24,
"matches": false
},
"edge_count": {
"expected": 46,
"actual": 64,
"matches": false
},
"vertex_count": {
"expected": 28,
"actual": 42,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}