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

1243 lines
29 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "037550",
"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": false,
"segments": [
{
"type": "line",
"start": [
0.996998482,
-18.0
],
"end": [
16.0,
-18.000090275
]
},
{
"type": "line",
"start": [
16.0,
-18.000090275
],
"end": [
16.0,
17.999909725
]
},
{
"type": "line",
"start": [
16.0,
17.999909725
],
"end": [
0.996998482,
18.0
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
18.0,
-20.000090275
],
"end": [
45.0,
-20.000090275
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
17.0,
-19.000090275
],
"end": [
18.0,
-20.000090275
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
18.0,
19.999909725
],
"end": [
45.0,
19.999909725
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
45.0,
21.999909725
],
"end": [
45.0,
-22.000090275
]
},
{
"type": "line",
"start": [
45.0,
-22.000090275
],
"end": [
46.0,
-23.000090275
]
},
{
"type": "line",
"start": [
46.0,
-23.000090275
],
"end": [
68.000013684,
-23.000090275
]
},
{
"type": "line",
"start": [
68.000013684,
-23.000090275
],
"end": [
68.999969544,
-22.000090276
]
},
{
"type": "line",
"start": [
68.999969544,
-22.000090276
],
"end": [
68.998027385,
21.999909726
]
},
{
"type": "line",
"start": [
68.998027385,
21.999909726
],
"end": [
67.997983245,
22.999909725
]
},
{
"type": "line",
"start": [
67.997983245,
22.999909725
],
"end": [
46.0,
22.999909725
]
},
{
"type": "line",
"start": [
46.0,
22.999909725
],
"end": [
45.0,
21.999909725
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
68.999881264,
-20.000090275
],
"end": [
106.00277853,
-20.000090275
]
},
{
"type": "line",
"start": [
106.00277853,
-20.000090275
],
"end": [
107.00277853,
-19.000090275
]
},
{
"type": "line",
"start": [
107.00277853,
-19.000090275
],
"end": [
107.00277853,
18.999909725
]
},
{
"type": "line",
"start": [
107.00277853,
18.999909725
],
"end": [
106.00277853,
19.999909725
]
},
{
"type": "line",
"start": [
106.00277853,
19.999909725
],
"end": [
68.998115665,
19.999909725
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
17.0,
-19.000090275
],
"end": [
17.0,
18.999909725
]
},
{
"type": "line",
"start": [
17.0,
18.999909725
],
"end": [
18.0,
19.999909725
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
0.0,
17.0
],
"end": [
0.0,
-17.0
]
},
{
"type": "line",
"start": [
0.0,
-17.0
],
"end": [
1.0,
-18.0
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
16.0,
-17.0
],
"end": [
17.0,
-17.0
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
16.0,
17.0
],
"end": [
17.0,
17.0
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
1.0,
18.0
],
"end": [
0.0,
17.0
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
107.002738702,
-17.499996122
],
"end": [
155.999999999,
-17.500104064
]
},
{
"type": "line",
"start": [
155.999999999,
-17.500104064
],
"end": [
156.999999999,
-16.500106267
]
},
{
"type": "line",
"start": [
156.999999999,
-16.500106267
],
"end": [
156.999999999,
16.499824348
]
},
{
"type": "line",
"start": [
156.999999999,
16.499824348
],
"end": [
155.999999999,
17.499824428
]
},
{
"type": "line",
"start": [
155.999999999,
17.499824428
],
"end": [
107.002778662,
17.499828367
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-5.003001518,
-9.0275e-05
],
"end": [
164.999999999,
-9.0275e-05
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": false,
"segments": [
{
"type": "arc",
"start": [
13.997053292,
-2.999954862
],
"end": [
13.996977025,
2.999954862
],
"center": [
13.99704429,
0.0
],
"radius_mm": 2.999954862,
"clockwise": false
},
{
"type": "line",
"start": [
13.996977025,
2.999954862
],
"end": [
-0.003001518,
3.0
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
-0.0,
2.99999999
],
"end": [
-0.0,
-2.99999999
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
13.997053292,
-2.999954862
],
"end": [
-0.003001518,
-3.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
16.996998482,
0.0
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"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": false,
"segments": [
{
"type": "arc",
"start": [
117.0,
4.999965617
],
"end": [
117.0,
-5.000034383
],
"center": [
117.0,
-3.4383e-05
],
"radius_mm": 5.0,
"clockwise": false
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "arc",
"start": [
146.999765792,
-4.999984755
],
"end": [
146.999757763,
5.000015244
],
"center": [
146.999757763,
1.5244e-05
],
"radius_mm": 5.0,
"clockwise": false
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
147.022034999,
4.999965617
],
"end": [
117.0,
4.999965617
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
146.999765792,
-4.999984755
],
"end": [
116.992129727,
-5.00002819
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-0.0,
16.999909725
],
"end": [
-0.0,
-17.0
]
},
{
"type": "line",
"start": [
0.0,
-9.0275e-05
],
"end": [
164.999999999,
-9.0275e-05
]
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"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": "line",
"start": [
-8.660254038,
15.0
],
"end": [
-17.320508076,
0.0
]
},
{
"type": "line",
"start": [
-17.320508076,
0.0
],
"end": [
-8.660254038,
-15.0
]
},
{
"type": "line",
"start": [
-8.660254038,
-15.0
],
"end": [
8.660254038,
-15.0
]
},
{
"type": "line",
"start": [
8.660254038,
-15.0
],
"end": [
17.320508076,
0.0
]
},
{
"type": "line",
"start": [
17.320508076,
0.0
],
"end": [
8.660254038,
15.0
]
},
{
"type": "line",
"start": [
8.660254038,
15.0
],
"end": [
-8.660254038,
15.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
-20.774185263
],
"end": [
0.0,
20.774185263
]
},
{
"type": "line",
"start": [
-20.774185263,
0.0
],
"end": [
20.774185263,
0.0
]
}
]
}
}
]
},
"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": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-5.003001518,
-9.0275e-05,
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": "0e1f9824f9a3d2312e812d755e559cc761cc8ce45b2a6a266904b93c2e877729",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.0050030015180837495,
-9.027542446915504e-08,
0.0
],
"end": [
0.16499999999906834,
-9.027542446915504e-08,
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
},
"execution_status": "deferred"
},
{
"id": "f_005",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"distance_mm": 6.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"distance_mm": 6.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 30.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
}
],
"meta": {
"unit": "mm",
"source": "037550.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.20884774167275047,
"volume": 0.00020884774167275047,
"surface_area": 0.025936216273948834,
"center_of_mass": [
0.0853105679947913,
-8.069559658773892e-08,
-0.00016397365624203658
],
"principal_moments": [
3.9501527773401276e-05,
0.0005517819545296718,
0.0005522917562789416
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-3.552713678800501e-14,
-0.02300009027539663,
-0.02299999999997216,
0.18699999999930014,
0.02299990972454769,
0.02299999999997216
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "凸台-拉伸1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABtAAAAbAAAAGsAAABqAAAA",
"persist_reference_sha256": "0e172830ee09352a9c5b62835095238b0d4f99ee8e7c454e8cfc837ccc4cce30",
"component": null,
"geometry": {
"box": [
-3.552713678800501e-14,
-0.02300009027539663,
-0.02299999999997216,
0.18699999999930014,
0.02299990972454769,
0.02299999999997216
],
"face_count": 46,
"edge_count": 88,
"vertex_count": 46
},
"stable_id": "0e172830ee09352a9c5b62835095238b0d4f99ee8e7c454e8cfc837ccc4cce30"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 60,
"surface_counts": {
"cone": 15,
"cylinder": 15,
"plane": 30
},
"axis_count": 30,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-1e-07,
-23.000090275,
-23.0,
186.999999999,
22.999909725,
23.0
],
"volume_mm3": 208847.477573554,
"surface_area_mm2": 25936.177915857,
"solid_count": 1,
"face_count": 60,
"edge_count": 139,
"vertex_count": 84
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-0.0,
-23.000090275,
-23.0,
186.999999999,
22.999909725,
23.0
],
"volume_mm3": 208847.74167275,
"surface_area_mm2": 25936.216273949,
"solid_count": 1,
"face_count": 46,
"edge_count": 88,
"vertex_count": 46
},
"comparisons": {
"volume_mm3": {
"expected": 208847.74167275,
"actual": 208847.477573554,
"absolute_delta": 0.2640991960070096,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 25936.216273949,
"actual": 25936.177915857,
"absolute_delta": 0.038358092002454214,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-0.0,
-23.000090275,
-23.0,
186.999999999,
22.999909725,
23.0
],
"actual": [
-1e-07,
-23.000090275,
-23.0,
186.999999999,
22.999909725,
23.0
],
"max_absolute_delta": 1e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 46,
"actual": 60,
"matches": false
},
"edge_count": {
"expected": 88,
"actual": 139,
"matches": false
},
"vertex_count": {
"expected": 46,
"actual": 84,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}