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

807 lines
18 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "190366",
"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": [
-9.0,
62.5
],
"end": [
9.0,
62.5
]
},
{
"type": "line",
"start": [
9.0,
62.5
],
"end": [
9.0,
-62.5
]
},
{
"type": "line",
"start": [
9.0,
-62.5
],
"end": [
-9.0,
-62.5
]
},
{
"type": "line",
"start": [
-9.0,
-62.5
],
"end": [
-9.0,
62.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-9.0,
0.0
],
"end": [
9.0,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图10",
"role": "profile",
"workplane": {
"origin_mm": [
15.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": "arc",
"start": [
2.1,
12.5
],
"end": [
-2.1,
12.5
],
"center": [
0.0,
12.5
],
"radius_mm": 2.1,
"clockwise": false
},
{
"type": "line",
"start": [
-2.1,
12.5
],
"end": [
-2.1,
-52.5
]
},
{
"type": "arc",
"start": [
-2.1,
-52.5
],
"end": [
2.1,
-52.5
],
"center": [
-0.0,
-52.5
],
"radius_mm": 2.1,
"clockwise": false
},
{
"type": "line",
"start": [
2.1,
-52.5
],
"end": [
2.1,
12.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-0.0,
-52.5
],
"end": [
-0.0,
-72.492206825
]
}
]
}
},
{
"id": "sk_004",
"name": "草图13",
"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": [
15.0,
22.5
],
"end": [
11.0,
22.5
]
},
{
"type": "line",
"start": [
11.0,
22.5
],
"end": [
11.0,
-42.5
]
},
{
"type": "line",
"start": [
11.0,
-42.5
],
"end": [
15.0,
-42.5
]
},
{
"type": "line",
"start": [
15.0,
-42.5
],
"end": [
15.0,
22.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": 15.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": "切除-拉伸3",
"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": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "打孔尺寸根据内六角圆柱头螺钉的类型1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "内六角圆柱头螺钉 GB/T 70.1-2000",
"diameter_mm": 4.5,
"depth_mm": 18.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-5.0,
22.5,
0.0
]
},
{
"mm": [
-5.0,
52.5,
0.0
]
}
],
"counterbore": {
"diameter_mm": 8.0,
"depth_mm": 4.6
},
"host_face": {
"kind": "face",
"stable_id": "step-face-57b7f67a91c6d68c1e23bb53",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-8.5,
-62.0,
0.0,
8.5,
62.0,
0.0
],
"center_mm": [
-0.0,
3.150263519,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-57b7f67a91c6d68c1e23bb53",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-8.5,
-62.0,
0.0,
8.5,
62.0,
0.0
],
"center_mm": [
-0.0,
3.150263519,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_008",
"name": "切除-拉伸4",
"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": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "镜向1",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_006",
"f_003"
],
"params": {
"source_feature_ids": [
"f_006"
],
"mirror_plane": {
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
{
"id": "f_009",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004",
"f_008"
],
"params": {
"distance_mm": 0.5,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "190366.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.06596356511839867,
"volume": 2.443095004385136e-05,
"surface_area": 0.009954954234611676,
"center_of_mass": [
-2.2007633644799053e-19,
0.0030392170339826555,
0.006785263698202363
],
"principal_moments": [
3.0582721945937546e-06,
9.974782683054742e-05,
0.00010062742427104311
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.009,
-0.0625,
0.0,
0.009,
0.0625,
0.015
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAAB3AAAAdQAAAHQAAABrAAAAZQAAAA==",
"persist_reference_sha256": "ded51aaed94bc2087e93b5ceec1670d892da186407a688013f2501295560ec84",
"component": null,
"geometry": {
"box": [
-0.009,
-0.0625,
0.0,
0.009,
0.0625,
0.015
],
"face_count": 56,
"edge_count": 113,
"vertex_count": 56
},
"stable_id": "ded51aaed94bc2087e93b5ceec1670d892da186407a688013f2501295560ec84"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 62,
"surface_counts": {
"cylinder": 14,
"plane": 48
},
"axis_count": 14,
"repeat_spacings_mm": [
{
"spacing_mm": 30.0,
"pair_count": 2
},
{
"spacing_mm": 18.0,
"pair_count": 2
},
{
"spacing_mm": 34.9857,
"pair_count": 2
},
{
"spacing_mm": 14.3527,
"pair_count": 2
},
{
"spacing_mm": 75.7034,
"pair_count": 2
},
{
"spacing_mm": 41.3038,
"pair_count": 2
},
{
"spacing_mm": 105.5036,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-9.0,
-62.5,
-0.0,
9.0,
62.5,
15.0
],
"volume_mm3": 24430.950043851,
"surface_area_mm2": 9954.954234612,
"solid_count": 1,
"face_count": 62,
"edge_count": 137,
"vertex_count": 80
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-9.0,
-62.5,
0.0,
9.0,
62.5,
15.0
],
"volume_mm3": 24430.950043851,
"surface_area_mm2": 9954.954234612,
"solid_count": 1,
"face_count": 56,
"edge_count": 113,
"vertex_count": 56
},
"comparisons": {
"volume_mm3": {
"expected": 24430.950043851,
"actual": 24430.950043851,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 9954.954234612,
"actual": 9954.954234612,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-9.0,
-62.5,
0.0,
9.0,
62.5,
15.0
],
"actual": [
-9.0,
-62.5,
-0.0,
9.0,
62.5,
15.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 56,
"actual": 62,
"matches": false
},
"edge_count": {
"expected": 113,
"actual": 137,
"matches": false
},
"vertex_count": {
"expected": 56,
"actual": 80,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}