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

891 lines
19 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "074693",
"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": [
-99.5,
-40.0
],
"end": [
99.5,
-40.0
]
},
{
"type": "line",
"start": [
99.5,
-40.0
],
"end": [
99.5,
40.0
]
},
{
"type": "line",
"start": [
99.5,
40.0
],
"end": [
-99.5,
40.0
]
},
{
"type": "line",
"start": [
-99.5,
40.0
],
"end": [
-99.5,
-40.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
28.810240041
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
63.511049607,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草圖39",
"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": "arc",
"start": [
65.0,
27.5
],
"end": [
65.0,
22.5
],
"center": [
65.0,
25.0
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
65.0,
22.5
],
"end": [
67.0,
22.5
]
},
{
"type": "arc",
"start": [
67.0,
22.5
],
"end": [
67.0,
27.5
],
"center": [
67.0,
25.0
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
67.0,
27.5
],
"end": [
65.0,
27.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
65.0,
25.0
],
"end": [
67.0,
25.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": "平面4",
"atomic_id": "reference_plane",
"depends_on": [
"f_003"
],
"params": {
"plane": {
"origin_mm": [
22.0,
0.0,
0.0
],
"normal": [
1.0,
0.0,
0.0
],
"x_dir": [
0.0,
1.0,
0.0
]
},
"offset_mm": 22.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
{
"id": "f_005",
"name": "填料-伸長1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 22.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_006",
"name": "M8 內六角圓柱頭螺釘的柱孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005"
],
"params": {
"hole_type": "內六角圓柱頭螺釘 GB/T 70.1-2000",
"diameter_mm": 9.0,
"depth_mm": 22.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-88.0,
-30.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 15.0,
"depth_mm": 9.0
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "M8 內六角圓柱頭螺釘的柱孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005"
],
"params": {
"hole_type": "內六角圓柱頭螺釘 GB/T 70.1-2000",
"diameter_mm": 9.0,
"depth_mm": 22.0,
"end_condition": {
"solidworks_code": 2,
"type": "through_all_both"
},
"positions": [
{
"mm": [
88.0,
25.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 15.0,
"depth_mm": 9.0
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_010",
"name": "M8 螺紋孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005"
],
"params": {
"hole_type": "螺紋孔",
"diameter_mm": 8.0,
"depth_mm": 22.0,
"end_condition": {
"solidworks_code": 2,
"type": "through_all_both"
},
"positions": [
{
"mm": [
-66.0,
-25.0,
0.0
]
}
],
"thread": {
"diameter_mm": 8.0,
"depth_mm": 22.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_012",
"name": "導角1",
"atomic_id": "chamfer",
"depends_on": [
"f_005"
],
"params": {
"distance_mm": 5.0,
"angle_rad": 0.7853981633974483
},
"execution_status": "deferred"
},
{
"id": "f_013",
"name": "導角2",
"atomic_id": "chamfer",
"depends_on": [
"f_005"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.7853981633974483
},
"execution_status": "deferred"
},
{
"id": "f_014",
"name": "Ø5.0 (5) 直徑孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005"
],
"params": {
"hole_type": "鑽孔尺寸",
"diameter_mm": 5.0,
"depth_mm": 22.0,
"end_condition": {
"solidworks_code": 2,
"type": "through_all_both"
},
"positions": [
{
"mm": [
-66.0,
25.0,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"name": "直線複製排列1",
"atomic_id": "pattern_linear",
"depends_on": [
"f_006",
"f_005"
],
"params": {
"source_feature_ids": [
"f_006",
"f_005"
],
"direction_1": [
0.0,
0.0,
-1.0
],
"spacing_1_mm": 44.0,
"pattern_count_1": 5,
"direction_2": [
0.0,
-1.0,
0.0
],
"spacing_2_mm": 20.0,
"pattern_count_2": 2
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "直線複製排列2",
"atomic_id": "pattern_linear",
"depends_on": [
"f_008",
"f_005"
],
"params": {
"source_feature_ids": [
"f_008",
"f_005"
],
"direction_1": [
0.0,
0.0,
1.0
],
"spacing_1_mm": 44.0,
"pattern_count_1": 5
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "直線複製排列3",
"atomic_id": "pattern_linear",
"depends_on": [
"f_010",
"f_005"
],
"params": {
"source_feature_ids": [
"f_010",
"f_005"
],
"direction_1": [
0.0,
0.0,
-1.0
],
"spacing_1_mm": 132.0,
"pattern_count_1": 2
},
"execution_status": "deferred"
},
{
"id": "f_015",
"name": "除料-伸長1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_014"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all_both",
"solidworks_code": 2
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"unresolved": [
"missing source sketch parent"
]
}
],
"meta": {
"unit": "mm",
"source": "074693.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.3107242891288812,
"volume": 0.0003107242891288812,
"surface_area": 0.055351362919082193,
"center_of_mass": [
0.010893535935877292,
0.0006899038243118147,
4.672953003032956e-05
],
"principal_moments": [
0.0001764770379063207,
0.001010211118654283,
0.0011619570078725174
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.04,
-0.0995,
0.022,
0.04,
0.0995
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "除料-伸長1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAkAAAB+AAAAfAAAAHsAAAB4AAAAegAAAGkAAAB5AAAAaAAAAGcAAAA=",
"persist_reference_sha256": "b2cc9837fc85c7d65749009e60c3984ff8b6d48734d1133c15bbd6e97c5b212a",
"component": null,
"geometry": {
"box": [
3.851859888774472e-34,
-0.04,
-0.0995,
0.022,
0.04,
0.0995
],
"face_count": 62,
"edge_count": 102,
"vertex_count": 24
},
"stable_id": "b2cc9837fc85c7d65749009e60c3984ff8b6d48734d1133c15bbd6e97c5b212a"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 96,
"surface_counts": {
"cylinder": 69,
"plane": 27
},
"axis_count": 69,
"repeat_spacings_mm": [
{
"spacing_mm": 44.0,
"pair_count": 12
},
{
"spacing_mm": 88.0,
"pair_count": 9
},
{
"spacing_mm": 60.3738,
"pair_count": 8
},
{
"spacing_mm": 73.7902,
"pair_count": 8
},
{
"spacing_mm": 48.3322,
"pair_count": 8
},
{
"spacing_mm": 41.3401,
"pair_count": 7
},
{
"spacing_mm": 59.2368,
"pair_count": 7
},
{
"spacing_mm": 132.0,
"pair_count": 7
},
{
"spacing_mm": 97.2265,
"pair_count": 6
},
{
"spacing_mm": 106.0802,
"pair_count": 6
},
{
"spacing_mm": 90.2441,
"pair_count": 6
},
{
"spacing_mm": 20.0,
"pair_count": 5
}
],
"metrics": {
"bounding_box_mm": [
0.0,
-40.0,
-99.5,
22.0,
40.0,
99.5
],
"volume_mm3": 310724.28912888,
"surface_area_mm2": 55351.362919082,
"solid_count": 1,
"face_count": 96,
"edge_count": 237,
"vertex_count": 158
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-40.0,
-99.5,
22.0,
40.0,
99.5
],
"volume_mm3": 310724.289128881,
"surface_area_mm2": 55351.362919082,
"solid_count": 1,
"face_count": 62,
"edge_count": 102,
"vertex_count": 24
},
"comparisons": {
"volume_mm3": {
"expected": 310724.289128881,
"actual": 310724.28912888,
"absolute_delta": 9.89530235528946e-10,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 55351.362919082,
"actual": 55351.362919082,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-40.0,
-99.5,
22.0,
40.0,
99.5
],
"actual": [
0.0,
-40.0,
-99.5,
22.0,
40.0,
99.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 62,
"actual": 96,
"matches": false
},
"edge_count": {
"expected": 102,
"actual": 237,
"matches": false
},
"vertex_count": {
"expected": 24,
"actual": 158,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}