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

775 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "128021",
"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": [
0.0,
0.0,
1.0
],
"y_dir": [
0.707106781,
0.0,
-0.707106781
],
"normal": [
-0.0,
1.0,
0.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
100.0,
0.0
]
},
{
"type": "line",
"start": [
100.0,
0.0
],
"end": [
100.0,
88.0
]
},
{
"type": "line",
"start": [
100.0,
88.0
],
"end": [
0.0,
88.0
]
},
{
"type": "line",
"start": [
0.0,
88.0
],
"end": [
0.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草圖6",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
0.0,
0.0,
-1.0
],
"y_dir": [
0.707106781,
0.0,
0.707106781
],
"normal": [
0.0,
-1.0,
0.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
0.0,
88.0
],
"end": [
-40.0,
88.0
]
},
{
"type": "line",
"start": [
-40.0,
88.0
],
"end": [
-40.0,
48.0
]
},
{
"type": "line",
"start": [
-40.0,
48.0
],
"end": [
0.0,
48.0
]
},
{
"type": "line",
"start": [
0.0,
48.0
],
"end": [
0.0,
88.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_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_003"
],
"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_005",
"name": "Ø8.5 (8.5) 直徑孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "鑽孔尺寸",
"diameter_mm": 8.5,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-88.0,
70.0,
0.0
]
},
{
"mm": [
-58.0,
70.0,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"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_006",
"name": "M4x0.7 螺紋孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"hole_type": "螺紋孔",
"diameter_mm": 4.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
5.0,
39.5,
0.0
]
},
{
"mm": [
5.0,
7.5,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 8.0,
"class": "2B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-9b92177fc943750c3ef2e47b",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
0.0,
0.0,
10.0,
48.0,
0.0
],
"center_mm": [
5.0,
24.018477201,
-0.0
],
"normal": [
-0.0,
-0.0,
1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-9b92177fc943750c3ef2e47b",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
0.0,
0.0,
10.0,
48.0,
0.0
],
"center_mm": [
5.0,
24.018477201,
-0.0
],
"normal": [
-0.0,
-0.0,
1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_008",
"name": "平面2",
"atomic_id": "reference_plane",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"plane": {
"origin_mm": [
10.0,
88.0,
0.0
],
"x_dir": [
0.0,
0.0,
-1.0
],
"normal": [
0.0,
-1.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 7,
"references": [
{
"kind": "feature",
"stable_id": "1036e48ba83c81031b4fc470ecb385fa89dbad7adf6017b5bd508f49f7f3d6ab",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "feature",
"stable_id": "2f8ad9693d38b7d7629b02a5f502b7c30ac4527604a5179ddf56fcdf8c8d0d6e",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_005"
},
{
"kind": "face",
"stable_id": "ee6b56832af1daf2f3b93f779523340e75b193f0690a6eacd37bdf58ec761729",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
-1.0,
0.0,
0.01,
0.088,
0.0
]
},
"box": [
0.0,
0.088,
-0.1,
0.01,
0.088,
-0.039999999999999994
],
"area": 0.0006000000000000002
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "1036e48ba83c81031b4fc470ecb385fa89dbad7adf6017b5bd508f49f7f3d6ab",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "feature",
"stable_id": "2f8ad9693d38b7d7629b02a5f502b7c30ac4527604a5179ddf56fcdf8c8d0d6e",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_005"
},
{
"kind": "face",
"stable_id": "ee6b56832af1daf2f3b93f779523340e75b193f0690a6eacd37bdf58ec761729",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
-1.0,
0.0,
0.01,
0.088,
0.0
]
},
"box": [
0.0,
0.088,
-0.1,
0.01,
0.088,
-0.039999999999999994
],
"area": 0.0006000000000000002
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "128021.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 55.11692776839303,
"volume": 7.066272790819618e-05,
"surface_area": 0.018708387990522695,
"center_of_mass": [
0.005,
0.038206864066386785,
-0.05654968112902891
],
"principal_moments": [
0.026221520914018165,
0.04854323752993088,
0.0738437246207945
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-1.734723475976807e-18,
0.0,
-0.1,
0.01,
0.088,
6.938893903907228e-18
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "除料-伸長1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0",
"component": null,
"geometry": {
"box": [
-1.0347923689799064e-18,
0.0,
-0.1,
0.01,
0.088,
4.898425415289508e-18
],
"face_count": 14,
"edge_count": 26,
"vertex_count": 14
},
"stable_id": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 20,
"surface_counts": {
"cone": 4,
"cylinder": 8,
"plane": 8
},
"axis_count": 12,
"repeat_spacings_mm": [
{
"spacing_mm": 11.5,
"pair_count": 2
},
{
"spacing_mm": 32.0,
"pair_count": 2
},
{
"spacing_mm": 34.0037,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-0.0,
0.0,
-100.0,
10.0,
88.0,
0.0
],
"volume_mm3": 70662.727908196,
"surface_area_mm2": 18708.387990523,
"solid_count": 1,
"face_count": 20,
"edge_count": 46,
"vertex_count": 30
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-0.0,
0.0,
-100.0,
10.0,
88.0,
0.0
],
"volume_mm3": 70662.727908196,
"surface_area_mm2": 18708.387990523,
"solid_count": 1,
"face_count": 14,
"edge_count": 26,
"vertex_count": 14
},
"comparisons": {
"volume_mm3": {
"expected": 70662.727908196,
"actual": 70662.727908196,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 18708.387990523,
"actual": 18708.387990523,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-0.0,
0.0,
-100.0,
10.0,
88.0,
0.0
],
"actual": [
-0.0,
0.0,
-100.0,
10.0,
88.0,
0.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 14,
"actual": 20,
"matches": false
},
"edge_count": {
"expected": 26,
"actual": 46,
"matches": false
},
"vertex_count": {
"expected": 14,
"actual": 30,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}