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

1967 lines
47 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "005640",
"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": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-6.1,
10.0
],
"end": [
-5.6,
9.5
],
"center": [
-5.6,
10.0
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
-5.6,
9.5
],
"end": [
5.6,
9.5
]
},
{
"type": "arc",
"start": [
5.6,
9.5
],
"end": [
6.1,
10.0
],
"center": [
5.6,
10.0
],
"radius_mm": 0.5,
"clockwise": true
},
{
"type": "line",
"start": [
6.1,
10.0
],
"end": [
6.1,
12.0
]
},
{
"type": "line",
"start": [
6.1,
12.0
],
"end": [
5.0,
12.0
]
},
{
"type": "arc",
"start": [
5.0,
12.0
],
"end": [
4.5,
12.5
],
"center": [
5.0,
12.5
],
"radius_mm": 0.5,
"clockwise": true
},
{
"type": "line",
"start": [
4.5,
12.5
],
"end": [
4.5,
13.5
]
},
{
"type": "arc",
"start": [
4.5,
13.5
],
"end": [
5.0,
14.0
],
"center": [
5.0,
13.5
],
"radius_mm": 0.5,
"clockwise": true
},
{
"type": "line",
"start": [
5.0,
14.0
],
"end": [
8.1,
14.0
]
},
{
"type": "line",
"start": [
8.1,
14.0
],
"end": [
8.1,
10.5
]
},
{
"type": "arc",
"start": [
8.1,
10.5
],
"end": [
8.6,
10.0
],
"center": [
8.6,
10.5
],
"radius_mm": 0.5,
"clockwise": true
},
{
"type": "line",
"start": [
8.6,
10.0
],
"end": [
15.0,
10.0
]
},
{
"type": "arc",
"start": [
15.0,
10.0
],
"end": [
15.5,
10.5
],
"center": [
15.0,
10.5
],
"radius_mm": 0.5,
"clockwise": true
},
{
"type": "line",
"start": [
15.5,
10.5
],
"end": [
15.5,
30.25
]
},
{
"type": "arc",
"start": [
15.5,
30.25
],
"end": [
15.0,
30.75
],
"center": [
15.0,
30.25
],
"radius_mm": 0.5,
"clockwise": true
},
{
"type": "line",
"start": [
15.0,
30.75
],
"end": [
8.0,
30.75
]
},
{
"type": "arc",
"start": [
8.0,
30.75
],
"end": [
7.5,
31.25
],
"center": [
8.0,
31.25
],
"radius_mm": 0.5,
"clockwise": true
},
{
"type": "line",
"start": [
7.5,
31.25
],
"end": [
7.5,
36.0
]
},
{
"type": "arc",
"start": [
7.5,
36.0
],
"end": [
7.0,
36.5
],
"center": [
7.0,
36.0
],
"radius_mm": 0.5,
"clockwise": true
},
{
"type": "line",
"start": [
7.0,
36.5
],
"end": [
-7.0,
36.5
]
},
{
"type": "arc",
"start": [
-7.0,
36.5
],
"end": [
-7.5,
36.0
],
"center": [
-7.0,
36.0
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
-7.5,
36.0
],
"end": [
-7.5,
31.25
]
},
{
"type": "arc",
"start": [
-7.5,
31.25
],
"end": [
-8.0,
30.75
],
"center": [
-8.0,
31.25
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
-8.0,
30.75
],
"end": [
-15.0,
30.75
]
},
{
"type": "arc",
"start": [
-15.0,
30.75
],
"end": [
-15.5,
30.25
],
"center": [
-15.0,
30.25
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
-15.5,
30.25
],
"end": [
-15.5,
10.5
]
},
{
"type": "arc",
"start": [
-15.5,
10.5
],
"end": [
-15.0,
10.0
],
"center": [
-15.0,
10.5
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
-15.0,
10.0
],
"end": [
-8.6,
10.0
]
},
{
"type": "arc",
"start": [
-8.6,
10.0
],
"end": [
-8.1,
10.5
],
"center": [
-8.6,
10.5
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
-8.1,
10.5
],
"end": [
-8.1,
14.0
]
},
{
"type": "line",
"start": [
-8.1,
14.0
],
"end": [
-5.0,
14.0
]
},
{
"type": "arc",
"start": [
-5.0,
14.0
],
"end": [
-4.5,
13.5
],
"center": [
-5.0,
13.5
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
-4.5,
13.5
],
"end": [
-4.5,
12.5
]
},
{
"type": "arc",
"start": [
-4.5,
12.5
],
"end": [
-5.0,
12.0
],
"center": [
-5.0,
12.5
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
-5.0,
12.0
],
"end": [
-6.1,
12.0
]
},
{
"type": "line",
"start": [
-6.1,
12.0
],
"end": [
-6.1,
10.0
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-15.0,
8.0
],
"end": [
-15.5,
7.5
],
"center": [
-15.0,
7.5
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
-15.5,
7.5
],
"end": [
-15.5,
2.0
]
},
{
"type": "line",
"start": [
-15.5,
2.0
],
"end": [
-13.4,
2.0
]
},
{
"type": "line",
"start": [
-13.4,
2.0
],
"end": [
-13.4,
0.0
]
},
{
"type": "line",
"start": [
-13.4,
0.0
],
"end": [
-17.5,
0.0
]
},
{
"type": "line",
"start": [
-17.5,
0.0
],
"end": [
-17.5,
34.85
]
},
{
"type": "line",
"start": [
-17.5,
34.85
],
"end": [
-15.5,
34.85
]
},
{
"type": "line",
"start": [
-15.5,
34.85
],
"end": [
-15.5,
32.75
]
},
{
"type": "line",
"start": [
-15.5,
32.75
],
"end": [
-10.0,
32.75
]
},
{
"type": "arc",
"start": [
-10.0,
32.75
],
"end": [
-9.5,
33.25
],
"center": [
-10.0,
33.25
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
-9.5,
33.25
],
"end": [
-9.5,
42.75
]
},
{
"type": "arc",
"start": [
-9.5,
42.75
],
"end": [
-10.0,
43.25
],
"center": [
-10.0,
42.75
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
-10.0,
43.25
],
"end": [
-15.5,
43.25
]
},
{
"type": "line",
"start": [
-15.5,
43.25
],
"end": [
-15.5,
41.15
]
},
{
"type": "line",
"start": [
-15.5,
41.15
],
"end": [
-17.5,
41.15
]
},
{
"type": "line",
"start": [
-17.5,
41.15
],
"end": [
-17.5,
56.0
]
},
{
"type": "line",
"start": [
-17.5,
56.0
],
"end": [
-13.5,
60.0
]
},
{
"type": "line",
"start": [
-13.5,
60.0
],
"end": [
-5.5,
60.0
]
},
{
"type": "arc",
"start": [
-5.5,
60.0
],
"end": [
-5.0,
59.5
],
"center": [
-5.5,
59.5
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
-5.0,
59.5
],
"end": [
-5.0,
59.25
]
},
{
"type": "arc",
"start": [
-5.0,
59.25
],
"end": [
-5.5,
58.75
],
"center": [
-5.5,
59.25
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
-5.5,
58.75
],
"end": [
-11.922,
58.75
]
},
{
"type": "line",
"start": [
-11.922,
58.75
],
"end": [
-15.5,
55.172
]
},
{
"type": "line",
"start": [
-15.5,
55.172
],
"end": [
-15.5,
45.75
]
},
{
"type": "arc",
"start": [
-15.5,
45.75
],
"end": [
-15.0,
45.25
],
"center": [
-15.0,
45.75
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
-15.0,
45.25
],
"end": [
-7.5,
45.25
]
},
{
"type": "line",
"start": [
-7.5,
45.25
],
"end": [
-7.5,
46.2
]
},
{
"type": "line",
"start": [
-7.5,
46.2
],
"end": [
-5.0,
46.2
]
},
{
"type": "arc",
"start": [
-5.0,
46.2
],
"end": [
-4.5,
45.7
],
"center": [
-5.0,
45.7
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
-4.5,
45.7
],
"end": [
-4.5,
43.65
]
},
{
"type": "arc",
"start": [
-4.5,
43.65
],
"end": [
-5.0,
43.15
],
"center": [
-5.0,
43.65
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
-5.0,
43.15
],
"end": [
-6.5,
43.15
]
},
{
"type": "line",
"start": [
-6.5,
43.15
],
"end": [
-6.5,
39.5
]
},
{
"type": "arc",
"start": [
-6.5,
39.5
],
"end": [
-6.0,
39.0
],
"center": [
-6.0,
39.5
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
-6.0,
39.0
],
"end": [
6.0,
39.0
]
},
{
"type": "arc",
"start": [
6.0,
39.0
],
"end": [
6.5,
39.5
],
"center": [
6.0,
39.5
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
6.5,
39.5
],
"end": [
6.5,
43.15
]
},
{
"type": "line",
"start": [
6.5,
43.15
],
"end": [
5.0,
43.15
]
},
{
"type": "arc",
"start": [
5.0,
43.15
],
"end": [
4.5,
43.65
],
"center": [
5.0,
43.65
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
4.5,
43.65
],
"end": [
4.5,
45.7
]
},
{
"type": "arc",
"start": [
4.5,
45.7
],
"end": [
5.0,
46.2
],
"center": [
5.0,
45.7
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
5.0,
46.2
],
"end": [
7.5,
46.2
]
},
{
"type": "line",
"start": [
7.5,
46.2
],
"end": [
7.5,
45.25
]
},
{
"type": "line",
"start": [
7.5,
45.25
],
"end": [
15.0,
45.25
]
},
{
"type": "arc",
"start": [
15.0,
45.25
],
"end": [
15.5,
45.75
],
"center": [
15.0,
45.75
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
15.5,
45.75
],
"end": [
15.5,
55.172
]
},
{
"type": "line",
"start": [
15.5,
55.172
],
"end": [
11.921,
58.75
]
},
{
"type": "line",
"start": [
11.921,
58.75
],
"end": [
5.5,
58.75
]
},
{
"type": "arc",
"start": [
5.5,
58.75
],
"end": [
5.0,
59.25
],
"center": [
5.5,
59.25
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
5.0,
59.25
],
"end": [
5.0,
59.5
]
},
{
"type": "arc",
"start": [
5.0,
59.5
],
"end": [
5.5,
60.0
],
"center": [
5.5,
59.5
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
5.5,
60.0
],
"end": [
13.5,
60.0
]
},
{
"type": "line",
"start": [
13.5,
60.0
],
"end": [
17.5,
56.0
]
},
{
"type": "line",
"start": [
17.5,
56.0
],
"end": [
17.5,
41.15
]
},
{
"type": "line",
"start": [
17.5,
41.15
],
"end": [
15.5,
41.15
]
},
{
"type": "line",
"start": [
15.5,
41.15
],
"end": [
15.5,
43.25
]
},
{
"type": "line",
"start": [
15.5,
43.25
],
"end": [
10.0,
43.25
]
},
{
"type": "arc",
"start": [
10.0,
43.25
],
"end": [
9.5,
42.75
],
"center": [
10.0,
42.75
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
9.5,
42.75
],
"end": [
9.5,
33.25
]
},
{
"type": "arc",
"start": [
9.5,
33.25
],
"end": [
10.0,
32.75
],
"center": [
10.0,
33.25
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
10.0,
32.75
],
"end": [
15.5,
32.75
]
},
{
"type": "line",
"start": [
15.5,
32.75
],
"end": [
15.5,
34.85
]
},
{
"type": "line",
"start": [
15.5,
34.85
],
"end": [
17.5,
34.85
]
},
{
"type": "line",
"start": [
17.5,
34.85
],
"end": [
17.5,
0.0
]
},
{
"type": "line",
"start": [
17.5,
0.0
],
"end": [
13.4,
0.0
]
},
{
"type": "line",
"start": [
13.4,
0.0
],
"end": [
13.4,
2.0
]
},
{
"type": "line",
"start": [
13.4,
2.0
],
"end": [
15.5,
2.0
]
},
{
"type": "line",
"start": [
15.5,
2.0
],
"end": [
15.5,
7.5
]
},
{
"type": "arc",
"start": [
15.5,
7.5
],
"end": [
15.0,
8.0
],
"center": [
15.0,
7.5
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
15.0,
8.0
],
"end": [
5.5,
8.0
]
},
{
"type": "arc",
"start": [
5.5,
8.0
],
"end": [
5.0,
7.5
],
"center": [
5.5,
7.5
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
5.0,
7.5
],
"end": [
5.0,
2.0
]
},
{
"type": "line",
"start": [
5.0,
2.0
],
"end": [
7.1,
2.0
]
},
{
"type": "line",
"start": [
7.1,
2.0
],
"end": [
7.1,
0.0
]
},
{
"type": "line",
"start": [
7.1,
0.0
],
"end": [
3.2,
0.0
]
},
{
"type": "line",
"start": [
3.2,
0.0
],
"end": [
3.2,
3.799998921
]
},
{
"type": "arc",
"start": [
3.2,
3.799998921
],
"end": [
-3.2,
3.799998921
],
"center": [
0.0,
3.799998921
],
"radius_mm": 3.2,
"clockwise": false
},
{
"type": "line",
"start": [
-3.2,
3.799998921
],
"end": [
-3.2,
0.0
]
},
{
"type": "line",
"start": [
-3.2,
0.0
],
"end": [
-7.1,
0.0
]
},
{
"type": "line",
"start": [
-7.1,
0.0
],
"end": [
-7.1,
2.0
]
},
{
"type": "line",
"start": [
-7.1,
2.0
],
"end": [
-5.0,
2.0
]
},
{
"type": "line",
"start": [
-5.0,
2.0
],
"end": [
-5.0,
7.5
]
},
{
"type": "arc",
"start": [
-5.0,
7.5
],
"end": [
-5.5,
8.0
],
"center": [
-5.5,
7.5
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
-5.5,
8.0
],
"end": [
-15.0,
8.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
36.5
],
"end": [
0.0,
9.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": 450.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"
}
],
"meta": {
"unit": "mm",
"source": "005640.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.2443851581364789,
"volume": 0.0002443851581364789,
"surface_area": 0.23348818651390252,
"center_of_mass": [
4.320104537869781e-08,
0.027958421522545376,
-6.451310328490176e-17
],
"principal_moments": [
0.00011602703527121534,
0.004161006673067599,
0.004203019449309772
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.017499999999999103,
0.0,
-0.225,
0.0175000000000009,
0.06000000000000001,
0.225
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "凸台-拉伸1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABqAAAA",
"persist_reference_sha256": "e7c660540d9b751b0168bd238d38ea4f30e335295d3f241d0c885d54707288d6",
"component": null,
"geometry": {
"box": [
-0.017499999999999103,
0.0,
-0.225,
0.0175000000000009,
0.06000000000000001,
0.225
],
"face_count": 122,
"edge_count": 360,
"vertex_count": 240
},
"stable_id": "e7c660540d9b751b0168bd238d38ea4f30e335295d3f241d0c885d54707288d6"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 122,
"surface_counts": {
"cylinder": 37,
"plane": 85
},
"axis_count": 37,
"repeat_spacings_mm": [
{
"spacing_mm": 13.4629,
"pair_count": 6
},
{
"spacing_mm": 9.5,
"pair_count": 4
},
{
"spacing_mm": 30.0,
"pair_count": 4
},
{
"spacing_mm": 26.3865,
"pair_count": 4
},
{
"spacing_mm": 27.9508,
"pair_count": 4
},
{
"spacing_mm": 20.3731,
"pair_count": 4
},
{
"spacing_mm": 5.831,
"pair_count": 4
},
{
"spacing_mm": 25.1794,
"pair_count": 4
},
{
"spacing_mm": 33.7648,
"pair_count": 4
},
{
"spacing_mm": 10.0,
"pair_count": 4
},
{
"spacing_mm": 11.0,
"pair_count": 3
},
{
"spacing_mm": 15.4496,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-17.5,
0.0,
-225.0,
17.5,
60.0,
225.0
],
"volume_mm3": 244385.158136463,
"surface_area_mm2": 233488.186513905,
"solid_count": 1,
"face_count": 122,
"edge_count": 360,
"vertex_count": 240
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-17.5,
0.0,
-225.0,
17.5,
60.0,
225.0
],
"volume_mm3": 244385.158136479,
"surface_area_mm2": 233488.186513903,
"solid_count": 1,
"face_count": 122,
"edge_count": 360,
"vertex_count": 240
},
"comparisons": {
"volume_mm3": {
"expected": 244385.158136479,
"actual": 244385.158136463,
"absolute_delta": 1.6007106751203537e-08,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 233488.186513903,
"actual": 233488.186513905,
"absolute_delta": 2.0081643015146255e-09,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-17.5,
0.0,
-225.0,
17.5,
60.0,
225.0
],
"actual": [
-17.5,
0.0,
-225.0,
17.5,
60.0,
225.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 122,
"actual": 122,
"matches": true
},
"edge_count": {
"expected": 360,
"actual": 360,
"matches": true
},
"vertex_count": {
"expected": 240,
"actual": 240,
"matches": true
}
},
"numeric_geometry_match": true,
"topology_counts_match": true
}
},
"source_has_modeling_features": true
}
}