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

895 lines
19 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "032027",
"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": "arc",
"start": [
150.0,
193.0
],
"end": [
100.0,
143.0
],
"center": [
150.0,
143.0
],
"radius_mm": 50.0,
"clockwise": false
},
{
"type": "line",
"start": [
100.0,
143.0
],
"end": [
100.0,
0.0
]
},
{
"type": "line",
"start": [
100.0,
0.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
308.0
]
},
{
"type": "line",
"start": [
0.0,
308.0
],
"end": [
250.0,
308.0
]
},
{
"type": "line",
"start": [
250.0,
308.0
],
"end": [
250.0,
193.0
]
},
{
"type": "line",
"start": [
250.0,
193.0
],
"end": [
150.0,
193.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草圖10",
"role": "profile",
"workplane": {
"origin_mm": [
7.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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
182.0,
208.0
],
"end": [
180.0,
206.0
],
"center": [
182.0,
206.0
],
"radius_mm": 2.0,
"clockwise": false
},
{
"type": "line",
"start": [
180.0,
206.0
],
"end": [
180.0,
158.299677271
]
},
{
"type": "line",
"start": [
180.0,
158.299677271
],
"end": [
267.819669817,
158.299677271
]
},
{
"type": "line",
"start": [
267.819669817,
158.299677271
],
"end": [
267.819669817,
206.0
]
},
{
"type": "arc",
"start": [
267.819669817,
206.0
],
"end": [
265.819669817,
208.0
],
"center": [
265.819669817,
206.0
],
"radius_mm": 2.0,
"clockwise": true
},
{
"type": "line",
"start": [
265.819669817,
208.0
],
"end": [
182.0,
208.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": "through_all_and_blind",
"solidworks_code": 6
}
},
"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": "M5 六角承窩頭蓋螺釘的柱孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角承窩頭 ISO 4762",
"diameter_mm": 5.3,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
25.0,
6.0,
0.0
]
},
{
"mm": [
75.0,
6.0,
0.0
]
},
{
"mm": [
25.0,
106.0,
0.0
]
},
{
"mm": [
75.0,
106.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 10.0,
"depth_mm": 8.0
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "M6 螺紋孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺紋孔",
"diameter_mm": 6.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-125.0,
0.0,
0.0
]
},
{
"mm": [
-45.0,
-0.0,
0.0
]
},
{
"mm": [
-205.0,
-0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 12.0,
"class": "2B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "M8 螺紋孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺紋孔",
"diameter_mm": 8.0,
"depth_mm": 16.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
50.0,
0.0,
0.0
]
},
{
"mm": [
15.0,
0.0,
0.0
]
},
{
"mm": [
85.0,
0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 8.0,
"depth_mm": 16.0,
"class": "2B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-ce800a0ca9c79529ed12925d",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
0.0,
-7.5,
100.0,
0.0,
7.5
],
"center_mm": [
50.0,
0.0,
0.0
],
"normal": [
-0.0,
-1.0,
-0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-ce800a0ca9c79529ed12925d",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
0.0,
-7.5,
100.0,
0.0,
7.5
],
"center_mm": [
50.0,
0.0,
0.0
],
"normal": [
-0.0,
-1.0,
-0.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_009",
"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_007",
"name": "M6 螺紋孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"hole_type": "底部螺紋孔",
"diameter_mm": 6.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
1.5,
283.0,
0.0
]
},
{
"mm": [
1.5,
218.005555727,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 12.0,
"class": "2B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_010",
"name": "導角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004",
"f_009"
],
"params": {
"distance_mm": 2.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "032027.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.7054821603016908,
"volume": 0.0007054821603016908,
"surface_area": 0.11541271550154715,
"center_of_mass": [
0.09259435036285692,
0.18942660679918844,
-7.67201025090193e-06
],
"principal_moments": [
0.0020645876158563352,
0.006464598135610582,
0.008502590053234726
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
0.0,
-0.0075,
0.25,
0.308,
0.0075
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "導角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABrAAAAaQAAAGgAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "712e41da5842c08e0b540fc96cddd2e1c3a909f88a389edc087417325f8255a5",
"component": null,
"geometry": {
"box": [
0.0,
0.0,
-0.0075,
0.25,
0.308,
0.0075
],
"face_count": 47,
"edge_count": 71,
"vertex_count": 30
},
"stable_id": "712e41da5842c08e0b540fc96cddd2e1c3a909f88a389edc087417325f8255a5"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 74,
"surface_counts": {
"cone": 16,
"cylinder": 40,
"plane": 18
},
"axis_count": 56,
"repeat_spacings_mm": [
{
"spacing_mm": 15.0,
"pair_count": 5
},
{
"spacing_mm": 35.0,
"pair_count": 4
},
{
"spacing_mm": 40.1878,
"pair_count": 4
},
{
"spacing_mm": 80.0,
"pair_count": 4
},
{
"spacing_mm": 81.3941,
"pair_count": 4
},
{
"spacing_mm": 19.75,
"pair_count": 3
},
{
"spacing_mm": 29.5011,
"pair_count": 2
},
{
"spacing_mm": 90.1128,
"pair_count": 2
},
{
"spacing_mm": 26.7815,
"pair_count": 2
},
{
"spacing_mm": 109.1662,
"pair_count": 2
},
{
"spacing_mm": 70.0,
"pair_count": 2
},
{
"spacing_mm": 72.7328,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
0.0,
0.0,
-7.5,
250.0,
308.0,
7.5
],
"volume_mm3": 705482.160301691,
"surface_area_mm2": 115412.715501547,
"solid_count": 1,
"face_count": 74,
"edge_count": 163,
"vertex_count": 106
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
0.0,
-7.5,
250.0,
308.0,
7.5
],
"volume_mm3": 705482.160301691,
"surface_area_mm2": 115412.715501547,
"solid_count": 1,
"face_count": 47,
"edge_count": 71,
"vertex_count": 30
},
"comparisons": {
"volume_mm3": {
"expected": 705482.160301691,
"actual": 705482.160301691,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 115412.715501547,
"actual": 115412.715501547,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
0.0,
-7.5,
250.0,
308.0,
7.5
],
"actual": [
0.0,
0.0,
-7.5,
250.0,
308.0,
7.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 47,
"actual": 74,
"matches": false
},
"edge_count": {
"expected": 71,
"actual": 163,
"matches": false
},
"vertex_count": {
"expected": 30,
"actual": 106,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}