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

1523 lines
33 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "128444",
"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": [
270.0,
-80.0
],
"end": [
-270.0,
-80.0
]
},
{
"type": "line",
"start": [
-270.0,
-80.0
],
"end": [
-270.0,
80.0
]
},
{
"type": "line",
"start": [
-270.0,
80.0
],
"end": [
270.0,
80.0
]
},
{
"type": "line",
"start": [
270.0,
80.0
],
"end": [
270.0,
-80.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
270.0,
-80.0
],
"end": [
-270.0,
80.0
]
},
{
"type": "line",
"start": [
270.0,
80.0
],
"end": [
-270.0,
-80.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草圖2",
"role": "profile",
"workplane": {
"origin_mm": [
10.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": [
85.0,
5.0
],
"radius_mm": 6.0
},
{
"center": [
-5.0,
-65.0
],
"radius_mm": 6.0
},
{
"center": [
85.0,
-65.0
],
"radius_mm": 6.0
}
]
}
},
{
"id": "sk_004",
"name": "草圖3",
"role": "profile",
"workplane": {
"origin_mm": [
5.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": [
5.0,
-65.0
],
"radius_mm": 3.5
},
{
"center": [
-85.0,
5.0
],
"radius_mm": 3.5
},
{
"center": [
-85.0,
-65.0
],
"radius_mm": 3.5
}
]
}
},
{
"id": "sk_005",
"name": "草圖11",
"role": "profile",
"workplane": {
"origin_mm": [
10.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": [
246.75,
70.0
],
"end": [
253.25,
70.0
]
},
{
"type": "line",
"start": [
253.25,
70.0
],
"end": [
253.25,
50.0
]
},
{
"type": "line",
"start": [
253.25,
50.0
],
"end": [
246.75,
50.0
]
},
{
"type": "line",
"start": [
246.75,
50.0
],
"end": [
246.75,
70.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
246.75,
70.0
],
"end": [
253.25,
50.0
]
},
{
"type": "line",
"start": [
246.75,
50.0
],
"end": [
253.25,
70.0
]
}
]
}
},
{
"id": "sk_006",
"name": "草圖12",
"role": "profile",
"workplane": {
"origin_mm": [
10.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": [
-270.0,
-80.0
],
"end": [
-140.0,
-80.0
]
},
{
"type": "line",
"start": [
-140.0,
-80.0
],
"end": [
-140.0,
-30.0
]
},
{
"type": "line",
"start": [
-140.0,
-30.0
],
"end": [
-270.0,
-30.0
]
},
{
"type": "line",
"start": [
-270.0,
-30.0
],
"end": [
-270.0,
-80.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
270.0,
-80.0
],
"end": [
140.0,
-80.0
]
},
{
"type": "line",
"start": [
140.0,
-80.0
],
"end": [
140.0,
-30.0
]
},
{
"type": "line",
"start": [
140.0,
-30.0
],
"end": [
270.0,
-30.0
]
},
{
"type": "line",
"start": [
270.0,
-30.0
],
"end": [
270.0,
-80.0
]
}
]
}
]
}
},
{
"id": "sk_007",
"name": "草圖10",
"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": [
-270.0,
80.0
],
"end": [
-225.0,
80.0
]
},
{
"type": "line",
"start": [
-225.0,
80.0
],
"end": [
-225.0,
-80.0
]
},
{
"type": "line",
"start": [
-225.0,
-80.0
],
"end": [
-270.0,
-80.0
]
},
{
"type": "line",
"start": [
-270.0,
-80.0
],
"end": [
-270.0,
80.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
270.0,
80.0
],
"end": [
225.0,
80.0
]
},
{
"type": "line",
"start": [
225.0,
80.0
],
"end": [
225.0,
-80.0
]
},
{
"type": "line",
"start": [
225.0,
-80.0
],
"end": [
270.0,
-80.0
]
},
{
"type": "line",
"start": [
270.0,
-80.0
],
"end": [
270.0,
80.0
]
}
]
}
]
}
},
{
"id": "sk_008",
"name": "草圖13",
"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": [
-140.0,
-80.0
],
"end": [
140.0,
-80.0
]
},
{
"type": "line",
"start": [
140.0,
-80.0
],
"end": [
140.0,
-70.0
]
},
{
"type": "line",
"start": [
140.0,
-70.0
],
"end": [
-140.0,
-70.0
]
},
{
"type": "line",
"start": [
-140.0,
-70.0
],
"end": [
-140.0,
-80.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": 10.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": "除料-伸長1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 5.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_007",
"name": "M5 六角承窩頭蓋螺釘的柱孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角承窩頭 ISO 4762",
"diameter_mm": 5.5,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-23.0,
-80.0,
0.0
]
},
{
"mm": [
23.0,
-80.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 10.0,
"depth_mm": 5.0
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_010",
"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_005",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_013",
"name": "伸長5",
"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_006",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_014",
"name": "伸長3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_007",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_018",
"name": "M5 螺紋孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "螺紋孔",
"diameter_mm": 5.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
13.0,
7.0,
0.0
]
},
{
"mm": [
-9.0,
7.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 10.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-76e56f5137ecd40a5cef0673",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-225.0,
-70.0,
0.0,
225.0,
80.0,
0.0
],
"center_mm": [
0.154872031,
11.272985143,
0.0
],
"normal": [
-0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-76e56f5137ecd40a5cef0673",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-225.0,
-70.0,
0.0,
225.0,
80.0,
0.0
],
"center_mm": [
0.154872031,
11.272985143,
0.0
],
"normal": [
-0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_019",
"name": "M8x1.0 螺紋孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "螺紋孔",
"diameter_mm": 8.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-90.0,
-20.0,
0.0
]
},
{
"mm": [
10.0,
-20.0,
0.0
]
}
],
"thread": {
"diameter_mm": 8.0,
"depth_mm": 10.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-76e56f5137ecd40a5cef0673",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-225.0,
-70.0,
0.0,
225.0,
80.0,
0.0
],
"center_mm": [
0.154872031,
11.272985143,
0.0
],
"normal": [
-0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-76e56f5137ecd40a5cef0673",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-225.0,
-70.0,
0.0,
225.0,
80.0,
0.0
],
"center_mm": [
0.154872031,
11.272985143,
0.0
],
"normal": [
-0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_006",
"name": "伸長2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_008",
"name": "Ø5.0 (5) 直徑孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_007"
],
"params": {
"hole_type": "鑽孔尺寸",
"diameter_mm": 5.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
0.0,
-80.0,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_011",
"name": "圓角1",
"atomic_id": "fillet",
"depends_on": [
"f_010"
],
"params": {
"radius_mm": 3.25,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_015",
"name": "伸長6",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_013"
],
"params": {
"distance_mm": 2.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_008",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_016",
"name": "圓角2",
"atomic_id": "fillet",
"depends_on": [
"f_013"
],
"params": {
"radius_mm": 10.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_017",
"name": "導角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004",
"f_013"
],
"params": {
"distance_mm": 10.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "直線複製排列1",
"atomic_id": "pattern_linear",
"depends_on": [
"f_004",
"f_007",
"f_008"
],
"params": {
"source_feature_ids": [
"f_004",
"f_007",
"f_008"
],
"direction_1": [
0.0,
1.0,
0.0
],
"spacing_1_mm": 80.0,
"pattern_count_1": 3
},
"execution_status": "deferred"
},
{
"id": "f_012",
"name": "直線複製排列2",
"atomic_id": "pattern_linear",
"depends_on": [
"f_004",
"f_010",
"f_011"
],
"params": {
"source_feature_ids": [
"f_004",
"f_010",
"f_011"
],
"direction_1": [
0.0,
1.0,
0.0
],
"spacing_1_mm": 70.0,
"pattern_count_1": 2,
"direction_2": [
1.0,
0.0,
0.0
],
"spacing_2_mm": 500.0,
"pattern_count_2": 2
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "128444.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.7086551067114658,
"volume": 0.0007086551067114658,
"surface_area": 0.161573867020349,
"center_of_mass": [
0.00021913121369948754,
0.010335565952134647,
0.005085055795363335
],
"principal_moments": [
0.0012800470009388467,
0.014289320022594157,
0.015557875818686834
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.2700000000000001,
-0.08000000000000002,
0.0,
0.26999999999999996,
0.08000000000000004,
0.010000000000000002
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M8x1.0 螺紋孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAoAAABzAAAAcgAAAHEAAABtAAAAcAAAAG8AAABuAAAAaAAAAGcAAABmAAAA",
"persist_reference_sha256": "bcf2464b34941aa44c8eea3b2e0524f237c107564a79c334e85ef08bbb829d95",
"component": null,
"geometry": {
"box": [
-0.2700000000000001,
-0.08000000000000002,
0.0,
0.26999999999999996,
0.08000000000000004,
0.010000000000000002
],
"face_count": 61,
"edge_count": 156,
"vertex_count": 90
},
"stable_id": "bcf2464b34941aa44c8eea3b2e0524f237c107564a79c334e85ef08bbb829d95"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 71,
"surface_counts": {
"cylinder": 38,
"plane": 33
},
"axis_count": 38,
"repeat_spacings_mm": [
{
"spacing_mm": 70.0,
"pair_count": 6
},
{
"spacing_mm": 13.5,
"pair_count": 4
},
{
"spacing_mm": 500.0,
"pair_count": 4
},
{
"spacing_mm": 500.1822,
"pair_count": 4
},
{
"spacing_mm": 504.8762,
"pair_count": 4
},
{
"spacing_mm": 5.0,
"pair_count": 3
},
{
"spacing_mm": 46.3681,
"pair_count": 2
},
{
"spacing_mm": 105.5936,
"pair_count": 2
},
{
"spacing_mm": 45.5522,
"pair_count": 2
},
{
"spacing_mm": 105.2378,
"pair_count": 2
},
{
"spacing_mm": 90.0,
"pair_count": 2
},
{
"spacing_mm": 90.1388,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-270.0,
-80.0,
0.0,
270.0,
80.0,
10.0
],
"volume_mm3": 708655.106711466,
"surface_area_mm2": 161573.867020349,
"solid_count": 1,
"face_count": 71,
"edge_count": 196,
"vertex_count": 130
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-270.0,
-80.0,
0.0,
270.0,
80.0,
10.0
],
"volume_mm3": 708655.106711466,
"surface_area_mm2": 161573.867020349,
"solid_count": 1,
"face_count": 61,
"edge_count": 156,
"vertex_count": 90
},
"comparisons": {
"volume_mm3": {
"expected": 708655.106711466,
"actual": 708655.106711466,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 161573.867020349,
"actual": 161573.867020349,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-270.0,
-80.0,
0.0,
270.0,
80.0,
10.0
],
"actual": [
-270.0,
-80.0,
0.0,
270.0,
80.0,
10.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 61,
"actual": 71,
"matches": false
},
"edge_count": {
"expected": 156,
"actual": 196,
"matches": false
},
"vertex_count": {
"expected": 90,
"actual": 130,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}