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

1471 lines
34 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "167934",
"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": [
47.898930734,
28.023561127
],
"end": [
42.918044392,
24.68174897
],
"center": [
50.903174391,
18.162963563
],
"radius_mm": 10.308097025,
"clockwise": false
},
{
"type": "arc",
"start": [
42.918044392,
24.68174897
],
"end": [
41.960647018,
24.202842867
],
"center": [
41.960647018,
25.399278643
],
"radius_mm": 1.196435775,
"clockwise": false
},
{
"type": "line",
"start": [
41.960647018,
24.202842867
],
"end": [
31.08,
24.202842867
]
},
{
"type": "line",
"start": [
31.08,
24.202842867
],
"end": [
26.0,
29.281503967
]
},
{
"type": "line",
"start": [
26.0,
29.281503967
],
"end": [
0.0,
29.281503967
]
},
{
"type": "line",
"start": [
0.0,
29.281503967
],
"end": [
0.0,
-0.718496033
]
},
{
"type": "line",
"start": [
0.0,
-0.718496033
],
"end": [
19.0,
-0.718496033
]
},
{
"type": "line",
"start": [
19.0,
-0.718496033
],
"end": [
19.0,
17.281503967
]
},
{
"type": "arc",
"start": [
19.0,
17.281503967
],
"end": [
21.0,
19.281503967
],
"center": [
21.0,
17.281503967
],
"radius_mm": 2.0,
"clockwise": false
},
{
"type": "line",
"start": [
21.0,
19.281503967
],
"end": [
44.59255636,
19.281503967
]
},
{
"type": "arc",
"start": [
44.59255636,
19.281503967
],
"end": [
45.59255636,
20.281503967
],
"center": [
44.59255636,
20.281503967
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
45.59255636,
20.281503967
],
"end": [
45.59255636,
22.660230381
]
},
{
"type": "arc",
"start": [
45.59255636,
22.660230381
],
"end": [
46.046950113,
23.49827204
],
"center": [
46.59255636,
22.660230381
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
46.046950113,
23.49827204
],
"end": [
47.764182396,
24.616274532
]
},
{
"type": "arc",
"start": [
47.764182396,
24.616274532
],
"end": [
49.699351016,
25.314934728
],
"center": [
50.219410512,
20.845087067
],
"radius_mm": 4.5,
"clockwise": false
},
{
"type": "arc",
"start": [
49.699351016,
25.314934728
],
"end": [
50.299716317,
25.709574313
],
"center": [
49.606895994,
26.109574313
],
"radius_mm": 0.8,
"clockwise": false
},
{
"type": "line",
"start": [
50.299716317,
25.709574313
],
"end": [
50.952624071,
26.840443714
]
},
{
"type": "arc",
"start": [
50.952624071,
26.840443714
],
"end": [
49.820994452,
28.475781634
],
"center": [
49.999996127,
27.390443714
],
"radius_mm": 1.1,
"clockwise": false
},
{
"type": "arc",
"start": [
49.820994452,
28.475781634
],
"end": [
47.898930734,
28.023561127
],
"center": [
52.198686519,
14.059160295
],
"radius_mm": 14.6113788,
"clockwise": false
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
82.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": "line",
"start": [
26.0,
29.281503967
],
"end": [
31.0,
29.281503967
]
},
{
"type": "line",
"start": [
31.0,
29.281503967
],
"end": [
36.08,
24.202842867
]
},
{
"type": "line",
"start": [
36.08,
24.202842867
],
"end": [
31.08,
24.202842867
]
},
{
"type": "line",
"start": [
31.08,
24.202842867
],
"end": [
26.0,
29.281503967
]
}
]
}
]
}
},
{
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
0.0,
-82.5
],
"end": [
19.0,
-82.5
]
},
{
"type": "line",
"start": [
19.0,
-82.5
],
"end": [
19.0,
82.5
]
},
{
"type": "line",
"start": [
19.0,
82.5
],
"end": [
0.0,
82.5
]
},
{
"type": "line",
"start": [
0.0,
82.5
],
"end": [
0.0,
-82.5
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"role": "profile",
"workplane": {
"origin_mm": [
82.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": [
21.0,
19.281503967
],
"end": [
19.0,
17.281503967
],
"center": [
21.0,
17.281503967
],
"radius_mm": 2.0,
"clockwise": false
},
{
"type": "line",
"start": [
19.0,
17.281503967
],
"end": [
19.0,
-9.718496033
]
},
{
"type": "line",
"start": [
19.0,
-9.718496033
],
"end": [
24.0,
-9.718496033
]
},
{
"type": "line",
"start": [
24.0,
-9.718496033
],
"end": [
24.0,
19.281503967
]
},
{
"type": "line",
"start": [
24.0,
19.281503967
],
"end": [
21.0,
19.281503967
]
}
]
}
]
}
},
{
"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": [
12.0,
71.0
],
"radius_mm": 3.5
},
{
"center": [
12.0,
-71.0
],
"radius_mm": 3.5
}
]
}
},
{
"id": "sk_007",
"name": "草图16",
"role": "profile",
"workplane": {
"origin_mm": [
82.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": "line",
"start": [
21.0,
-9.718496033
],
"end": [
21.0,
23.281503967
]
},
{
"type": "line",
"start": [
21.0,
23.281503967
],
"end": [
30.0,
23.281503967
]
},
{
"type": "line",
"start": [
30.0,
23.281503967
],
"end": [
30.0,
19.281503967
]
},
{
"type": "line",
"start": [
30.0,
19.281503967
],
"end": [
30.0,
-9.718496033
]
},
{
"type": "line",
"start": [
30.0,
-9.718496033
],
"end": [
21.0,
-9.718496033
]
}
]
}
]
}
},
{
"id": "sk_008",
"name": "草图17",
"role": "profile",
"workplane": {
"origin_mm": [
82.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": [
30.0,
23.281503967
],
"end": [
36.59255636,
19.281503967
],
"center": [
40.81579093,
33.674706869
],
"radius_mm": 15.0,
"clockwise": false
},
{
"type": "line",
"start": [
36.59255636,
19.281503967
],
"end": [
30.0,
19.281503967
]
},
{
"type": "line",
"start": [
30.0,
19.281503967
],
"end": [
30.0,
23.281503967
]
}
]
}
]
}
}
]
},
"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": 165.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": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 165.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "凸台-拉伸3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 9.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_009",
"name": "切除-拉伸1",
"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_010",
"name": "M5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 39.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
15.0,
-52.0,
0.0
]
},
{
"mm": [
15.0,
-38.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 39.0,
"class": ""
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_011",
"name": "M5 螺纹孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 39.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
15.0,
38.0,
0.0
]
},
{
"mm": [
15.0,
52.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 39.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_012",
"name": "M6 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 6.0,
"depth_mm": 39.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
17.776747239,
-20.0,
0.0
]
},
{
"mm": [
17.776747239,
20.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 39.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_013",
"name": "M5 螺纹孔3",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
6.0,
12.281503967,
0.0
]
},
{
"mm": [
18.0,
-3.718496033,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 12.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"name": "凸台-拉伸4",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4,
"reference": {
"kind": "face",
"stable_id": "070eb15b98caa150a81ffcee80174bd6faedb4a7b24319c69bea501708ccdafa",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
1.0,
0.05219868651910681,
0.014059160294566182,
-0.0825
]
},
"box": [
0.0,
-0.009718496033183878,
-0.0825,
0.05109999612658785,
0.029281503966816204,
-0.0825
],
"area": 0.0009685710148818023
}
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_008",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_007",
"f_004"
],
"params": {
"radius_mm": 5.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_014",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_006",
"f_007"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_007"
},
{
"id": "f_015",
"name": "切除-拉伸4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_014"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_008"
}
],
"meta": {
"unit": "mm",
"source": "167934.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.15443408896008776,
"volume": 0.00015443408896008776,
"surface_area": 0.037479445347319416,
"center_of_mass": [
0.014471479730574627,
0.012306150293157077,
-0.00020691966063769002
],
"principal_moments": [
4.074394410909296e-05,
0.0003565757896018037,
0.0003719367403657596
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.00971849603318388,
-0.0825,
0.05109999612658785,
0.029281503966816204,
0.0825
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸4",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAsAAAB4AAAAdwAAAHYAAAB1AAAAdAAAAHMAAABxAAAAcAAAAG8AAABuAAAAagAAAA==",
"persist_reference_sha256": "c84395697b1beda391b760d80d2c4a2124fea5041980d62e9913281b4bc0d76b",
"component": null,
"geometry": {
"box": [
0.0,
-0.00971849603318388,
-0.0825,
0.05109999612658785,
0.029281503966816204,
0.0825
],
"face_count": 34,
"edge_count": 80,
"vertex_count": 42
},
"stable_id": "c84395697b1beda391b760d80d2c4a2124fea5041980d62e9913281b4bc0d76b"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 46,
"surface_counts": {
"cone": 4,
"cylinder": 29,
"plane": 13
},
"axis_count": 33,
"repeat_spacings_mm": [
{
"spacing_mm": 15.0,
"pair_count": 2
},
{
"spacing_mm": 20.0,
"pair_count": 2
},
{
"spacing_mm": 25.0,
"pair_count": 2
},
{
"spacing_mm": 58.0664,
"pair_count": 2
},
{
"spacing_mm": 72.0535,
"pair_count": 2
},
{
"spacing_mm": 32.1202,
"pair_count": 2
},
{
"spacing_mm": 18.2129,
"pair_count": 2
},
{
"spacing_mm": 99.1734,
"pair_count": 2
},
{
"spacing_mm": 64.4622,
"pair_count": 2
},
{
"spacing_mm": 14.0,
"pair_count": 2
},
{
"spacing_mm": 90.0,
"pair_count": 2
},
{
"spacing_mm": 51.1762,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
0.0,
-9.718496033,
-82.5,
51.099996127,
29.281503967,
82.5
],
"volume_mm3": 154434.088960088,
"surface_area_mm2": 37479.445347319,
"solid_count": 1,
"face_count": 46,
"edge_count": 124,
"vertex_count": 82
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-9.718496033,
-82.5,
51.099996127,
29.281503967,
82.5
],
"volume_mm3": 154434.088960088,
"surface_area_mm2": 37479.445347319,
"solid_count": 1,
"face_count": 34,
"edge_count": 80,
"vertex_count": 42
},
"comparisons": {
"volume_mm3": {
"expected": 154434.088960088,
"actual": 154434.088960088,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 37479.445347319,
"actual": 37479.445347319,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-9.718496033,
-82.5,
51.099996127,
29.281503967,
82.5
],
"actual": [
0.0,
-9.718496033,
-82.5,
51.099996127,
29.281503967,
82.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 34,
"actual": 46,
"matches": false
},
"edge_count": {
"expected": 80,
"actual": 124,
"matches": false
},
"vertex_count": {
"expected": 42,
"actual": 82,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}