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

927 lines
20 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "004811",
"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": "arc",
"start": [
25.5,
-9.5
],
"end": [
25.5,
9.5
],
"center": [
25.5,
0.0
],
"radius_mm": 9.5,
"clockwise": false
},
{
"type": "line",
"start": [
25.5,
9.5
],
"end": [
0.0,
9.5
]
},
{
"type": "line",
"start": [
0.0,
9.5
],
"end": [
0.0,
-9.5
]
},
{
"type": "line",
"start": [
0.0,
-9.5
],
"end": [
25.5,
-9.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
25.5,
0.0
],
"radius_mm": 5.0
}
]
}
],
"construction": [
{
"type": "line",
"start": [
25.5,
9.5
],
"end": [
25.5,
-9.5
]
}
]
}
},
{
"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": [
0.0,
1.0
],
"end": [
22.003234821,
1.0
]
},
{
"type": "line",
"start": [
22.003234821,
1.0
],
"end": [
22.003234821,
-1.0
]
},
{
"type": "line",
"start": [
22.003234821,
-1.0
],
"end": [
0.0,
-1.0
]
},
{
"type": "line",
"start": [
0.0,
-1.0
],
"end": [
0.0,
1.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
9.5,
-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": "circles",
"items": [
{
"center": [
10.0,
15.0
],
"radius_mm": 6.5
},
{
"center": [
10.0,
-15.0
],
"radius_mm": 6.5
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"role": "profile",
"workplane": {
"origin_mm": [
-1.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": "circles",
"items": [
{
"center": [
10.0,
15.0
],
"radius_mm": 3.5
},
{
"center": [
10.0,
-15.0
],
"radius_mm": 3.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_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": 48.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"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": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all_both",
"solidworks_code": 2
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_010",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_001",
"f_004"
],
"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": 1,
"references": [
{
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
},
{
"kind": "feature",
"stable_id": "a1db80f54b7968833b3c4575d9741f2b033a1488d2e398295bb5beb935604c52",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "98f4962aa465197c5b5c4c439ef0e5502c3360d2f2edb175b73b618e0d73288b",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.025500000000000002,
0.024,
0.0,
0.0,
-1.0,
0.0,
0.0095
]
},
"box": [
0.025500000000000002,
-0.024,
-0.0095,
0.035,
0.024,
0.0095
],
"area": 0.0014325662500369457
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
},
{
"kind": "feature",
"stable_id": "a1db80f54b7968833b3c4575d9741f2b033a1488d2e398295bb5beb935604c52",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "98f4962aa465197c5b5c4c439ef0e5502c3360d2f2edb175b73b618e0d73288b",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.025500000000000002,
0.024,
0.0,
0.0,
-1.0,
0.0,
0.0095
]
},
"box": [
0.025500000000000002,
-0.024,
-0.0095,
0.035,
0.024,
0.0095
],
"area": 0.0014325662500369457
}
}
]
},
{
"id": "f_007",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_004",
"f_006"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all_both",
"solidworks_code": 2
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_011",
"name": "M5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_010"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 4.962379478,
"end_condition": {
"solidworks_code": 2,
"type": "through_all_both"
},
"positions": [
{
"mm": [
0.0,
14.0,
0.0
]
},
{
"mm": [
0.0,
-14.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 4.962379478,
"class": "1B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "打孔尺寸(%根据)内六角圆柱头螺钉的类型1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_007"
],
"params": {
"hole_type": "内六角圆柱头螺钉 GB/T 70.1-2000",
"diameter_mm": 7.0,
"depth_mm": 8.5,
"end_condition": {
"solidworks_code": 2,
"type": "through_all_both"
},
"positions": [
{
"mm": [
10.0,
0.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 6.0
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_009",
"name": "M6 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005",
"f_008"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 6.0,
"depth_mm": 8.5,
"end_condition": {
"solidworks_code": 2,
"type": "through_all_both"
},
"positions": [
{
"mm": [
10.0,
0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 8.5,
"class": ""
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "004811.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.020447934957225473,
"volume": 2.0447934957225473e-05,
"surface_area": 0.009830603359249764,
"center_of_mass": [
0.016603504536633958,
1.0306715995722064e-09,
-0.0005603498281949316
],
"principal_moments": [
2.7813616147974477e-06,
4.647170980517083e-06,
6.0513724003478544e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.024,
-0.009500000000000001,
0.035,
0.024,
0.009500000000000001
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M5 螺纹孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAAByAAAAcQAAAHAAAABvAAAAbgAAAG0AAABsAAAA",
"persist_reference_sha256": "95c3043132b99ac9f1f17134f580c4115e57a18ae216590da38d2da64baeb92f",
"component": null,
"geometry": {
"box": [
3.5485482897990014e-19,
-0.024,
-0.009500000000000001,
0.035,
0.024,
0.0095
],
"face_count": 28,
"edge_count": 66,
"vertex_count": 32
},
"stable_id": "95c3043132b99ac9f1f17134f580c4115e57a18ae216590da38d2da64baeb92f"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 41,
"surface_counts": {
"cylinder": 28,
"plane": 13
},
"axis_count": 28,
"repeat_spacings_mm": [
{
"spacing_mm": 28.6705,
"pair_count": 2
},
{
"spacing_mm": 30.1869,
"pair_count": 2
},
{
"spacing_mm": 39.4496,
"pair_count": 2
},
{
"spacing_mm": 26.7632,
"pair_count": 2
},
{
"spacing_mm": 17.2414,
"pair_count": 2
},
{
"spacing_mm": 24.2082,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
0.0,
-24.0000001,
-9.5000001,
35.0000001,
24.0000001,
9.5000001
],
"volume_mm3": 20447.912755227,
"surface_area_mm2": 9830.575568924,
"solid_count": 1,
"face_count": 41,
"edge_count": 114,
"vertex_count": 76
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-24.0,
-9.5,
35.0,
24.0,
9.5
],
"volume_mm3": 20447.934957225,
"surface_area_mm2": 9830.60335925,
"solid_count": 1,
"face_count": 28,
"edge_count": 66,
"vertex_count": 32
},
"comparisons": {
"volume_mm3": {
"expected": 20447.934957225,
"actual": 20447.912755227,
"absolute_delta": 0.022201997999218293,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 9830.60335925,
"actual": 9830.575568924,
"absolute_delta": 0.027790326001195353,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-24.0,
-9.5,
35.0,
24.0,
9.5
],
"actual": [
0.0,
-24.0000001,
-9.5000001,
35.0000001,
24.0000001,
9.5000001
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 28,
"actual": 41,
"matches": false
},
"edge_count": {
"expected": 66,
"actual": 114,
"matches": false
},
"vertex_count": {
"expected": 32,
"actual": 76,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}