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

952 lines
21 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "201823",
"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": [
-50.0,
-50.0
],
"end": [
50.0,
-50.0
]
},
{
"type": "line",
"start": [
50.0,
-50.0
],
"end": [
50.0,
50.0
]
},
{
"type": "line",
"start": [
50.0,
50.0
],
"end": [
-50.0,
50.0
]
},
{
"type": "line",
"start": [
-50.0,
50.0
],
"end": [
-50.0,
-50.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-50.0,
-50.0
],
"end": [
50.0,
50.0
]
},
{
"type": "line",
"start": [
-50.0,
50.0
],
"end": [
50.0,
-50.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
10.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": [
-50.0,
50.0
],
"end": [
50.0,
50.0
]
},
{
"type": "line",
"start": [
50.0,
50.0
],
"end": [
50.0,
40.0
]
},
{
"type": "line",
"start": [
50.0,
40.0
],
"end": [
-50.0,
40.0
]
},
{
"type": "line",
"start": [
-50.0,
40.0
],
"end": [
-50.0,
50.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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-50.0,
-110.0
],
"end": [
50.0,
-110.0
]
},
{
"type": "line",
"start": [
50.0,
-110.0
],
"end": [
50.0,
-100.0
]
},
{
"type": "line",
"start": [
50.0,
-100.0
],
"end": [
-50.0,
-100.0
]
},
{
"type": "line",
"start": [
-50.0,
-100.0
],
"end": [
-50.0,
-110.0
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"role": "profile",
"workplane": {
"origin_mm": [
100.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": "circle",
"center": [
0.0,
80.0
],
"radius_mm": 10.0
}
},
{
"id": "sk_006",
"name": "草图5",
"role": "profile",
"workplane": {
"origin_mm": [
10.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": [
-33.0,
-25.0
],
"end": [
-22.0,
-25.0
],
"center": [
-27.5,
-25.0
],
"radius_mm": 5.5,
"clockwise": false
},
{
"type": "line",
"start": [
-22.0,
-25.0
],
"end": [
-22.0,
25.0
]
},
{
"type": "arc",
"start": [
-22.0,
25.0
],
"end": [
-33.0,
25.0
],
"center": [
-27.5,
25.0
],
"radius_mm": 5.5,
"clockwise": false
},
{
"type": "line",
"start": [
-33.0,
25.0
],
"end": [
-33.0,
-25.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
33.0,
-25.0
],
"end": [
22.0,
-25.0
],
"center": [
27.5,
-25.0
],
"radius_mm": 5.5,
"clockwise": true
},
{
"type": "line",
"start": [
22.0,
-25.0
],
"end": [
22.0,
25.0
]
},
{
"type": "arc",
"start": [
22.0,
25.0
],
"end": [
33.0,
25.0
],
"center": [
27.5,
25.0
],
"radius_mm": 5.5,
"clockwise": true
},
{
"type": "line",
"start": [
33.0,
25.0
],
"end": [
33.0,
-25.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-27.5,
-25.0
],
"end": [
-27.5,
25.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
19.425575602
]
},
{
"type": "line",
"start": [
27.5,
-25.0
],
"end": [
27.5,
25.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": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"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": 100.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_009",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 60.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_006"
},
{
"id": "f_006",
"name": "凸台-拉伸3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 50.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"radius_mm": 20.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 60.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
}
],
"meta": {
"unit": "mm",
"source": "201823.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.23052411440534779,
"volume": 0.0002305241144053478,
"surface_area": 0.05608092885701315,
"center_of_mass": [
1.3074017418370202e-17,
0.03432539746864868,
0.048440831737673856
],
"principal_moments": [
0.00027733054956434396,
0.000666859156570198,
0.0007719414341047083
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.05000004999999999,
-0.05000000000000001,
-2.500000000071889e-08,
0.05000005000000002,
0.1,
0.110000025
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABvAAAAbgAAAG0AAABsAAAAawAAAA==",
"persist_reference_sha256": "98b1e816bacfba5158e25d4ad8e9656d0467e3e970d15beb0a79b03cabf7eef2",
"component": null,
"geometry": {
"box": [
-0.05000004999999999,
-0.05,
-2.5e-08,
0.05000005000000002,
0.1,
0.110000025
],
"face_count": 23,
"edge_count": 62,
"vertex_count": 40
},
"stable_id": "98b1e816bacfba5158e25d4ad8e9656d0467e3e970d15beb0a79b03cabf7eef2"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 24,
"surface_counts": {
"cylinder": 10,
"plane": 14
},
"axis_count": 10,
"repeat_spacings_mm": [
{
"spacing_mm": 188.4144,
"pair_count": 2
},
{
"spacing_mm": 162.7882,
"pair_count": 2
},
{
"spacing_mm": 236.3922,
"pair_count": 2
},
{
"spacing_mm": 218.8178,
"pair_count": 2
},
{
"spacing_mm": 60.0,
"pair_count": 2
},
{
"spacing_mm": 125.6981,
"pair_count": 2
},
{
"spacing_mm": 110.4536,
"pair_count": 2
},
{
"spacing_mm": 60.2599,
"pair_count": 2
},
{
"spacing_mm": 81.4325,
"pair_count": 2
},
{
"spacing_mm": 83.2541,
"pair_count": 2
},
{
"spacing_mm": 99.6557,
"pair_count": 2
},
{
"spacing_mm": 129.7353,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-50.0,
-50.0,
0.0,
50.0,
100.0,
110.0
],
"volume_mm3": 230524.114405348,
"surface_area_mm2": 56080.928857013,
"solid_count": 1,
"face_count": 24,
"edge_count": 66,
"vertex_count": 44
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-50.00005,
-50.0,
-2.5e-05,
50.00005,
100.0,
110.000025
],
"volume_mm3": 230524.114405348,
"surface_area_mm2": 56080.928857013,
"solid_count": 1,
"face_count": 23,
"edge_count": 62,
"vertex_count": 40
},
"comparisons": {
"volume_mm3": {
"expected": 230524.114405348,
"actual": 230524.114405348,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 56080.928857013,
"actual": 56080.928857013,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-50.00005,
-50.0,
-2.5e-05,
50.00005,
100.0,
110.000025
],
"actual": [
-50.0,
-50.0,
0.0,
50.0,
100.0,
110.0
],
"max_absolute_delta": 5.000000000165983e-05,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 23,
"actual": 24,
"matches": false
},
"edge_count": {
"expected": 62,
"actual": 66,
"matches": false
},
"vertex_count": {
"expected": 40,
"actual": 44,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}