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

706 lines
15 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "183955",
"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": [
60.0,
-39.25
],
"end": [
-60.0,
-39.25
]
},
{
"type": "line",
"start": [
-60.0,
-39.25
],
"end": [
-60.0,
39.25
]
},
{
"type": "line",
"start": [
-60.0,
39.25
],
"end": [
60.0,
39.25
]
},
{
"type": "line",
"start": [
60.0,
39.25
],
"end": [
60.0,
-39.25
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
60.0,
-39.25
],
"end": [
-60.0,
39.25
]
},
{
"type": "line",
"start": [
60.0,
39.25
],
"end": [
-60.0,
-39.25
]
}
]
}
},
{
"id": "sk_003",
"name": "草图5",
"role": "profile",
"workplane": {
"origin_mm": [
15.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": [
30.0,
-57.85
],
"end": [
-30.0,
-57.85
]
},
{
"type": "line",
"start": [
-30.0,
-57.85
],
"end": [
-30.0,
-20.65
]
},
{
"type": "line",
"start": [
-30.0,
-20.65
],
"end": [
30.0,
-20.65
]
},
{
"type": "line",
"start": [
30.0,
-20.65
],
"end": [
30.0,
-57.85
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
30.0,
-57.85
],
"end": [
-30.0,
-20.65
]
},
{
"type": "line",
"start": [
30.0,
-20.65
],
"end": [
-30.0,
-57.85
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
15.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": [
-8.5,
-20.65
],
"end": [
8.5,
-20.65
]
},
{
"type": "line",
"start": [
8.5,
-20.65
],
"end": [
8.5,
-13.15
]
},
{
"type": "line",
"start": [
8.5,
-13.15
],
"end": [
12.0,
-13.15
]
},
{
"type": "line",
"start": [
12.0,
-13.15
],
"end": [
12.0,
-8.65
]
},
{
"type": "line",
"start": [
12.0,
-8.65
],
"end": [
-12.0,
-8.65
]
},
{
"type": "line",
"start": [
-12.0,
-8.65
],
"end": [
-12.0,
-13.15
]
},
{
"type": "line",
"start": [
-12.0,
-13.15
],
"end": [
-8.5,
-13.15
]
},
{
"type": "line",
"start": [
-8.5,
-13.15
],
"end": [
-8.5,
-20.65
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
-20.65
],
"end": [
0.0,
-10.489464891
]
}
]
}
}
]
},
"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": 15.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": "切除-拉伸4",
"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": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
}
],
"meta": {
"unit": "mm",
"source": "183955.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.32677425000000004,
"volume": 0.00012102750000000001,
"surface_area": 0.02322,
"center_of_mass": [
1.3498433907931911e-18,
0.004555512176984579,
0.0075
],
"principal_moments": [
0.00015138704809625962,
0.00045004530487499937,
0.0005891783185962596
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.06,
-0.03924999999999999,
0.0,
0.06,
0.03925000000000002,
0.015
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABnAAAAaQAAAGUAAAA=",
"persist_reference_sha256": "bb52651a8aaa6571d57c9bdd3e4ef90ed5a107d6cb86ecdf13878049578e96f8",
"component": null,
"geometry": {
"box": [
-0.06,
-0.03924999999999999,
0.0,
0.06,
0.039250000000000014,
0.015
],
"face_count": 18,
"edge_count": 48,
"vertex_count": 32
},
"stable_id": "bb52651a8aaa6571d57c9bdd3e4ef90ed5a107d6cb86ecdf13878049578e96f8"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 18,
"surface_counts": {
"plane": 18
},
"axis_count": 0,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-60.0,
-39.25,
0.0,
60.0,
39.25,
15.0
],
"volume_mm3": 121027.5,
"surface_area_mm2": 23220.0,
"solid_count": 1,
"face_count": 18,
"edge_count": 48,
"vertex_count": 32
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-60.0,
-39.25,
0.0,
60.0,
39.25,
15.0
],
"volume_mm3": 121027.5,
"surface_area_mm2": 23220.0,
"solid_count": 1,
"face_count": 18,
"edge_count": 48,
"vertex_count": 32
},
"comparisons": {
"volume_mm3": {
"expected": 121027.5,
"actual": 121027.5,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 23220.0,
"actual": 23220.0,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-60.0,
-39.25,
0.0,
60.0,
39.25,
15.0
],
"actual": [
-60.0,
-39.25,
0.0,
60.0,
39.25,
15.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 18,
"actual": 18,
"matches": true
},
"edge_count": {
"expected": 48,
"actual": 48,
"matches": true
},
"vertex_count": {
"expected": 32,
"actual": 32,
"matches": true
}
},
"numeric_geometry_match": true,
"topology_counts_match": true
}
},
"source_has_modeling_features": true
}
}