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

1268 lines
28 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "095674",
"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": [
-14.0,
10.0
],
"end": [
14.0,
10.0
]
},
{
"type": "line",
"start": [
14.0,
10.0
],
"end": [
14.0,
-10.0
]
},
{
"type": "line",
"start": [
14.0,
-10.0
],
"end": [
-14.0,
-10.0
]
},
{
"type": "line",
"start": [
-14.0,
-10.0
],
"end": [
-14.0,
10.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-14.0,
10.0
],
"end": [
14.0,
-10.0
]
},
{
"type": "line",
"start": [
-14.0,
-10.0
],
"end": [
14.0,
10.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草圖2",
"role": "profile",
"workplane": {
"origin_mm": [
155.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": [
-14.0,
10.0
],
"end": [
-6.3,
10.0
]
},
{
"type": "line",
"start": [
-6.3,
10.0
],
"end": [
-6.3,
5.0
]
},
{
"type": "line",
"start": [
-6.3,
5.0
],
"end": [
-14.0,
5.0
]
},
{
"type": "line",
"start": [
-14.0,
5.0
],
"end": [
-14.0,
10.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草圖5",
"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": "circles",
"items": [
{
"center": [
-112.5,
-2.5
],
"radius_mm": 2.0
},
{
"center": [
-62.5,
-2.5
],
"radius_mm": 2.0
}
]
}
},
{
"id": "sk_005",
"name": "草圖7",
"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,
10.0
],
"end": [
-20.0,
10.0
]
},
{
"type": "line",
"start": [
-20.0,
10.0
],
"end": [
-20.0,
-10.0
]
},
{
"type": "line",
"start": [
-20.0,
-10.0
],
"end": [
0.0,
-10.0
]
},
{
"type": "line",
"start": [
0.0,
-10.0
],
"end": [
0.0,
10.0
]
}
]
}
]
}
},
{
"id": "sk_006",
"name": "草圖8",
"role": "profile",
"workplane": {
"origin_mm": [
20.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": [
-2.85,
5.23
],
"end": [
-4.85,
5.23
]
},
{
"type": "line",
"start": [
-4.85,
5.23
],
"end": [
-4.85,
6.73
]
},
{
"type": "line",
"start": [
-4.85,
6.73
],
"end": [
-8.12,
10.0
]
},
{
"type": "line",
"start": [
-8.12,
10.0
],
"end": [
0.42,
10.0
]
},
{
"type": "line",
"start": [
0.42,
10.0
],
"end": [
-2.85,
6.73
]
},
{
"type": "line",
"start": [
-2.85,
6.73
],
"end": [
-2.85,
5.23
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-3.85,
10.0
],
"end": [
-3.85,
-49990.0
]
}
]
}
},
{
"id": "sk_007",
"name": "草圖14",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
1000.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
0.0,
1.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "circles",
"items": [
{
"center": [
11.0,
-46.0
],
"radius_mm": 2.0
},
{
"center": [
-3.3,
-129.0
],
"radius_mm": 2.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": 155.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": 135.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_006",
"name": "M6 內六角圓柱頭螺釘的柱孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "內六角圓柱頭螺釘 GB/T 70.1-2000",
"diameter_mm": 6.6,
"depth_mm": 28.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-137.5,
-2.5,
0.0
]
},
{
"mm": [
-87.5,
-2.5,
0.0
]
},
{
"mm": [
-37.5,
-2.5,
0.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 6.8
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "除料-伸長4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4,
"reference": {
"kind": "face",
"stable_id": "3dbc6996ee94290e97395ac5a301b7c758b6906666a0945bf437e80b367824ae",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
1.0,
1.7347234759768073e-16,
0.0,
-0.014000000000000002,
0.01,
0.155
]
},
"box": [
-0.014000000000000004,
-0.01,
0.0,
-0.013999999999999999,
0.01,
0.155
],
"area": 0.0022972314267785034
}
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_005",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_010",
"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": [
-1.3,
-2.5,
0.0
]
},
{
"mm": [
9.0,
-2.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_013",
"name": "M4 螺紋孔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": [
4.0,
-105.0,
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_007",
"name": "除料-伸長2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4,
"reference": {
"kind": "face",
"stable_id": "3dbc6996ee94290e97395ac5a301b7c758b6906666a0945bf437e80b367824ae",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
1.0,
1.7347234759768073e-16,
0.0,
-0.014000000000000002,
0.01,
0.155
]
},
"box": [
-0.014000000000000004,
-0.01,
0.0,
-0.013999999999999999,
0.01,
0.155
],
"area": 0.002322364168007222
}
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_009",
"name": "除料-伸長5",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_008",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4,
"reference": {
"kind": "face",
"stable_id": "eeebb5ae99077effc2d047425b547c5c71114c1c4d8627e9d2555e1622c0ee33",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
1.0,
0.0,
0.0,
0.155
]
},
"box": [
-0.014000000000000002,
-0.01,
0.155,
0.014000000000000004,
0.01,
0.155
],
"area": 0.0005215
}
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_006",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_011",
"name": "M3 螺紋孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"hole_type": "底部螺紋孔",
"diameter_mm": 3.0,
"depth_mm": 6.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-2.8,
-145.5,
0.0
]
},
{
"mm": [
10.5,
-145.5,
0.0
]
},
{
"mm": [
-2.8,
-82.5,
0.0
]
},
{
"mm": [
-2.8,
-29.0,
0.0
]
},
{
"mm": [
10.5,
-29.0,
0.0
]
},
{
"mm": [
10.5,
-82.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_012",
"name": "除料-伸長7",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005",
"f_008"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4,
"reference": {
"kind": "face",
"stable_id": "a0f0d5dc8166ff41ea3d4cbe5945d200b61b109fce38af726f87f236e3d5ff16",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
1.0,
0.0,
-0.013999999999999999,
-0.01,
0.155
]
},
"box": [
-0.013999999999999999,
-0.010000000000000005,
0.020000000000000004,
0.014000000000000004,
-0.009999999999999995,
0.155
],
"area": 0.0037800000000000004
}
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_007",
"unresolved": [
"missing source sketch parent"
]
}
],
"meta": {
"unit": "mm",
"source": "095674.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.06185422847627831,
"volume": 6.185422847627831e-05,
"surface_area": 0.018334241048990216,
"center_of_mass": [
0.0004194128738022285,
-0.0008104511528889976,
0.08730186792638145
],
"principal_moments": [
5.786462850298994e-06,
9.518816358417358e-05,
9.729587043031231e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.014000000000000004,
-0.01,
0.01999999999999999,
0.014000000000000004,
0.010000000000000026,
0.155
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M4 螺紋孔2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAoAAABxAAAAcAAAAG0AAABsAAAAawAAAGoAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "638e586e69839fc1fc15bbc1c2c9cc8c0d583a5e1d98f6155ee78c721ba0bc5d",
"component": null,
"geometry": {
"box": [
-0.014000000000000004,
-0.01,
0.01999999999999999,
0.014000000000000004,
0.010000000000000026,
0.155
],
"face_count": 45,
"edge_count": 74,
"vertex_count": 33
},
"stable_id": "638e586e69839fc1fc15bbc1c2c9cc8c0d583a5e1d98f6155ee78c721ba0bc5d"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 73,
"surface_counts": {
"cone": 18,
"cylinder": 38,
"plane": 17
},
"axis_count": 56,
"repeat_spacings_mm": [
{
"spacing_mm": 7.5,
"pair_count": 6
},
{
"spacing_mm": 13.3,
"pair_count": 6
},
{
"spacing_mm": 15.2689,
"pair_count": 6
},
{
"spacing_mm": 63.0,
"pair_count": 4
},
{
"spacing_mm": 63.4449,
"pair_count": 4
},
{
"spacing_mm": 116.5,
"pair_count": 4
},
{
"spacing_mm": 116.7412,
"pair_count": 4
},
{
"spacing_mm": 117.2567,
"pair_count": 4
},
{
"spacing_mm": 117.4963,
"pair_count": 4
},
{
"spacing_mm": 64.3886,
"pair_count": 4
},
{
"spacing_mm": 64.8239,
"pair_count": 4
},
{
"spacing_mm": 53.5,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-14.0,
-10.0,
20.0,
14.0,
10.0,
155.0
],
"volume_mm3": 61854.228476278,
"surface_area_mm2": 18334.24104899,
"solid_count": 1,
"face_count": 73,
"edge_count": 168,
"vertex_count": 109
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-14.0,
-10.0,
20.0,
14.0,
10.0,
155.0
],
"volume_mm3": 61854.228476278,
"surface_area_mm2": 18334.24104899,
"solid_count": 1,
"face_count": 45,
"edge_count": 74,
"vertex_count": 33
},
"comparisons": {
"volume_mm3": {
"expected": 61854.228476278,
"actual": 61854.228476278,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 18334.24104899,
"actual": 18334.24104899,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-14.0,
-10.0,
20.0,
14.0,
10.0,
155.0
],
"actual": [
-14.0,
-10.0,
20.0,
14.0,
10.0,
155.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 45,
"actual": 73,
"matches": false
},
"edge_count": {
"expected": 74,
"actual": 168,
"matches": false
},
"vertex_count": {
"expected": 33,
"actual": 109,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}