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

771 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "175717",
"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,
-142.334016799
],
"end": [
-10.0,
-142.334016799
]
},
{
"type": "line",
"start": [
-10.0,
-142.334016799
],
"end": [
-10.0,
-134.334016799
]
},
{
"type": "line",
"start": [
-10.0,
-134.334016799
],
"end": [
40.0,
-134.334016799
]
},
{
"type": "line",
"start": [
40.0,
-134.334016799
],
"end": [
40.0,
-11.289905973
]
},
{
"type": "line",
"start": [
40.0,
-11.289905973
],
"end": [
-50.0,
-11.289905973
]
},
{
"type": "line",
"start": [
-50.0,
-11.289905973
],
"end": [
-50.0,
0.0
]
},
{
"type": "line",
"start": [
-50.0,
0.0
],
"end": [
50.0,
0.0
]
},
{
"type": "line",
"start": [
50.0,
0.0
],
"end": [
50.0,
-142.334016799
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-53.65
]
}
]
}
},
{
"id": "sk_003",
"name": "草图6",
"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": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-42.0,
17.710332418
],
"end": [
-42.0,
10.710332418
],
"center": [
-42.0,
14.210332418
],
"radius_mm": 3.5,
"clockwise": false
},
{
"type": "line",
"start": [
-42.0,
10.710332418
],
"end": [
8.0,
10.710332418
]
},
{
"type": "arc",
"start": [
8.0,
10.710332418
],
"end": [
8.0,
17.710332418
],
"center": [
8.0,
14.210332418
],
"radius_mm": 3.5,
"clockwise": false
},
{
"type": "line",
"start": [
8.0,
17.710332418
],
"end": [
-42.0,
17.710332418
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-42.0,
-11.441098675
],
"end": [
-42.0,
-18.441098675
],
"center": [
-42.0,
-14.941098675
],
"radius_mm": 3.5,
"clockwise": false
},
{
"type": "line",
"start": [
-42.0,
-18.441098675
],
"end": [
8.0,
-18.441098675
]
},
{
"type": "arc",
"start": [
8.0,
-18.441098675
],
"end": [
8.0,
-11.441098675
],
"center": [
8.0,
-14.941098675
],
"radius_mm": 3.5,
"clockwise": false
},
{
"type": "line",
"start": [
8.0,
-11.441098675
],
"end": [
-42.0,
-11.441098675
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-42.0,
14.210332418
],
"end": [
8.0,
14.210332418
]
},
{
"type": "line",
"start": [
-42.0,
-14.941098675
],
"end": [
8.0,
-14.941098675
]
}
]
}
}
]
},
"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_001",
"f_003",
"f_002"
],
"params": {
"distance_mm": 45.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "大小mm 暗销孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "暗销孔",
"diameter_mm": 4.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
17.0,
-17.5,
0.0
]
},
{
"mm": [
7.0,
6.2,
0.0
]
},
{
"mm": [
-3.0,
-17.5,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "倒角2",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 2.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "倒角3",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 3.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 16.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_009",
"name": "倒角4",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 3.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "倒角5",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 3.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "175717.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.11823481752267068,
"volume": 0.00011823481752267067,
"surface_area": 0.03316711820781212,
"center_of_mass": [
0.02589693060568004,
-0.06082529649507641,
-5.15956196714768e-05
],
"principal_moments": [
9.276439221744575e-05,
0.00036338689529257683,
0.0004172197942317632
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.05,
-0.14233401679929447,
-0.0225,
0.05000000000000003,
1.3877787807814457e-17,
0.0225
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角5",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABwAAAAbAAAAGoAAAA=",
"persist_reference_sha256": "7a487e3bd9ccc92db8758106a14c2195ebc06c1c40b19f245b521bc47dd690f1",
"component": null,
"geometry": {
"box": [
-0.05,
-0.14233401679929444,
-0.0225,
0.050000000000000024,
1.3103720750876687e-17,
0.0225
],
"face_count": 27,
"edge_count": 72,
"vertex_count": 44
},
"stable_id": "7a487e3bd9ccc92db8758106a14c2195ebc06c1c40b19f245b521bc47dd690f1"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 32,
"surface_counts": {
"cylinder": 12,
"plane": 20
},
"axis_count": 12,
"repeat_spacings_mm": [
{
"spacing_mm": 29.1514,
"pair_count": 2
},
{
"spacing_mm": 57.8775,
"pair_count": 2
},
{
"spacing_mm": 50.0,
"pair_count": 2
},
{
"spacing_mm": 25.7233,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-50.0,
-142.334016799,
-22.5,
50.0,
0.0,
22.5
],
"volume_mm3": 118234.817522671,
"surface_area_mm2": 33167.118207812,
"solid_count": 1,
"face_count": 32,
"edge_count": 90,
"vertex_count": 60
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-50.0,
-142.334016799,
-22.5,
50.0,
0.0,
22.5
],
"volume_mm3": 118234.817522671,
"surface_area_mm2": 33167.118207812,
"solid_count": 1,
"face_count": 27,
"edge_count": 72,
"vertex_count": 44
},
"comparisons": {
"volume_mm3": {
"expected": 118234.817522671,
"actual": 118234.817522671,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 33167.118207812,
"actual": 33167.118207812,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-50.0,
-142.334016799,
-22.5,
50.0,
0.0,
22.5
],
"actual": [
-50.0,
-142.334016799,
-22.5,
50.0,
0.0,
22.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 27,
"actual": 32,
"matches": false
},
"edge_count": {
"expected": 72,
"actual": 90,
"matches": false
},
"vertex_count": {
"expected": 44,
"actual": 60,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}