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

1030 lines
22 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "227232",
"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,
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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-150.0,
47.5
],
"end": [
150.0,
47.5
]
},
{
"type": "line",
"start": [
150.0,
47.5
],
"end": [
150.0,
-47.5
]
},
{
"type": "line",
"start": [
150.0,
-47.5
],
"end": [
-150.0,
-47.5
]
},
{
"type": "line",
"start": [
-150.0,
-47.5
],
"end": [
-150.0,
47.5
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草圖10",
"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": [
75.0,
-42.5
],
"radius_mm": 2.75
},
{
"center": [
75.0,
42.5
],
"radius_mm": 2.75
}
]
}
},
{
"id": "sk_004",
"name": "草圖25",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-115.25,
42.5
],
"end": [
-124.75,
42.5
]
},
{
"type": "line",
"start": [
-124.75,
42.5
],
"end": [
-124.75,
52.5
]
},
{
"type": "line",
"start": [
-124.75,
52.5
],
"end": [
-115.25,
52.5
]
},
{
"type": "line",
"start": [
-115.25,
52.5
],
"end": [
-115.25,
42.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-115.25,
-42.5
],
"end": [
-124.75,
-42.5
]
},
{
"type": "line",
"start": [
-124.75,
-42.5
],
"end": [
-124.75,
-52.5
]
},
{
"type": "line",
"start": [
-124.75,
-52.5
],
"end": [
-115.25,
-52.5
]
},
{
"type": "line",
"start": [
-115.25,
-52.5
],
"end": [
-115.25,
-42.5
]
}
]
}
]
}
}
]
},
"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_002"
],
"params": {
"distance_mm": 15.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": "M6 螺紋孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_001"
],
"params": {
"hole_type": "底部螺紋孔",
"diameter_mm": 6.0,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
90.0,
25.0,
0.0
]
},
{
"mm": [
90.0,
-25.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 15.0,
"class": "2B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "M6 螺紋孔3",
"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": [
50.5,
-2.5,
0.0
]
},
{
"mm": [
50.5,
37.5,
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_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_009",
"name": "M5 六角承窩頭蓋螺釘的柱孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角承窩頭 ISO 4762",
"diameter_mm": 5.5,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
172.066366005,
60.392519314,
0.0
]
},
{
"mm": [
172.066366005,
-24.607480686,
0.0
]
}
],
"counterbore": {
"diameter_mm": 9.5,
"depth_mm": 6.0
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_011",
"name": "M6 六角承窩頭蓋螺釘的柱孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_001"
],
"params": {
"hole_type": "六角承窩頭 ISO 4762",
"diameter_mm": 6.6,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
120.0,
20.0,
0.0
]
},
{
"mm": [
120.0,
-20.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 6.0
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_013",
"name": "M5 六角承窩頭蓋螺釘的柱孔3",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角承窩頭 ISO 4762",
"diameter_mm": 5.5,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-54.584174338,
52.38854496,
0.0
]
},
{
"mm": [
-54.584174338,
2.38854496,
0.0
]
},
{
"mm": [
-19.584174338,
2.38854496,
0.0
]
},
{
"mm": [
-19.584174338,
52.38854496,
0.0
]
}
],
"counterbore": {
"diameter_mm": 9.5,
"depth_mm": 5.5
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_014",
"name": "M6 六角承窩頭蓋螺釘的柱孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角承窩頭 ISO 4762",
"diameter_mm": 6.6,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-60.5,
-37.5,
0.0
]
},
{
"mm": [
-60.5,
21.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 6.0
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "直線複製排列2",
"atomic_id": "pattern_linear",
"depends_on": [
"f_007",
"f_004"
],
"params": {
"source_feature_ids": [
"f_007",
"f_004"
],
"direction_1": [
1.0,
0.0,
0.0
],
"spacing_1_mm": 35.0,
"pattern_count_1": 2
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "直線複製排列4",
"atomic_id": "pattern_linear",
"depends_on": [
"f_009",
"f_004"
],
"params": {
"source_feature_ids": [
"f_009",
"f_004"
],
"direction_1": [
1.0,
0.0,
0.0
],
"spacing_1_mm": 70.0,
"pattern_count_1": 3
},
"execution_status": "deferred"
},
{
"id": "f_012",
"name": "直線複製排列5",
"atomic_id": "pattern_linear",
"depends_on": [
"f_011",
"f_004"
],
"params": {
"source_feature_ids": [
"f_011",
"f_004"
],
"direction_1": [
1.0,
0.0,
0.0
],
"spacing_1_mm": 60.0,
"pattern_count_1": 3
},
"execution_status": "deferred"
},
{
"id": "f_015",
"name": "除料-伸長2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_009"
],
"params": {
"distance_mm": 6.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_016",
"name": "直線複製排列6",
"atomic_id": "pattern_linear",
"depends_on": [
"f_015",
"f_004"
],
"params": {
"source_feature_ids": [
"f_015",
"f_004"
],
"direction_1": [
1.0,
0.0,
0.0
],
"spacing_1_mm": 70.0,
"pattern_count_1": 3
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "227232.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 1.1155186307286333,
"volume": 0.00041315504841801234,
"surface_area": 0.07417323893004378,
"center_of_mass": [
0.00043439418848550547,
0.007503327257451983,
-9.628143354735314e-06
],
"principal_moments": [
0.0008519199745497272,
0.008453277148473168,
0.009263523593976855
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.15,
-1.734723475976807e-18,
-0.0475,
0.15,
0.015000000000000001,
0.0475
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "直線複製排列6",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAoAAAB4AAAAdwAAAHYAAABzAAAAcgAAAHEAAABwAAAAbwAAAGcAAABlAAAA",
"persist_reference_sha256": "e3bc3539107cb9e9a76f52a00eb36d024a1cd896114ce515a9ebb527e744f9c0",
"component": null,
"geometry": {
"box": [
-0.15,
-1.734723475976807e-18,
-0.0475,
0.15,
0.015000000000000001,
0.0475
],
"face_count": 74,
"edge_count": 148,
"vertex_count": 56
},
"stable_id": "e3bc3539107cb9e9a76f52a00eb36d024a1cd896114ce515a9ebb527e744f9c0"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 109,
"surface_counts": {
"cylinder": 73,
"plane": 36
},
"axis_count": 73,
"repeat_spacings_mm": [
{
"spacing_mm": 72.111,
"pair_count": 5
},
{
"spacing_mm": 85.0,
"pair_count": 4
},
{
"spacing_mm": 60.0,
"pair_count": 4
},
{
"spacing_mm": 70.0,
"pair_count": 4
},
{
"spacing_mm": 110.1136,
"pair_count": 4
},
{
"spacing_mm": 50.0,
"pair_count": 3
},
{
"spacing_mm": 40.0,
"pair_count": 3
},
{
"spacing_mm": 61.0328,
"pair_count": 2
},
{
"spacing_mm": 35.0,
"pair_count": 2
},
{
"spacing_mm": 9.0139,
"pair_count": 2
},
{
"spacing_mm": 30.9233,
"pair_count": 2
},
{
"spacing_mm": 126.4911,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-150.0,
-0.0,
-47.5,
150.0,
15.0,
47.5
],
"volume_mm3": 413155.048418013,
"surface_area_mm2": 74173.238930044,
"solid_count": 1,
"face_count": 109,
"edge_count": 285,
"vertex_count": 190
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-150.0,
-0.0,
-47.5,
150.0,
15.0,
47.5
],
"volume_mm3": 413155.048418012,
"surface_area_mm2": 74173.238930044,
"solid_count": 1,
"face_count": 74,
"edge_count": 148,
"vertex_count": 56
},
"comparisons": {
"volume_mm3": {
"expected": 413155.048418012,
"actual": 413155.048418013,
"absolute_delta": 9.89530235528946e-10,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 74173.238930044,
"actual": 74173.238930044,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-150.0,
-0.0,
-47.5,
150.0,
15.0,
47.5
],
"actual": [
-150.0,
-0.0,
-47.5,
150.0,
15.0,
47.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 74,
"actual": 109,
"matches": false
},
"edge_count": {
"expected": 148,
"actual": 285,
"matches": false
},
"vertex_count": {
"expected": 56,
"actual": 190,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}