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

1043 lines
25 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "235084",
"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": [
431580.376945661,
61449.560592211
],
"end": [
431589.376945661,
61449.560592211
]
},
{
"type": "line",
"start": [
431589.376945661,
61449.560592211
],
"end": [
431589.376945661,
61574.560592211
]
},
{
"type": "line",
"start": [
431589.376945661,
61574.560592211
],
"end": [
431580.376945661,
61574.560592211
]
},
{
"type": "line",
"start": [
431580.376945661,
61574.560592211
],
"end": [
431580.376945661,
61515.060592211
]
},
{
"type": "line",
"start": [
431580.376945661,
61515.060592211
],
"end": [
431348.376945661,
61515.060592211
]
},
{
"type": "line",
"start": [
431348.376945661,
61515.060592211
],
"end": [
431348.376945661,
61574.560592211
]
},
{
"type": "line",
"start": [
431348.376945661,
61574.560592211
],
"end": [
431339.376945661,
61574.560592211
]
},
{
"type": "line",
"start": [
431339.376945661,
61574.560592211
],
"end": [
431339.376945661,
61449.560592211
]
},
{
"type": "line",
"start": [
431339.376945661,
61449.560592211
],
"end": [
431348.376945661,
61449.560592211
]
},
{
"type": "line",
"start": [
431348.376945661,
61449.560592211
],
"end": [
431348.376945661,
61509.060592211
]
},
{
"type": "line",
"start": [
431348.376945661,
61509.060592211
],
"end": [
431580.376945661,
61509.060592211
]
},
{
"type": "line",
"start": [
431580.376945661,
61509.060592211
],
"end": [
431580.376945661,
61449.560592211
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
0.0,
0.0,
-1.0
],
"y_dir": [
0.707106781,
0.0,
0.707106781
],
"normal": [
0.0,
-1.0,
0.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-61490.560592211,
1258.325
],
"end": [
-61468.560592211,
1258.325
],
"center": [
-61479.560592211,
1258.325
],
"radius_mm": 11.0,
"clockwise": false
},
{
"type": "line",
"start": [
-61468.560592211,
1258.325
],
"end": [
-61468.560592211,
1308.325
]
},
{
"type": "arc",
"start": [
-61468.560592211,
1308.325
],
"end": [
-61490.560592211,
1308.325
],
"center": [
-61479.560592211,
1308.325
],
"radius_mm": 11.0,
"clockwise": false
},
{
"type": "line",
"start": [
-61490.560592211,
1308.325
],
"end": [
-61490.560592211,
1258.325
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-61490.560592211,
816.675
],
"end": [
-61468.560592211,
816.675
],
"center": [
-61479.560592211,
816.675
],
"radius_mm": 11.0,
"clockwise": true
},
{
"type": "line",
"start": [
-61468.560592211,
816.675
],
"end": [
-61468.560592211,
766.675
]
},
{
"type": "arc",
"start": [
-61468.560592211,
766.675
],
"end": [
-61490.560592211,
766.675
],
"center": [
-61479.560592211,
766.675
],
"radius_mm": 11.0,
"clockwise": true
},
{
"type": "line",
"start": [
-61490.560592211,
766.675
],
"end": [
-61490.560592211,
816.675
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-61479.560592211,
1258.325
],
"end": [
-61479.560592211,
1308.325
]
},
{
"type": "line",
"start": [
-61449.560592211,
1037.5
],
"end": [
-61574.560592211,
1037.5
]
},
{
"type": "line",
"start": [
-61512.060592211,
0.0
],
"end": [
-61512.060592211,
2075.0
]
},
{
"type": "line",
"start": [
-61479.560592211,
816.675
],
"end": [
-61479.560592211,
766.675
]
}
]
}
},
{
"id": "sk_004",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
431339.376945661,
61574.560592211
],
"end": [
431348.376945661,
61574.560592211
]
},
{
"type": "line",
"start": [
431348.376945661,
61574.560592211
],
"end": [
431348.376945661,
61449.560592211
]
},
{
"type": "line",
"start": [
431348.376945661,
61449.560592211
],
"end": [
431339.376945661,
61449.560592211
]
},
{
"type": "line",
"start": [
431339.376945661,
61449.560592211
],
"end": [
431339.376945661,
61574.560592211
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
431580.376945661,
61574.560592211
],
"end": [
431589.376945661,
61574.560592211
]
},
{
"type": "line",
"start": [
431589.376945661,
61574.560592211
],
"end": [
431589.376945661,
61449.560592211
]
},
{
"type": "line",
"start": [
431589.376945661,
61449.560592211
],
"end": [
431580.376945661,
61449.560592211
]
},
{
"type": "line",
"start": [
431580.376945661,
61449.560592211
],
"end": [
431580.376945661,
61574.560592211
]
}
]
}
]
}
},
{
"id": "sk_005",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
431339.376945661,
-61449.560592211
],
"end": [
431348.376945661,
-61449.560592211
]
},
{
"type": "line",
"start": [
431348.376945661,
-61449.560592211
],
"end": [
431348.376945661,
-61574.560592211
]
},
{
"type": "line",
"start": [
431348.376945661,
-61574.560592211
],
"end": [
431339.376945661,
-61574.560592211
]
},
{
"type": "line",
"start": [
431339.376945661,
-61574.560592211
],
"end": [
431339.376945661,
-61449.560592211
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
431580.376945661,
-61449.560592211
],
"end": [
431589.376945661,
-61449.560592211
]
},
{
"type": "line",
"start": [
431589.376945661,
-61449.560592211
],
"end": [
431589.376945661,
-61574.560592211
]
},
{
"type": "line",
"start": [
431589.376945661,
-61574.560592211
],
"end": [
431580.376945661,
-61574.560592211
]
},
{
"type": "line",
"start": [
431580.376945661,
-61574.560592211
],
"end": [
431580.376945661,
-61449.560592211
]
}
]
}
]
}
}
]
},
"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": 2075.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 13.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 60.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 60.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
}
],
"meta": {
"unit": "mm",
"source": "235084.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 59.418499896984876,
"volume": 0.0075615296074084916,
"surface_area": 1.9595266051909455,
"center_of_mass": [
431.4648015168807,
1.0375000000000005,
-61.512175103120825
],
"principal_moments": [
0.6760945206622181,
20.033823231183025,
20.620036498779253
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
431.3393769456608,
0.0,
-61.57456059221087,
431.5893769456608,
2.075,
-61.44956059221087
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABtAAAAbAAAAGsAAABqAAAA",
"persist_reference_sha256": "0e172830ee09352a9c5b62835095238b0d4f99ee8e7c454e8cfc837ccc4cce30",
"component": null,
"geometry": {
"box": [
431.3393769456608,
0.0,
-61.57456059221087,
431.5893769456608,
2.075,
-61.44956059221087
],
"face_count": 34,
"edge_count": 88,
"vertex_count": 56
},
"stable_id": "0e172830ee09352a9c5b62835095238b0d4f99ee8e7c454e8cfc837ccc4cce30"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 34,
"surface_counts": {
"cylinder": 8,
"plane": 26
},
"axis_count": 8,
"repeat_spacings_mm": [
{
"spacing_mm": 206.0,
"pair_count": 2
},
{
"spacing_mm": 32.0,
"pair_count": 2
},
{
"spacing_mm": 208.4706,
"pair_count": 2
},
{
"spacing_mm": 50.0,
"pair_count": 2
},
{
"spacing_mm": 491.65,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
431339.376945661,
0.0,
-61574.560592211,
431589.376945661,
2075.0,
-61449.560592211
],
"volume_mm3": 7561529.607416101,
"surface_area_mm2": 1959526.605191195,
"solid_count": 1,
"face_count": 34,
"edge_count": 88,
"vertex_count": 56
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
431339.376945661,
0.0,
-61574.560592211,
431589.376945661,
2075.0,
-61449.560592211
],
"volume_mm3": 7561529.607408492,
"surface_area_mm2": 1959526.605190946,
"solid_count": 1,
"face_count": 34,
"edge_count": 88,
"vertex_count": 56
},
"comparisons": {
"volume_mm3": {
"expected": 7561529.607408492,
"actual": 7561529.607416101,
"absolute_delta": 7.6089054346084595e-06,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1959526.605190946,
"actual": 1959526.605191195,
"absolute_delta": 2.4889595806598663e-07,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
431339.376945661,
0.0,
-61574.560592211,
431589.376945661,
2075.0,
-61449.560592211
],
"actual": [
431339.376945661,
0.0,
-61574.560592211,
431589.376945661,
2075.0,
-61449.560592211
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 34,
"actual": 34,
"matches": true
},
"edge_count": {
"expected": 88,
"actual": 88,
"matches": true
},
"vertex_count": {
"expected": 56,
"actual": 56,
"matches": true
}
},
"numeric_geometry_match": true,
"topology_counts_match": true
}
},
"source_has_modeling_features": true
}
}