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

590 lines
13 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "164761",
"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,
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": [
-125.0,
90.0
],
"end": [
125.0,
90.0
]
},
{
"type": "line",
"start": [
125.0,
90.0
],
"end": [
125.0,
-90.0
]
},
{
"type": "line",
"start": [
125.0,
-90.0
],
"end": [
-125.0,
-90.0
]
},
{
"type": "line",
"start": [
-125.0,
-90.0
],
"end": [
-125.0,
90.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-125.0,
90.0
],
"end": [
125.0,
-90.0
]
},
{
"type": "line",
"start": [
-125.0,
-90.0
],
"end": [
125.0,
90.0
]
}
]
}
},
{
"id": "sk_003",
"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": "circles",
"items": [
{
"center": [
-105.0,
35.0
],
"radius_mm": 10.0
},
{
"center": [
-75.0,
35.0
],
"radius_mm": 10.0
},
{
"center": [
-105.0,
-35.0
],
"radius_mm": 10.0
},
{
"center": [
-75.0,
-35.0
],
"radius_mm": 10.0
}
]
}
},
{
"id": "sk_004",
"name": "草图4",
"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": [
65.0,
-0.0
],
"radius_mm": 15.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_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_004",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 12.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 20.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 77.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
}
],
"meta": {
"unit": "mm",
"source": "164761.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.5068380550980764,
"volume": 0.0005068380550980764,
"surface_area": 0.09837755650562943,
"center_of_mass": [
0.0015898934729552758,
0.006,
9.465561604361833e-19
],
"principal_moments": [
0.0013778753713553687,
0.002520431009926791,
0.0038861422679598127
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.12500000000000003,
0.0,
-0.08999999999999998,
0.12499999999999997,
0.012,
0.09000000000000001
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABtAAAAawAAAGoAAAA=",
"persist_reference_sha256": "8f7513eb8fccd91aee05ced2939ed4b355ff6e3ac94812a2aed9a16127053223",
"component": null,
"geometry": {
"box": [
-0.12500000000000003,
0.0,
-0.08999999999999998,
0.12499999999999997,
0.012,
0.09000000000000001
],
"face_count": 15,
"edge_count": 34,
"vertex_count": 16
},
"stable_id": "8f7513eb8fccd91aee05ced2939ed4b355ff6e3ac94812a2aed9a16127053223"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 20,
"surface_counts": {
"cylinder": 10,
"plane": 10
},
"axis_count": 10,
"repeat_spacings_mm": [
{
"spacing_mm": 158.2719,
"pair_count": 2
},
{
"spacing_mm": 185.3375,
"pair_count": 2
},
{
"spacing_mm": 30.0,
"pair_count": 2
},
{
"spacing_mm": 70.0,
"pair_count": 2
},
{
"spacing_mm": 76.1577,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-125.0,
0.0,
-90.0,
125.0,
12.0,
90.0
],
"volume_mm3": 506838.055098077,
"surface_area_mm2": 98377.556505629,
"solid_count": 1,
"face_count": 20,
"edge_count": 54,
"vertex_count": 36
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-125.0,
0.0,
-90.0,
125.0,
12.0,
90.0
],
"volume_mm3": 506838.055098076,
"surface_area_mm2": 98377.556505629,
"solid_count": 1,
"face_count": 15,
"edge_count": 34,
"vertex_count": 16
},
"comparisons": {
"volume_mm3": {
"expected": 506838.055098076,
"actual": 506838.055098077,
"absolute_delta": 9.89530235528946e-10,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 98377.556505629,
"actual": 98377.556505629,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-125.0,
0.0,
-90.0,
125.0,
12.0,
90.0
],
"actual": [
-125.0,
0.0,
-90.0,
125.0,
12.0,
90.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 15,
"actual": 20,
"matches": false
},
"edge_count": {
"expected": 34,
"actual": 54,
"matches": false
},
"vertex_count": {
"expected": 16,
"actual": 36,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}