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

815 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "095346",
"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": [
0.0,
0.0
],
"end": [
92.0,
0.0
]
},
{
"type": "line",
"start": [
92.0,
0.0
],
"end": [
92.0,
-100.0
]
},
{
"type": "line",
"start": [
92.0,
-100.0
],
"end": [
0.0,
-100.0
]
},
{
"type": "line",
"start": [
0.0,
-100.0
],
"end": [
0.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"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": [
-0.0,
-100.0
],
"end": [
-92.0,
-100.0
]
},
{
"type": "line",
"start": [
-92.0,
-100.0
],
"end": [
-92.0,
-49.0
]
},
{
"type": "line",
"start": [
-92.0,
-49.0
],
"end": [
0.0,
-49.0
]
},
{
"type": "line",
"start": [
0.0,
-49.0
],
"end": [
-0.0,
-100.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": 9.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": "底部螺紋孔",
"diameter_mm": 4.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-8.0,
4.5,
0.0
]
},
{
"mm": [
-30.0,
4.5,
0.0
]
},
{
"mm": [
-84.0,
4.5,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 8.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "M3 螺紋孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺紋孔",
"diameter_mm": 3.0,
"depth_mm": 6.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-54.6,
4.5,
0.0
]
},
{
"mm": [
-62.85,
4.5,
0.0
]
}
],
"thread": {
"diameter_mm": 3.0,
"depth_mm": 6.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"name": "Ø5.0 (5) 直徑孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "鑽孔尺寸",
"diameter_mm": 5.0,
"depth_mm": 9.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
82.0,
-17.0,
0.0
]
}
],
"host_face": {
"kind": "face",
"stable_id": "step-face-497b22483cfea4c0e1053fe4",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
-49.0,
0.0,
92.0,
0.0,
0.0
],
"center_mm": [
45.415045977,
-24.24717027,
-0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-497b22483cfea4c0e1053fe4",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
-49.0,
0.0,
92.0,
0.0,
0.0
],
"center_mm": [
45.415045977,
-24.24717027,
-0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_008",
"name": "M4 凹頭蓋螺釘的柱孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "承窩頭頂蓋 - ANSI B18.3.1M",
"diameter_mm": 4.5,
"depth_mm": 9.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-64.5,
-32.0,
0.0
]
},
{
"mm": [
-64.5,
-42.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 8.0,
"depth_mm": 4.0
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_009",
"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",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_010",
"name": "M5 螺紋孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_009",
"f_004"
],
"params": {
"hole_type": "底部螺紋孔",
"diameter_mm": 5.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
25.0,
4.5,
0.0
]
},
{
"mm": [
80.0,
4.5,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 10.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "095346.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.039135150266706664,
"volume": 3.913515026670667e-05,
"surface_area": 0.01270461275222229,
"center_of_mass": [
0.04552489651775332,
-0.02436241229618924,
0.004517560259467239
],
"principal_moments": [
8.014666559008533e-06,
2.787536412901186e-05,
3.535397669393738e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.04900000000000002,
0.0,
0.092,
1.040949779275236e-19,
0.009000000000000001
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M5 螺紋孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAABsAAAAawAAAGkAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "7b35357f07ec88c85eb1df4852401ec16e1898dc9e13672ba79a1d8d62b1a342",
"component": null,
"geometry": {
"box": [
0.0,
-0.04900000000000002,
0.0,
0.092,
1.040949779275236e-19,
0.009000000000000001
],
"face_count": 27,
"edge_count": 36,
"vertex_count": 15
},
"stable_id": "7b35357f07ec88c85eb1df4852401ec16e1898dc9e13672ba79a1d8d62b1a342"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 46,
"surface_counts": {
"cone": 14,
"cylinder": 24,
"plane": 8
},
"axis_count": 38,
"repeat_spacings_mm": [
{
"spacing_mm": 10.1,
"pair_count": 3
},
{
"spacing_mm": 12.4,
"pair_count": 2
},
{
"spacing_mm": 55.0,
"pair_count": 2
},
{
"spacing_mm": 56.3805,
"pair_count": 2
},
{
"spacing_mm": 7.5,
"pair_count": 2
},
{
"spacing_mm": 8.25,
"pair_count": 2
},
{
"spacing_mm": 11.1496,
"pair_count": 2
},
{
"spacing_mm": 22.0,
"pair_count": 2
},
{
"spacing_mm": 24.2076,
"pair_count": 2
},
{
"spacing_mm": 76.0,
"pair_count": 2
},
{
"spacing_mm": 76.6682,
"pair_count": 2
},
{
"spacing_mm": 54.0,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
0.0,
-49.0,
0.0,
92.0,
0.0,
9.0
],
"volume_mm3": 39135.150266707,
"surface_area_mm2": 12704.612752222,
"solid_count": 1,
"face_count": 46,
"edge_count": 98,
"vertex_count": 63
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-49.0,
0.0,
92.0,
0.0,
9.0
],
"volume_mm3": 39135.150266707,
"surface_area_mm2": 12704.612752222,
"solid_count": 1,
"face_count": 27,
"edge_count": 36,
"vertex_count": 15
},
"comparisons": {
"volume_mm3": {
"expected": 39135.150266707,
"actual": 39135.150266707,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 12704.612752222,
"actual": 12704.612752222,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-49.0,
0.0,
92.0,
0.0,
9.0
],
"actual": [
0.0,
-49.0,
0.0,
92.0,
0.0,
9.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 27,
"actual": 46,
"matches": false
},
"edge_count": {
"expected": 36,
"actual": 98,
"matches": false
},
"vertex_count": {
"expected": 15,
"actual": 63,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}