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

1456 lines
32 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "025895",
"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": [
-17.5,
0.0
],
"end": [
17.5,
0.0
]
},
{
"type": "line",
"start": [
17.5,
0.0
],
"end": [
17.5,
-3.0
]
},
{
"type": "line",
"start": [
17.5,
-3.0
],
"end": [
43.0,
-3.0
]
},
{
"type": "line",
"start": [
43.0,
-3.0
],
"end": [
43.0,
6.0
]
},
{
"type": "line",
"start": [
43.0,
6.0
],
"end": [
22.0,
6.0
]
},
{
"type": "line",
"start": [
22.0,
6.0
],
"end": [
-26.0,
6.0
]
},
{
"type": "line",
"start": [
-26.0,
6.0
],
"end": [
-43.0,
6.0
]
},
{
"type": "line",
"start": [
-43.0,
6.0
],
"end": [
-43.0,
-3.0
]
},
{
"type": "line",
"start": [
-43.0,
-3.0
],
"end": [
-17.5,
-3.0
]
},
{
"type": "line",
"start": [
-17.5,
-3.0
],
"end": [
-17.5,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
20.829198209
]
}
]
}
},
{
"id": "sk_003",
"name": "草图13",
"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": [
-43.0,
22.5
],
"end": [
-35.0,
22.5
]
},
{
"type": "line",
"start": [
-35.0,
22.5
],
"end": [
-35.0,
-7.5
]
},
{
"type": "line",
"start": [
-35.0,
-7.5
],
"end": [
-43.0,
-7.5
]
},
{
"type": "line",
"start": [
-43.0,
-7.5
],
"end": [
-43.0,
22.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
43.0,
22.5
],
"end": [
35.0,
22.5
]
},
{
"type": "line",
"start": [
35.0,
22.5
],
"end": [
35.0,
-7.5
]
},
{
"type": "line",
"start": [
35.0,
-7.5
],
"end": [
43.0,
-7.5
]
},
{
"type": "line",
"start": [
43.0,
-7.5
],
"end": [
43.0,
22.5
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图14",
"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": [
-35.0,
7.5
],
"radius_mm": 1.5
},
{
"center": [
35.0,
7.5
],
"radius_mm": 1.5
}
]
}
},
{
"id": "sk_005",
"name": "草图17",
"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": [
-39.0,
11.5
],
"end": [
-39.0,
19.5
],
"center": [
-39.0,
15.5
],
"radius_mm": 4.0,
"clockwise": false
},
{
"type": "line",
"start": [
-39.0,
19.5
],
"end": [
-43.0,
19.5
]
},
{
"type": "arc",
"start": [
-43.0,
19.5
],
"end": [
-43.0,
11.5
],
"center": [
-43.0,
15.5
],
"radius_mm": 4.0,
"clockwise": false
},
{
"type": "line",
"start": [
-43.0,
11.5
],
"end": [
-39.0,
11.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-39.0,
-4.5
],
"end": [
-39.0,
3.5
],
"center": [
-39.0,
-0.5
],
"radius_mm": 4.0,
"clockwise": false
},
{
"type": "line",
"start": [
-39.0,
3.5
],
"end": [
-43.0,
3.5
]
},
{
"type": "arc",
"start": [
-43.0,
3.5
],
"end": [
-43.0,
-4.5
],
"center": [
-43.0,
-0.5
],
"radius_mm": 4.0,
"clockwise": false
},
{
"type": "line",
"start": [
-43.0,
-4.5
],
"end": [
-39.0,
-4.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
39.0,
19.5
],
"end": [
39.0,
11.5
],
"center": [
39.0,
15.5
],
"radius_mm": 4.0,
"clockwise": false
},
{
"type": "line",
"start": [
39.0,
11.5
],
"end": [
43.0,
11.5
]
},
{
"type": "arc",
"start": [
43.0,
11.5
],
"end": [
43.0,
19.5
],
"center": [
43.0,
15.5
],
"radius_mm": 4.0,
"clockwise": false
},
{
"type": "line",
"start": [
43.0,
19.5
],
"end": [
39.0,
19.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
39.0,
3.5
],
"end": [
39.0,
-4.5
],
"center": [
39.0,
-0.5
],
"radius_mm": 4.0,
"clockwise": false
},
{
"type": "line",
"start": [
39.0,
-4.5
],
"end": [
43.0,
-4.5
]
},
{
"type": "arc",
"start": [
43.0,
-4.5
],
"end": [
43.0,
3.5
],
"center": [
43.0,
-0.5
],
"radius_mm": 4.0,
"clockwise": false
},
{
"type": "line",
"start": [
43.0,
3.5
],
"end": [
39.0,
3.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-39.0,
15.5
],
"end": [
-43.0,
15.5
]
},
{
"type": "line",
"start": [
-39.0,
-0.5
],
"end": [
-43.0,
-0.5
]
},
{
"type": "line",
"start": [
39.0,
15.5
],
"end": [
43.0,
15.5
]
},
{
"type": "line",
"start": [
39.0,
-0.5
],
"end": [
43.0,
-0.5
]
}
]
}
},
{
"id": "sk_006",
"name": "草图18",
"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": [
-43.0,
-9.4
],
"end": [
-39.0,
-9.4
]
},
{
"type": "line",
"start": [
-39.0,
-9.4
],
"end": [
-39.0,
-17.6
]
},
{
"type": "line",
"start": [
-39.0,
-17.6
],
"end": [
-43.0,
-17.6
]
},
{
"type": "line",
"start": [
-43.0,
-17.6
],
"end": [
-43.0,
-9.4
]
}
]
}
]
}
},
{
"id": "sk_007",
"name": "草图23",
"role": "profile",
"workplane": {
"origin_mm": [
22.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": [],
"construction": [
{
"type": "line",
"start": [
-16.86352005,
1.787062484
],
"end": [
16.890694329,
1.787062484
]
}
]
}
}
]
},
"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": 45.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": "M4 六角凹头螺钉的柱形沉头孔4",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 4.5,
"depth_mm": 9.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-12.5,
-15.0,
0.0
]
},
{
"mm": [
-12.5,
15.0,
0.0
]
},
{
"mm": [
12.5,
15.0,
0.0
]
},
{
"mm": [
12.5,
-15.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 8.0,
"depth_mm": 4.4
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "M4 六角凹头螺钉的柱形沉头孔3",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 4.5,
"depth_mm": 9.5,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-39.0,
15.5,
0.0
]
},
{
"mm": [
-39.0,
-0.5,
0.0
]
},
{
"mm": [
39.0,
15.5,
0.0
]
},
{
"mm": [
39.0,
-0.5,
0.0
]
}
],
"counterbore": {
"diameter_mm": 7.8,
"depth_mm": 4.4
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_011",
"name": "切除-拉伸6",
"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_006"
},
{
"id": "f_013",
"name": "M4 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
39.0,
-16.5,
0.0
]
},
{
"mm": [
39.0,
7.5,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 8.0,
"class": "2B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_014",
"name": "切除-拉伸7",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_007"
},
{
"id": "f_008",
"name": "切除-拉伸4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_010",
"name": "切除-拉伸5",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_009"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_012",
"name": "M3 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_011",
"f_004",
"f_007"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 3.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
13.5,
1.5,
0.0
]
}
],
"thread": {
"diameter_mm": 3.0,
"depth_mm": 8.0,
"class": "2B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "025895.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.19352196957476345,
"volume": 2.6878051329828255e-05,
"surface_area": 0.011123184485774415,
"center_of_mass": [
0.00030723225661728667,
0.001954021971927352,
0.00026751970374620283
],
"principal_moments": [
3.377756600154642e-05,
0.00012612580901322625,
0.00015762055641225367
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.043,
-0.0030000000000000087,
-0.0225,
0.04300000000000001,
0.006000000000000018,
0.022500000000000017
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸7",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAoAAACFAAAAhAAAAIMAAACCAAAAgQAAAIAAAAB/AAAAfgAAAHIAAABxAAAA",
"persist_reference_sha256": "5b9424de84877990de21fba09254fcf142ef9cbb1f7d26b53f94dfdf3e3b3c03",
"component": null,
"geometry": {
"box": [
-0.043,
-0.0030000000000000087,
-0.0225,
0.04300000000000001,
0.006000000000000018,
0.022500000000000017
],
"face_count": 165,
"edge_count": 429,
"vertex_count": 267
},
"stable_id": "5b9424de84877990de21fba09254fcf142ef9cbb1f7d26b53f94dfdf3e3b3c03"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 183,
"surface_counts": {
"bspline": 76,
"cone": 2,
"cylinder": 38,
"plane": 67
},
"axis_count": 40,
"repeat_spacings_mm": [
{
"spacing_mm": 24.7038,
"pair_count": 5
},
{
"spacing_mm": 79.6241,
"pair_count": 5
},
{
"spacing_mm": 16.0,
"pair_count": 5
},
{
"spacing_mm": 81.8186,
"pair_count": 5
},
{
"spacing_mm": 80.2389,
"pair_count": 4
},
{
"spacing_mm": 18.8222,
"pair_count": 4
},
{
"spacing_mm": 78.0,
"pair_count": 4
},
{
"spacing_mm": 20.4518,
"pair_count": 2
},
{
"spacing_mm": 78.4092,
"pair_count": 2
},
{
"spacing_mm": 8.0,
"pair_count": 2
},
{
"spacing_mm": 80.6367,
"pair_count": 2
},
{
"spacing_mm": 56.7166,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-43.0,
-3.0000001,
-22.5,
43.0,
6.0000001,
22.5000001
],
"volume_mm3": 26878.035645092,
"surface_area_mm2": 11123.185754256,
"solid_count": 1,
"face_count": 183,
"edge_count": 497,
"vertex_count": 331
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-43.0,
-3.0,
-22.5,
43.0,
6.0,
22.5
],
"volume_mm3": 26878.051329828,
"surface_area_mm2": 11123.184485774,
"solid_count": 1,
"face_count": 165,
"edge_count": 429,
"vertex_count": 267
},
"comparisons": {
"volume_mm3": {
"expected": 26878.051329828,
"actual": 26878.035645092,
"absolute_delta": 0.0156847359976382,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 11123.184485774,
"actual": 11123.185754256,
"absolute_delta": 0.0012684819994319696,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-43.0,
-3.0,
-22.5,
43.0,
6.0,
22.5
],
"actual": [
-43.0,
-3.0000001,
-22.5,
43.0,
6.0000001,
22.5000001
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 165,
"actual": 183,
"matches": false
},
"edge_count": {
"expected": 429,
"actual": 497,
"matches": false
},
"vertex_count": {
"expected": 267,
"actual": 331,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}