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

628 lines
14 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "134240",
"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": [
2.219354839,
3.68299662
],
"end": [
2.219354839,
-3.68299662
],
"center": [
0.0,
0.0
],
"radius_mm": 4.3,
"clockwise": false
},
{
"type": "arc",
"start": [
2.219354839,
-3.68299662
],
"end": [
7.380645161,
-3.68299662
],
"center": [
4.8,
-7.965550828
],
"radius_mm": 5.0,
"clockwise": true
},
{
"type": "arc",
"start": [
7.380645161,
-3.68299662
],
"end": [
7.380645161,
3.68299662
],
"center": [
9.6,
0.0
],
"radius_mm": 4.3,
"clockwise": false
},
{
"type": "arc",
"start": [
7.380645161,
3.68299662
],
"end": [
2.219354839,
3.68299662
],
"center": [
4.8,
7.965550828
],
"radius_mm": 5.0,
"clockwise": false
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 1.6
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
9.549155222,
-0.036532266
],
"radius_mm": 1.6
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-7.251418695,
0.0
],
"end": [
16.824045366,
0.0
]
}
]
}
},
{
"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": "circles",
"items": [
{
"center": [
0.0,
0.0
],
"radius_mm": 3.0
},
{
"center": [
9.549155222,
-0.036532266
],
"radius_mm": 3.0
},
{
"center": [
2.37725,
0.0
],
"radius_mm": 12.522796452
}
]
}
},
{
"id": "sk_004",
"name": "草图7",
"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": "circles",
"items": [
{
"center": [
0.0,
0.0
],
"radius_mm": 1.6
},
{
"center": [
9.549155222,
-0.036532266
],
"radius_mm": 1.6
}
]
}
}
]
},
"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": 7.2,
"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_cut_blind",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"distance_mm": 5.5,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
}
],
"meta": {
"unit": "mm",
"source": "134240.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0005727991881355911,
"volume": 5.727991881355911e-07,
"surface_area": 0.0007407568994049593,
"center_of_mass": [
0.004784197284629735,
-1.1354342092317153e-05,
-4.512819619458527e-20
],
"principal_moments": [
5.549906741673213e-09,
1.604752088178441e-08,
1.814179678438315e-08
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0043,
-0.004300000000000004,
-0.005,
0.013900000000000003,
0.004300000000000004,
0.005
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "凸台-拉伸2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAAB0AAAAcwAAAGoAAAA=",
"persist_reference_sha256": "41c4809a9c06b089643baddf89604c23556fc77e315523d7fa0fc5a4e1827d3a",
"component": null,
"geometry": {
"box": [
-0.0043,
-0.004300000000000004,
-0.005,
0.013900000000000003,
0.004300000000000004,
0.005
],
"face_count": 22,
"edge_count": 36,
"vertex_count": 16
},
"stable_id": "41c4809a9c06b089643baddf89604c23556fc77e315523d7fa0fc5a4e1827d3a"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 30,
"surface_counts": {
"cylinder": 22,
"plane": 8
},
"axis_count": 22,
"repeat_spacings_mm": [
{
"spacing_mm": 9.3,
"pair_count": 4
},
{
"spacing_mm": 9.5492,
"pair_count": 2
},
{
"spacing_mm": 7.75,
"pair_count": 2
},
{
"spacing_mm": 12.2984,
"pair_count": 2
},
{
"spacing_mm": 9.4048,
"pair_count": 2
},
{
"spacing_mm": 11.2611,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-4.3,
-4.3,
-5.0,
13.9,
4.3,
5.0
],
"volume_mm3": 572.799188136,
"surface_area_mm2": 740.756899405,
"solid_count": 1,
"face_count": 30,
"edge_count": 66,
"vertex_count": 44
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-4.3,
-4.3,
-5.0,
13.9,
4.3,
5.0
],
"volume_mm3": 572.799188136,
"surface_area_mm2": 740.756899405,
"solid_count": 1,
"face_count": 22,
"edge_count": 36,
"vertex_count": 16
},
"comparisons": {
"volume_mm3": {
"expected": 572.799188136,
"actual": 572.799188136,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 740.756899405,
"actual": 740.756899405,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-4.3,
-4.3,
-5.0,
13.9,
4.3,
5.0
],
"actual": [
-4.3,
-4.3,
-5.0,
13.9,
4.3,
5.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 22,
"actual": 30,
"matches": false
},
"edge_count": {
"expected": 36,
"actual": 66,
"matches": false
},
"vertex_count": {
"expected": 16,
"actual": 44,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}