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

672 lines
15 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "136861",
"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": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-125.0,
400.0
],
"end": [
125.0,
400.0
]
},
{
"type": "line",
"start": [
125.0,
400.0
],
"end": [
125.0,
-400.0
]
},
{
"type": "line",
"start": [
125.0,
-400.0
],
"end": [
-125.0,
-400.0
]
},
{
"type": "line",
"start": [
-125.0,
-400.0
],
"end": [
-125.0,
400.0
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-155.0,
430.0
],
"end": [
155.0,
430.0
]
},
{
"type": "line",
"start": [
155.0,
430.0
],
"end": [
155.0,
-430.0
]
},
{
"type": "line",
"start": [
155.0,
-430.0
],
"end": [
-155.0,
-430.0
]
},
{
"type": "line",
"start": [
-155.0,
-430.0
],
"end": [
-155.0,
430.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-155.0,
430.0
],
"end": [
155.0,
-430.0
]
},
{
"type": "line",
"start": [
-155.0,
-430.0
],
"end": [
155.0,
430.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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,
400.0
],
"end": [
125.0,
400.0
]
},
{
"type": "line",
"start": [
125.0,
400.0
],
"end": [
125.0,
-400.0
]
},
{
"type": "line",
"start": [
125.0,
-400.0
],
"end": [
-125.0,
-400.0
]
},
{
"type": "line",
"start": [
-125.0,
-400.0
],
"end": [
-125.0,
400.0
]
}
]
}
]
}
},
{
"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": "circles",
"items": [
{
"center": [
-140.0,
72.0
],
"radius_mm": 2.0
},
{
"center": [
-140.0,
-72.0
],
"radius_mm": 2.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_two_sided",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 7.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
},
"reverse_distance_mm": 7.5,
"reverse_end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_two_sided",
"depends_on": [
"f_002",
"f_004"
],
"params": {
"distance_mm": 2.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
},
"reverse_distance_mm": 2.5,
"reverse_end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 105.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
}
],
"meta": {
"unit": "mm",
"source": "136861.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 1.99862300888157,
"volume": 0.0019986230088815697,
"surface_area": 0.6106267256359733,
"center_of_mass": [
2.6407559777797733e-05,
1.7029788104935505e-19,
-5.4685056217181227e-17
],
"principal_moments": [
0.021622075051412608,
0.13982388614913355,
0.16140434617104735
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.15500000000000005,
-0.007500000000000007,
-0.43000000000000005,
0.15500000000000005,
0.0075,
0.42999999999999994
],
"solid_body_count": 2,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABsAAAAagAAAA==",
"persist_reference_sha256": "52b7c047d5d59e20e20d4798ab205eb0e937a23d9ed63240a3f0ba7f5748286d",
"component": null,
"geometry": {
"box": [
-0.15500000000000005,
-0.007500000000000007,
-0.43000000000000005,
0.15500000000000005,
0.0075,
0.42999999999999994
],
"face_count": 12,
"edge_count": 28,
"vertex_count": 16
},
"stable_id": "52b7c047d5d59e20e20d4798ab205eb0e937a23d9ed63240a3f0ba7f5748286d"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "凸台-拉伸2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABrAAAA",
"persist_reference_sha256": "2f3b50beba037e4791e16aa0ab7fb1c99698947dcdf892206241c7d1823ca6e2",
"component": null,
"geometry": {
"box": [
-0.12500000000000006,
-0.0025,
-0.4,
0.12500000000000006,
0.0025,
0.3999999999999999
],
"face_count": 6,
"edge_count": 12,
"vertex_count": 8
},
"stable_id": "2f3b50beba037e4791e16aa0ab7fb1c99698947dcdf892206241c7d1823ca6e2"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 20,
"surface_counts": {
"cylinder": 4,
"plane": 16
},
"axis_count": 4,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-155.0,
-7.5,
-430.0,
155.0,
7.5,
430.0
],
"volume_mm3": 1998623.008881569,
"surface_area_mm2": 610626.725635973,
"solid_count": 2,
"face_count": 20,
"edge_count": 48,
"vertex_count": 32
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-155.0,
-7.5,
-430.0,
155.0,
7.5,
430.0
],
"volume_mm3": 1998623.00888157,
"surface_area_mm2": 610626.725635973,
"solid_count": 2,
"face_count": 18,
"edge_count": 40,
"vertex_count": 24
},
"comparisons": {
"volume_mm3": {
"expected": 1998623.00888157,
"actual": 1998623.008881569,
"absolute_delta": 1.1641532182693481e-09,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 610626.725635973,
"actual": 610626.725635973,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-155.0,
-7.5,
-430.0,
155.0,
7.5,
430.0
],
"actual": [
-155.0,
-7.5,
-430.0,
155.0,
7.5,
430.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 2,
"actual": 2,
"matches": true
},
"face_count": {
"expected": 18,
"actual": 20,
"matches": false
},
"edge_count": {
"expected": 40,
"actual": 48,
"matches": false
},
"vertex_count": {
"expected": 24,
"actual": 32,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}