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

847 lines
18 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "189580",
"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": [
0.0,
0.0
],
"end": [
0.0,
215.5
]
},
{
"type": "line",
"start": [
0.0,
215.5
],
"end": [
35.0,
215.5
]
},
{
"type": "line",
"start": [
35.0,
215.5
],
"end": [
35.0,
129.5
]
},
{
"type": "line",
"start": [
35.0,
129.5
],
"end": [
60.0,
129.5
]
},
{
"type": "line",
"start": [
60.0,
129.5
],
"end": [
60.0,
0.0
]
},
{
"type": "line",
"start": [
60.0,
0.0
],
"end": [
0.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图4",
"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": [],
"construction": [
{
"type": "line",
"start": [
200.0,
172.5
],
"end": [
0.0,
172.5
]
},
{
"type": "line",
"start": [
200.0,
142.5
],
"end": [
0.0,
142.5
]
},
{
"type": "line",
"start": [
200.0,
202.5
],
"end": [
0.0,
202.5
]
},
{
"type": "line",
"start": [
100.0,
215.5
],
"end": [
100.0,
-0.0
]
},
{
"type": "line",
"start": [
60.0,
215.5
],
"end": [
60.0,
-0.0
]
},
{
"type": "line",
"start": [
140.0,
215.5
],
"end": [
140.0,
-0.0
]
}
]
}
},
{
"id": "sk_004",
"name": "草图8",
"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": [
0.0,
129.5
],
"end": [
0.0,
215.5
]
},
{
"type": "line",
"start": [
0.0,
215.5
],
"end": [
-200.0,
215.5
]
},
{
"type": "line",
"start": [
-200.0,
215.5
],
"end": [
-200.0,
129.5
]
},
{
"type": "line",
"start": [
-200.0,
129.5
],
"end": [
0.0,
129.5
]
}
]
}
]
}
}
]
},
"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": 200.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_006",
"name": "打孔尺寸(%根据)内六角圆柱头螺钉的类型1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001"
],
"params": {
"hole_type": "内六角圆柱头螺钉 GB/T 70.1-2000",
"diameter_mm": 11.0,
"depth_mm": 60.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
0.0,
202.5,
60.0
]
},
{
"mm": [
0.0,
172.5,
60.0
]
},
{
"mm": [
0.0,
142.5,
60.0
]
},
{
"mm": [
0.0,
142.5,
140.0
]
},
{
"mm": [
0.0,
172.5,
140.0
]
},
{
"mm": [
0.0,
202.5,
140.0
]
}
],
"counterbore": {
"diameter_mm": 18.0,
"depth_mm": 11.0
},
"host_face": {
"kind": "face",
"stable_id": "step-face-0a260e96d013c69382717476",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
20.0,
10.0,
0.0,
215.5,
190.0
],
"center_mm": [
0.0,
117.75,
100.0
],
"normal": [
-1.0,
-0.0,
-0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-0a260e96d013c69382717476",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
20.0,
10.0,
0.0,
215.5,
190.0
],
"center_mm": [
0.0,
117.75,
100.0
],
"normal": [
-1.0,
-0.0,
-0.0
],
"surface_type": "plane"
}
}
]
},
{
"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": "M10 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 10.0,
"depth_mm": 40.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
21.0,
-40.0,
0.0
]
},
{
"mm": [
21.0,
-100.0,
0.0
]
},
{
"mm": [
21.0,
-160.0,
0.0
]
}
],
"thread": {
"diameter_mm": 10.0,
"depth_mm": 40.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 20.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4,
"reference": {
"kind": "face",
"stable_id": "797227621bb10d9ed6360d927a6edb8e06f7dd44631881140e708a63f1da7089",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-1.0,
-1.0716438461632786e-16,
0.0,
0.06,
0.1295,
0.2
]
},
"box": [
0.06,
0.019999999999999962,
0.0,
0.06000000000000001,
0.1295,
0.2
],
"area": 0.02190000000000001
}
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_009",
"name": "倒角2",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 10.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "189580.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 19.391710000000003,
"volume": 0.002486116666666667,
"surface_area": 0.12808328352786355,
"center_of_mass": [
0.030213049803240667,
0.11093619399733189,
0.1
],
"principal_moments": [
0.06929132264148014,
0.07653847340589708,
0.13465813576441696
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
0.0,
0.0,
0.06000000000000005,
0.2155,
0.2
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABtAAAAagAAAA==",
"persist_reference_sha256": "8b8d14c1f97d0ee12aeb94e12535c5199451b94dccf6205f00cf968aa2f814ee",
"component": null,
"geometry": {
"box": [
0.0,
0.0,
0.0,
0.06000000000000005,
0.2155,
0.2
],
"face_count": 10,
"edge_count": 24,
"vertex_count": 16
},
"stable_id": "8b8d14c1f97d0ee12aeb94e12535c5199451b94dccf6205f00cf968aa2f814ee"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 10,
"surface_counts": {
"plane": 10
},
"axis_count": 0,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-0.0,
-0.0,
-0.0,
60.0,
215.5,
200.0
],
"volume_mm3": 2486116.666666666,
"surface_area_mm2": 128083.283527864,
"solid_count": 1,
"face_count": 10,
"edge_count": 24,
"vertex_count": 16
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
0.0,
0.0,
60.0,
215.5,
200.0
],
"volume_mm3": 2486116.666666667,
"surface_area_mm2": 128083.283527864,
"solid_count": 1,
"face_count": 10,
"edge_count": 24,
"vertex_count": 16
},
"comparisons": {
"volume_mm3": {
"expected": 2486116.666666667,
"actual": 2486116.666666666,
"absolute_delta": 9.313225746154785e-10,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 128083.283527864,
"actual": 128083.283527864,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
0.0,
0.0,
60.0,
215.5,
200.0
],
"actual": [
-0.0,
-0.0,
-0.0,
60.0,
215.5,
200.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 10,
"actual": 10,
"matches": true
},
"edge_count": {
"expected": 24,
"actual": 24,
"matches": true
},
"vertex_count": {
"expected": 16,
"actual": 16,
"matches": true
}
},
"numeric_geometry_match": true,
"topology_counts_match": true
}
},
"source_has_modeling_features": true
}
}