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

989 lines
21 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "071632",
"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": [
-40.0,
250.0
],
"end": [
40.0,
250.0
]
},
{
"type": "line",
"start": [
40.0,
250.0
],
"end": [
40.0,
-250.0
]
},
{
"type": "line",
"start": [
40.0,
-250.0
],
"end": [
-40.0,
-250.0
]
},
{
"type": "line",
"start": [
-40.0,
-250.0
],
"end": [
-40.0,
250.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-40.0,
250.0
],
"end": [
40.0,
-250.0
]
},
{
"type": "line",
"start": [
-40.0,
-250.0
],
"end": [
40.0,
250.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草圖8",
"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": "circles",
"items": [
{
"center": [
-0.0,
40.0
],
"radius_mm": 8.0
},
{
"center": [
-0.0,
90.0
],
"radius_mm": 8.0
},
{
"center": [
-0.0,
140.0
],
"radius_mm": 8.0
},
{
"center": [
-0.0,
190.0
],
"radius_mm": 8.0
}
]
}
},
{
"id": "sk_004",
"name": "草圖9",
"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": "circles",
"items": [
{
"center": [
-0.0,
190.0
],
"radius_mm": 11.0
},
{
"center": [
-0.0,
140.0
],
"radius_mm": 11.0
},
{
"center": [
-0.0,
90.0
],
"radius_mm": 11.0
},
{
"center": [
-0.0,
40.0
],
"radius_mm": 11.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_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",
"unresolved": [
"missing source sketch parent"
]
},
{
"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": "M4 凹頭蓋螺釘的柱孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "承窩頭頂蓋 - ANSI B18.3.1M",
"diameter_mm": 4.5,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-30.0,
-242.5,
0.0
]
},
{
"mm": [
30.0,
-242.5,
0.0
]
},
{
"mm": [
-30.0,
242.5,
0.0
]
},
{
"mm": [
30.0,
242.5,
0.0
]
}
],
"counterbore": {
"diameter_mm": 8.0,
"depth_mm": 4.0
},
"host_face": {
"kind": "face",
"stable_id": "step-face-c9f8debff5bf9e268f985a9a",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-40.0,
-250.0,
0.0,
40.0,
250.0,
0.0
],
"center_mm": [
0.0,
-4.568138012,
0.0
],
"normal": [
-0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-c9f8debff5bf9e268f985a9a",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-40.0,
-250.0,
0.0,
40.0,
250.0,
0.0
],
"center_mm": [
0.0,
-4.568138012,
0.0
],
"normal": [
-0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_006",
"name": "M4x0.7 螺紋孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺紋孔",
"diameter_mm": 4.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
7.5,
180.0,
0.0
]
},
{
"mm": [
7.5,
-180.0,
0.0
]
},
{
"mm": [
7.5,
-60.0,
0.0
]
},
{
"mm": [
7.5,
60.0,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 8.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-c9f8debff5bf9e268f985a9a",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-40.0,
-250.0,
0.0,
40.0,
250.0,
0.0
],
"center_mm": [
0.0,
-4.568138012,
0.0
],
"normal": [
-0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-c9f8debff5bf9e268f985a9a",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-40.0,
-250.0,
0.0,
40.0,
250.0,
0.0
],
"center_mm": [
0.0,
-4.568138012,
0.0
],
"normal": [
-0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_007",
"name": "M4x0.7 螺紋孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺紋孔",
"diameter_mm": 4.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-7.5,
180.0,
0.0
]
},
{
"mm": [
-7.5,
-60.0,
0.0
]
},
{
"mm": [
-7.5,
-180.0,
0.0
]
},
{
"mm": [
-7.5,
60.0,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 8.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-c9f8debff5bf9e268f985a9a",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-40.0,
-250.0,
0.0,
40.0,
250.0,
0.0
],
"center_mm": [
0.0,
-4.568138012,
0.0
],
"normal": [
-0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-c9f8debff5bf9e268f985a9a",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-40.0,
-250.0,
0.0,
40.0,
250.0,
0.0
],
"center_mm": [
0.0,
-4.568138012,
0.0
],
"normal": [
-0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_008",
"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",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_009",
"name": "除料-伸長2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_008"
],
"params": {
"distance_mm": 5.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_010",
"name": "除料-伸長3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_008"
],
"params": {
"distance_mm": 6.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"unresolved": [
"missing source sketch parent"
]
}
],
"meta": {
"unit": "mm",
"source": "071632.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.5778394388125223,
"volume": 0.0005778394388125223,
"surface_area": 0.10138281464201632,
"center_of_mass": [
7.45228739760844e-18,
-0.003968966662584901,
0.007502753734986162
],
"principal_moments": [
0.00032800606507819494,
0.01207376804585523,
0.012380191821138194
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.04000000000000002,
-0.2500000000000001,
0.0,
0.04000000000000005,
0.24999999999999992,
0.015
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "除料-伸長3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAABwAAAAbwAAAG4AAABrAAAAagAAAGYAAABlAAAA",
"persist_reference_sha256": "393efea9514357ac1d58cfe9c96283f5b485213a0fcdf0c0b0bbf92677e222c7",
"component": null,
"geometry": {
"box": [
-0.04000000000000002,
-0.2500000000000001,
0.0,
0.04000000000000004,
0.24999999999999992,
0.015
],
"face_count": 54,
"edge_count": 68,
"vertex_count": 16
},
"stable_id": "393efea9514357ac1d58cfe9c96283f5b485213a0fcdf0c0b0bbf92677e222c7"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 90,
"surface_counts": {
"cone": 16,
"cylinder": 56,
"plane": 18
},
"axis_count": 72,
"repeat_spacings_mm": [
{
"spacing_mm": 120.0,
"pair_count": 12
},
{
"spacing_mm": 120.4243,
"pair_count": 12
},
{
"spacing_mm": 138.8741,
"pair_count": 12
},
{
"spacing_mm": 50.0,
"pair_count": 9
},
{
"spacing_mm": 10.1,
"pair_count": 8
},
{
"spacing_mm": 240.0,
"pair_count": 8
},
{
"spacing_mm": 240.2124,
"pair_count": 8
},
{
"spacing_mm": 69.9,
"pair_count": 8
},
{
"spacing_mm": 249.972,
"pair_count": 8
},
{
"spacing_mm": 100.0,
"pair_count": 6
},
{
"spacing_mm": 50.1597,
"pair_count": 6
},
{
"spacing_mm": 50.3587,
"pair_count": 6
}
],
"metrics": {
"bounding_box_mm": [
-40.0,
-250.0,
0.0,
40.0,
250.0,
15.0
],
"volume_mm3": 577839.438812522,
"surface_area_mm2": 101382.814642016,
"solid_count": 1,
"face_count": 90,
"edge_count": 196,
"vertex_count": 128
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-40.0,
-250.0,
0.0,
40.0,
250.0,
15.0
],
"volume_mm3": 577839.438812522,
"surface_area_mm2": 101382.814642016,
"solid_count": 1,
"face_count": 54,
"edge_count": 68,
"vertex_count": 16
},
"comparisons": {
"volume_mm3": {
"expected": 577839.438812522,
"actual": 577839.438812522,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 101382.814642016,
"actual": 101382.814642016,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-40.0,
-250.0,
0.0,
40.0,
250.0,
15.0
],
"actual": [
-40.0,
-250.0,
0.0,
40.0,
250.0,
15.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 54,
"actual": 90,
"matches": false
},
"edge_count": {
"expected": 68,
"actual": 196,
"matches": false
},
"vertex_count": {
"expected": 16,
"actual": 128,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}