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

833 lines
18 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "001607",
"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": [
-10.0,
51.75
],
"end": [
10.0,
51.75
]
},
{
"type": "line",
"start": [
10.0,
51.75
],
"end": [
10.0,
-51.75
]
},
{
"type": "line",
"start": [
10.0,
-51.75
],
"end": [
-10.0,
-51.75
]
},
{
"type": "line",
"start": [
-10.0,
-51.75
],
"end": [
-10.0,
51.75
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-10.0,
51.75
],
"end": [
10.0,
-51.75
]
},
{
"type": "line",
"start": [
-10.0,
-51.75
],
"end": [
10.0,
51.75
]
}
]
}
},
{
"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": "circles",
"items": [
{
"center": [
-30.0,
-43.75
],
"radius_mm": 5.0
},
{
"center": [
-30.0,
-31.75
],
"radius_mm": 5.0
}
]
}
},
{
"id": "sk_004",
"name": "草图7",
"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": "line",
"start": [
-47.0,
51.75
],
"end": [
-20.0,
51.75
]
},
{
"type": "line",
"start": [
-20.0,
51.75
],
"end": [
-20.0,
-21.75
]
},
{
"type": "line",
"start": [
-20.0,
-21.75
],
"end": [
-47.0,
-21.75
]
},
{
"type": "line",
"start": [
-47.0,
-21.75
],
"end": [
-47.0,
51.75
]
}
]
}
]
}
}
]
},
"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": 47.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": "切除-拉伸1",
"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": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "M4 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 12.28009534,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-5.0,
-32.75,
0.0
]
},
{
"mm": [
5.0,
-32.75,
0.0
]
},
{
"mm": [
-5.0,
-43.75,
0.0
]
},
{
"mm": [
5.0,
-43.75,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 12.28009534,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-b5e031cd2970c7e902f76f5c",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-10.0,
-51.75,
0.0,
10.0,
51.75,
0.0
],
"center_mm": [
-0.0,
-1.551670311,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-b5e031cd2970c7e902f76f5c",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-10.0,
-51.75,
0.0,
10.0,
51.75,
0.0
],
"center_mm": [
-0.0,
-1.551670311,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_007",
"name": "Ø8.5 (8.5) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 8.5,
"depth_mm": 47.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
0.0,
41.75,
0.0
]
},
{
"mm": [
0.0,
11.75,
0.0
]
}
],
"host_face": {
"kind": "face",
"stable_id": "step-face-b5e031cd2970c7e902f76f5c",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-10.0,
-51.75,
0.0,
10.0,
51.75,
0.0
],
"center_mm": [
-0.0,
-1.551670311,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-b5e031cd2970c7e902f76f5c",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-10.0,
-51.75,
0.0,
10.0,
51.75,
0.0
],
"center_mm": [
-0.0,
-1.551670311,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_008",
"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"
},
{
"id": "f_009",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_008"
],
"params": {
"radius_mm": 10.0,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "001607.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.052203179717894024,
"volume": 5.2203179717894024e-05,
"surface_area": 0.013957094200859135,
"center_of_mass": [
-3.479499386268348e-09,
-0.010152541696127617,
0.01594390197164697
],
"principal_moments": [
8.00415809399122e-06,
5.0853099219689616e-05,
5.523987760164209e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.010000000000000021,
-0.05175,
0.0,
0.010000000000000004,
0.05175,
0.047
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "圆角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABpAAAAaAAAAGcAAABmAAAAZQAAAA==",
"persist_reference_sha256": "7b9beb7191e2f2f986d9a7b22a4512f3e28e743aa2dbab2d3a652e6815df3f83",
"component": null,
"geometry": {
"box": [
-0.010000000000000021,
-0.05175,
0.0,
0.010000000000000004,
0.05175,
0.047
],
"face_count": 17,
"edge_count": 37,
"vertex_count": 14
},
"stable_id": "7b9beb7191e2f2f986d9a7b22a4512f3e28e743aa2dbab2d3a652e6815df3f83"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 25,
"surface_counts": {
"cylinder": 17,
"plane": 8
},
"axis_count": 17,
"repeat_spacings_mm": [
{
"spacing_mm": 74.6676,
"pair_count": 2
},
{
"spacing_mm": 85.6461,
"pair_count": 2
},
{
"spacing_mm": 44.78,
"pair_count": 2
},
{
"spacing_mm": 55.7248,
"pair_count": 2
},
{
"spacing_mm": 10.0,
"pair_count": 2
},
{
"spacing_mm": 11.0,
"pair_count": 2
},
{
"spacing_mm": 14.8661,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-10.0000001,
-51.75,
0.0,
10.0000001,
51.75,
47.0000001
],
"volume_mm3": 52203.099025181,
"surface_area_mm2": 13957.094097442,
"solid_count": 1,
"face_count": 25,
"edge_count": 69,
"vertex_count": 46
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-10.0,
-51.75,
0.0,
10.0,
51.75,
47.0
],
"volume_mm3": 52203.179717894,
"surface_area_mm2": 13957.094200859,
"solid_count": 1,
"face_count": 17,
"edge_count": 37,
"vertex_count": 14
},
"comparisons": {
"volume_mm3": {
"expected": 52203.179717894,
"actual": 52203.099025181,
"absolute_delta": 0.08069271300337277,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 13957.094200859,
"actual": 13957.094097442,
"absolute_delta": 0.00010341699999116827,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-10.0,
-51.75,
0.0,
10.0,
51.75,
47.0
],
"actual": [
-10.0000001,
-51.75,
0.0,
10.0000001,
51.75,
47.0000001
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 17,
"actual": 25,
"matches": false
},
"edge_count": {
"expected": 37,
"actual": 69,
"matches": false
},
"vertex_count": {
"expected": 14,
"actual": 46,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}