Files
cdsl-cad/json_to_cdsl/output/cap.cdsl.json
T
2026-08-24 14:52:08 +08:00

1471 lines
35 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "cap",
"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": [
10.6,
24.3
],
"end": [
11.0,
23.9
],
"center": [
10.6,
23.9
],
"radius_mm": 0.4,
"clockwise": true
},
{
"type": "line",
"start": [
11.0,
23.9
],
"end": [
11.0,
20.2
]
},
{
"type": "line",
"start": [
11.0,
20.2
],
"end": [
17.8,
20.2
]
},
{
"type": "arc",
"start": [
17.8,
20.2
],
"end": [
18.0,
20.4
],
"center": [
17.8,
20.4
],
"radius_mm": 0.2,
"clockwise": true
},
{
"type": "line",
"start": [
18.0,
20.4
],
"end": [
18.0,
22.3
]
},
{
"type": "arc",
"start": [
18.0,
22.3
],
"end": [
18.2,
22.5
],
"center": [
18.2,
22.3
],
"radius_mm": 0.2,
"clockwise": false
},
{
"type": "line",
"start": [
18.2,
22.5
],
"end": [
27.5,
22.5
]
},
{
"type": "arc",
"start": [
27.5,
22.5
],
"end": [
27.7,
22.3
],
"center": [
27.5,
22.3
],
"radius_mm": 0.2,
"clockwise": false
},
{
"type": "line",
"start": [
27.7,
22.3
],
"end": [
27.7,
20.4
]
},
{
"type": "arc",
"start": [
27.7,
20.4
],
"end": [
27.9,
20.2
],
"center": [
27.9,
20.4
],
"radius_mm": 0.2,
"clockwise": false
},
{
"type": "line",
"start": [
27.9,
20.2
],
"end": [
34.8,
20.2
]
},
{
"type": "arc",
"start": [
34.8,
20.2
],
"end": [
35.0,
20.4
],
"center": [
34.8,
20.4
],
"radius_mm": 0.2,
"clockwise": false
},
{
"type": "line",
"start": [
35.0,
20.4
],
"end": [
35.0,
24.6
]
},
{
"type": "arc",
"start": [
35.0,
24.6
],
"end": [
35.4,
25.0
],
"center": [
35.4,
24.6
],
"radius_mm": 0.4,
"clockwise": true
},
{
"type": "line",
"start": [
35.4,
25.0
],
"end": [
45.6,
25.0
]
},
{
"type": "arc",
"start": [
45.6,
25.0
],
"end": [
46.0,
24.6
],
"center": [
45.6,
24.6
],
"radius_mm": 0.4,
"clockwise": true
},
{
"type": "line",
"start": [
46.0,
24.6
],
"end": [
46.0,
20.4
]
},
{
"type": "arc",
"start": [
46.0,
20.4
],
"end": [
46.2,
20.2
],
"center": [
46.2,
20.4
],
"radius_mm": 0.2,
"clockwise": false
},
{
"type": "line",
"start": [
46.2,
20.2
],
"end": [
52.8,
20.2
]
},
{
"type": "arc",
"start": [
52.8,
20.2
],
"end": [
53.0,
20.4
],
"center": [
52.8,
20.4
],
"radius_mm": 0.2,
"clockwise": false
},
{
"type": "line",
"start": [
53.0,
20.4
],
"end": [
53.0,
22.3
]
},
{
"type": "arc",
"start": [
53.0,
22.3
],
"end": [
53.2,
22.5
],
"center": [
53.2,
22.3
],
"radius_mm": 0.2,
"clockwise": true
},
{
"type": "line",
"start": [
53.2,
22.5
],
"end": [
62.5,
22.5
]
},
{
"type": "arc",
"start": [
62.5,
22.5
],
"end": [
62.7,
22.3
],
"center": [
62.5,
22.3
],
"radius_mm": 0.2,
"clockwise": true
},
{
"type": "line",
"start": [
62.7,
22.3
],
"end": [
62.7,
20.4
]
},
{
"type": "arc",
"start": [
62.7,
20.4
],
"end": [
62.9,
20.2
],
"center": [
62.9,
20.4
],
"radius_mm": 0.2,
"clockwise": false
},
{
"type": "line",
"start": [
62.9,
20.2
],
"end": [
68.0,
20.2
]
},
{
"type": "line",
"start": [
68.0,
20.2
],
"end": [
68.0,
35.0
]
},
{
"type": "line",
"start": [
68.0,
35.0
],
"end": [
63.0,
35.0
]
},
{
"type": "line",
"start": [
63.0,
35.0
],
"end": [
58.0,
40.0
]
},
{
"type": "line",
"start": [
58.0,
40.0
],
"end": [
54.7,
40.0
]
},
{
"type": "arc",
"start": [
54.7,
40.0
],
"end": [
54.5,
39.8
],
"center": [
54.7,
39.8
],
"radius_mm": 0.2,
"clockwise": false
},
{
"type": "line",
"start": [
54.5,
39.8
],
"end": [
54.5,
36.2
]
},
{
"type": "arc",
"start": [
54.5,
36.2
],
"end": [
54.3,
36.0
],
"center": [
54.3,
36.2
],
"radius_mm": 0.2,
"clockwise": false
},
{
"type": "line",
"start": [
54.3,
36.0
],
"end": [
48.2,
36.0
]
},
{
"type": "arc",
"start": [
48.2,
36.0
],
"end": [
48.0,
36.2
],
"center": [
48.2,
36.2
],
"radius_mm": 0.2,
"clockwise": true
},
{
"type": "line",
"start": [
48.0,
36.2
],
"end": [
48.0,
39.8
]
},
{
"type": "arc",
"start": [
48.0,
39.8
],
"end": [
47.8,
40.0
],
"center": [
47.8,
39.8
],
"radius_mm": 0.2,
"clockwise": true
},
{
"type": "line",
"start": [
47.8,
40.0
],
"end": [
41.7,
40.0
]
},
{
"type": "arc",
"start": [
41.7,
40.0
],
"end": [
41.5,
39.8
],
"center": [
41.7,
39.8
],
"radius_mm": 0.2,
"clockwise": true
},
{
"type": "line",
"start": [
41.5,
39.8
],
"end": [
41.5,
36.2
]
},
{
"type": "arc",
"start": [
41.5,
36.2
],
"end": [
41.3,
36.0
],
"center": [
41.3,
36.2
],
"radius_mm": 0.2,
"clockwise": true
},
{
"type": "line",
"start": [
41.3,
36.0
],
"end": [
35.2,
36.0
]
},
{
"type": "arc",
"start": [
35.2,
36.0
],
"end": [
35.0,
36.2
],
"center": [
35.2,
36.2
],
"radius_mm": 0.2,
"clockwise": true
},
{
"type": "line",
"start": [
35.0,
36.2
],
"end": [
35.0,
39.8
]
},
{
"type": "arc",
"start": [
35.0,
39.8
],
"end": [
34.8,
40.0
],
"center": [
34.8,
39.8
],
"radius_mm": 0.2,
"clockwise": false
},
{
"type": "line",
"start": [
34.8,
40.0
],
"end": [
26.2,
40.0
]
},
{
"type": "arc",
"start": [
26.2,
40.0
],
"end": [
26.0,
39.8
],
"center": [
26.2,
39.8
],
"radius_mm": 0.2,
"clockwise": true
},
{
"type": "line",
"start": [
26.0,
39.8
],
"end": [
26.0,
39.5
]
},
{
"type": "arc",
"start": [
26.0,
39.5
],
"end": [
20.0,
39.5
],
"center": [
23.0,
39.5
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "line",
"start": [
20.0,
39.5
],
"end": [
20.0,
39.8
]
},
{
"type": "arc",
"start": [
20.0,
39.8
],
"end": [
19.8,
40.0
],
"center": [
19.8,
39.8
],
"radius_mm": 0.2,
"clockwise": true
},
{
"type": "line",
"start": [
19.8,
40.0
],
"end": [
0.0,
40.0
]
},
{
"type": "line",
"start": [
0.0,
40.0
],
"end": [
-0.0,
22.409925586
]
},
{
"type": "line",
"start": [
-0.0,
22.409925586
],
"end": [
2.5,
21.5
]
},
{
"type": "line",
"start": [
2.5,
21.5
],
"end": [
4.7,
21.5
]
},
{
"type": "arc",
"start": [
4.7,
21.5
],
"end": [
5.7,
22.5
],
"center": [
4.7,
22.5
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
5.7,
22.5
],
"end": [
5.7,
23.9
]
},
{
"type": "arc",
"start": [
5.7,
23.9
],
"end": [
6.1,
24.3
],
"center": [
6.1,
23.9
],
"radius_mm": 0.4,
"clockwise": true
},
{
"type": "line",
"start": [
6.1,
24.3
],
"end": [
10.6,
24.3
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
38.010973672,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "Эскиз2",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
0.0,
0.0,
-1.0
],
"y_dir": [
0.707106781,
0.0,
0.707106781
],
"normal": [
0.0,
-1.0,
0.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
26.457513111,
30.0
],
"end": [
-26.457513111,
30.0
],
"center": [
0.0,
0.0
],
"radius_mm": 40.0,
"clockwise": false
},
{
"type": "line",
"start": [
-26.457513111,
30.0
],
"end": [
26.457513111,
30.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
26.457513111,
-30.0
],
"end": [
-26.457513111,
-30.0
],
"center": [
0.0,
0.0
],
"radius_mm": 40.0,
"clockwise": true
},
{
"type": "line",
"start": [
-26.457513111,
-30.0
],
"end": [
26.457513111,
-30.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
33.615019609,
0.0
]
}
]
}
},
{
"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": "circle",
"center": [
23.0,
0.0
],
"radius_mm": 3.0
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Спереди",
"atomic_id": "reference_plane",
"depends_on": [],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10,
"derived_from_sketch_id": "sk_001"
},
"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,
"plane_inference": "solidworks_origin_plane_order"
},
"execution_status": "deferred"
},
{
"id": "f_004",
"name": "Повернуть1",
"atomic_id": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "71236e9001a1df633f97cc1dc8c41422964642d77a344ba42ae38cf0cc17e990",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.03801097367211109,
0.0,
0.0
]
}
}
]
},
{
"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,
"plane_inference": "solidworks_origin_plane_order"
},
"execution_status": "deferred"
},
{
"id": "f_005",
"name": "Плоскость1",
"atomic_id": "reference_plane",
"depends_on": [
"f_002"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
-40.0
],
"normal": [
0.0,
0.0,
1.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 40.0,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "feature",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
],
"derived_from_feature_id": "f_002",
"plane_inference": "parent_reference_plane"
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
},
{
"id": "f_006",
"name": "Вырез-Вытянуть1",
"atomic_id": "extrude_cut_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_003",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_007",
"name": "Вырез-Вытянуть2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 10.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"unresolved": [
"missing source sketch parent"
]
}
],
"meta": {
"unit": "mm",
"source": "05_壳体与盖件/0502_端盖/050299_通用端盖/cap.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 1.5973525605198686,
"volume": 0.00020478878981023955,
"surface_area": 0.040408413299608675,
"center_of_mass": [
0.03334716969582916,
-3.200454018651361e-05,
-1.5665289225655145e-10
],
"principal_moments": [
0.0013513243630673788,
0.001405043853677715,
0.0015706298622180843
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-5.408098340486448e-20,
-0.04,
-0.04,
0.068,
0.04,
0.04
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Вырез-Вытянуть2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABvAAAAbgAAAGcAAAA=",
"persist_reference_sha256": "ccc6c7a89b38478e0123765269b934f52e7a1d79e434f2798c636e5acf26b973",
"component": null,
"geometry": {
"box": [
-5.408098340486448e-20,
-0.04,
-0.04,
0.068,
0.04,
0.04
],
"face_count": 66,
"edge_count": 74,
"vertex_count": 10
},
"stable_id": "ccc6c7a89b38478e0123765269b934f52e7a1d79e434f2798c636e5acf26b973"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 115,
"surface_counts": {
"cone": 4,
"cylinder": 34,
"plane": 21,
"torus": 56
},
"axis_count": 38,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-0.0,
-40.0000001,
-40.0,
68.0,
40.0000001,
40.0
],
"volume_mm3": 204788.797321746,
"surface_area_mm2": 40408.416407984,
"solid_count": 1,
"face_count": 115,
"edge_count": 235,
"vertex_count": 136
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-0.0,
-40.0,
-40.0,
68.0,
40.0,
40.0
],
"volume_mm3": 204788.78981024,
"surface_area_mm2": 40408.413299609,
"solid_count": 1,
"face_count": 66,
"edge_count": 74,
"vertex_count": 10
},
"comparisons": {
"volume_mm3": {
"expected": 204788.78981024,
"actual": 204788.797321746,
"absolute_delta": 0.007511506002629176,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 40408.413299609,
"actual": 40408.416407984,
"absolute_delta": 0.00310837500001071,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-0.0,
-40.0,
-40.0,
68.0,
40.0,
40.0
],
"actual": [
-0.0,
-40.0000001,
-40.0,
68.0,
40.0000001,
40.0
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 66,
"actual": 115,
"matches": false
},
"edge_count": {
"expected": 74,
"actual": 235,
"matches": false
},
"vertex_count": {
"expected": 10,
"actual": 136,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}