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

708 lines
16 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "231397",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "Origin",
"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": [
4.618802154,
0.0
],
"end": [
2.309401077,
4.0
]
},
{
"type": "line",
"start": [
2.309401077,
4.0
],
"end": [
-2.309401077,
4.0
]
},
{
"type": "line",
"start": [
-2.309401077,
4.0
],
"end": [
-4.618802154,
-0.0
]
},
{
"type": "line",
"start": [
-4.618802154,
-0.0
],
"end": [
-2.309401077,
-4.0
]
},
{
"type": "line",
"start": [
-2.309401077,
-4.0
],
"end": [
2.309401077,
-4.0
]
},
{
"type": "line",
"start": [
2.309401077,
-4.0
],
"end": [
4.618802154,
0.0
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 4.0
}
]
}
},
{
"id": "sk_003",
"name": "草图5",
"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": [
4.618802154,
5.6
],
"end": [
3.5,
5.6
]
},
{
"type": "line",
"start": [
3.5,
5.6
],
"end": [
4.618802154,
5.300217866
]
},
{
"type": "line",
"start": [
4.618802154,
5.300217866
],
"end": [
4.618802154,
5.6
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
4.618802154,
0.299782134
],
"end": [
4.618802154,
0.0
]
},
{
"type": "line",
"start": [
4.618802154,
0.0
],
"end": [
3.5,
-0.0
]
},
{
"type": "line",
"start": [
3.5,
-0.0
],
"end": [
4.618802154,
0.299782134
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-0.0,
5.6
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
4.618802154,
2.8
],
"end": [
-4.618802154,
2.8
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Front",
"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": "Top",
"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": "Right",
"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": 5.6,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "M5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 5.6,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
0.0,
0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 5.6,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-0e463e0cb8a6fa5a1a9a1b22",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-3.5,
-0.0,
-3.5,
3.5,
-0.0,
3.5
],
"center_mm": [
0.0,
0.0,
0.0
],
"normal": [
-0.0,
-1.0,
-0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-0e463e0cb8a6fa5a1a9a1b22",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-3.5,
-0.0,
-3.5,
3.5,
-0.0,
3.5
],
"center_mm": [
0.0,
0.0,
0.0
],
"normal": [
-0.0,
-1.0,
-0.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_006",
"name": "切除-旋转2",
"atomic_id": "revolve_cut",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-0.0,
5.6,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "axis",
"stable_id": "7fc16b02996d6d1238de4f3079ab97dea1146b02e1a857a26f9e611906ba6516",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-8.673617379884035e-19,
0.0056,
0.0
],
"end": [
0.0,
0.0,
0.0
]
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "231397.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.00022929167829986876,
"volume": 2.2929167829986876e-07,
"surface_area": 0.00030284592888463885,
"center_of_mass": [
-3.0518358891462493e-09,
0.002800000000000001,
-4.509434329923854e-19
],
"principal_moments": [
1.8474316534973376e-09,
1.8474507448921619e-09,
2.530337413372487e-09
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.00461880215351701,
-2.6020852139652106e-18,
-0.0040000000000000036,
0.004618802153517006,
0.005600000000000001,
0.0040000000000000036
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-旋转2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac",
"component": null,
"geometry": {
"box": [
-0.004618802153517009,
-2.2768245622195593e-18,
-0.0040000000000000036,
0.004618802153517006,
0.005600000000000001,
0.0040000000000000036
],
"face_count": 11,
"edge_count": 22,
"vertex_count": 12
},
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 14,
"surface_counts": {
"cone": 4,
"cylinder": 2,
"plane": 8
},
"axis_count": 6,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-4.618802254,
-1e-07,
-4.0000001,
4.618802254,
5.6000001,
4.0000001
],
"volume_mm3": 229.274907846,
"surface_area_mm2": 302.833184529,
"solid_count": 1,
"face_count": 14,
"edge_count": 32,
"vertex_count": 20
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-4.618802154,
-0.0,
-4.0,
4.618802154,
5.6,
4.0
],
"volume_mm3": 229.2916783,
"surface_area_mm2": 302.845928885,
"solid_count": 1,
"face_count": 11,
"edge_count": 22,
"vertex_count": 12
},
"comparisons": {
"volume_mm3": {
"expected": 229.2916783,
"actual": 229.274907846,
"absolute_delta": 0.016770454000010204,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 302.845928885,
"actual": 302.833184529,
"absolute_delta": 0.012744355999984691,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-4.618802154,
-0.0,
-4.0,
4.618802154,
5.6,
4.0
],
"actual": [
-4.618802254,
-1e-07,
-4.0000001,
4.618802254,
5.6000001,
4.0000001
],
"max_absolute_delta": 1.0000000028043132e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 11,
"actual": 14,
"matches": false
},
"edge_count": {
"expected": 22,
"actual": 32,
"matches": false
},
"vertex_count": {
"expected": 12,
"actual": 20,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}