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

989 lines
21 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "212537",
"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": [
-244.0,
100.0
],
"end": [
244.0,
100.0
]
},
{
"type": "line",
"start": [
244.0,
100.0
],
"end": [
244.0,
-100.0
]
},
{
"type": "line",
"start": [
244.0,
-100.0
],
"end": [
-244.0,
-100.0
]
},
{
"type": "line",
"start": [
-244.0,
-100.0
],
"end": [
-244.0,
100.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-244.0,
100.0
],
"end": [
244.0,
-100.0
]
},
{
"type": "line",
"start": [
-244.0,
-100.0
],
"end": [
244.0,
100.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草圖2",
"role": "profile",
"workplane": {
"origin_mm": [
6.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": [
-194.0,
-100.0
],
"end": [
244.0,
-100.0
]
},
{
"type": "line",
"start": [
244.0,
-100.0
],
"end": [
244.0,
10.0
]
},
{
"type": "line",
"start": [
244.0,
10.0
],
"end": [
-194.0,
-100.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草圖3",
"role": "profile",
"workplane": {
"origin_mm": [
6.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": [
-194.0,
60.0
],
"end": [
-194.0,
-58.757845267
]
},
{
"type": "line",
"start": [
-194.0,
-58.757845267
],
"end": [
-74.0,
-28.620858965
]
},
{
"type": "line",
"start": [
-74.0,
-28.620858965
],
"end": [
-74.0,
60.0
]
},
{
"type": "line",
"start": [
-74.0,
60.0
],
"end": [
-194.0,
60.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-34.0,
60.0
],
"end": [
-34.0,
-18.575196865
]
},
{
"type": "line",
"start": [
-34.0,
-18.575196865
],
"end": [
146.0,
26.630282587
]
},
{
"type": "line",
"start": [
146.0,
26.630282587
],
"end": [
146.0,
60.0
]
},
{
"type": "line",
"start": [
146.0,
60.0
],
"end": [
-34.0,
60.0
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草圖13",
"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": [
0.0,
-50.0
],
"radius_mm": 3.0
},
{
"center": [
-0.0,
50.0
],
"radius_mm": 3.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": 12.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"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": "伸長2",
"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_008",
"name": "M6 螺紋孔2",
"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": [
0.0,
75.0,
0.0
]
},
{
"mm": [
0.0,
25.0,
0.0
]
},
{
"mm": [
0.0,
-25.0,
0.0
]
},
{
"mm": [
0.0,
-75.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 12.0,
"class": "1B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_009",
"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": [
204.0,
0.0,
0.0
]
},
{
"mm": [
84.0,
0.0,
0.0
]
},
{
"mm": [
-36.0,
-0.0,
0.0
]
},
{
"mm": [
-156.0,
-0.0,
0.0
]
},
{
"mm": [
-216.0,
0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 12.0,
"class": "1B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_011",
"name": "M5 螺紋孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "螺紋孔",
"diameter_mm": 5.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-54.0,
50.0,
0.0
]
},
{
"mm": [
-214.0,
50.0,
0.0
]
},
{
"mm": [
-214.0,
-70.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 12.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "伸長3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_010",
"name": "導角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 5.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "圓角1",
"atomic_id": "fillet",
"depends_on": [
"f_006"
],
"params": {
"radius_mm": 5.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_012",
"name": "伸長4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_010"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005",
"unresolved": [
"missing source sketch parent"
]
}
],
"meta": {
"unit": "mm",
"source": "212537.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 1.6406602697847066,
"volume": 0.0006076519517721136,
"surface_area": 0.13131300740569482,
"center_of_mass": [
-0.02096796826914652,
0.021865782825761036,
3.0254748914674087e-19
],
"principal_moments": [
0.004635169732112243,
0.03681774165742172,
0.041413331163080706
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.244,
-0.1,
-0.006,
0.244,
0.10000000000000002,
0.006000000000000001
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "伸長4",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAABsAAAAawAAAGkAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "7b35357f07ec88c85eb1df4852401ec16e1898dc9e13672ba79a1d8d62b1a342",
"component": null,
"geometry": {
"box": [
-0.244,
-0.1,
-0.006,
0.244,
0.10000000000000002,
0.006000000000000001
],
"face_count": 52,
"edge_count": 103,
"vertex_count": 59
},
"stable_id": "7b35357f07ec88c85eb1df4852401ec16e1898dc9e13672ba79a1d8d62b1a342"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 75,
"surface_counts": {
"cone": 18,
"cylinder": 36,
"plane": 21
},
"axis_count": 54,
"repeat_spacings_mm": [
{
"spacing_mm": 17.0,
"pair_count": 9
},
{
"spacing_mm": 120.0,
"pair_count": 7
},
{
"spacing_mm": 50.0,
"pair_count": 7
},
{
"spacing_mm": 121.1982,
"pair_count": 6
},
{
"spacing_mm": 52.811,
"pair_count": 6
},
{
"spacing_mm": 100.0,
"pair_count": 5
},
{
"spacing_mm": 26.9258,
"pair_count": 4
},
{
"spacing_mm": 25.9615,
"pair_count": 4
},
{
"spacing_mm": 240.0,
"pair_count": 4
},
{
"spacing_mm": 240.6013,
"pair_count": 4
},
{
"spacing_mm": 101.4347,
"pair_count": 4
},
{
"spacing_mm": 114.3941,
"pair_count": 3
}
],
"metrics": {
"bounding_box_mm": [
-244.0,
-100.0,
-6.0,
244.0,
100.0,
6.0
],
"volume_mm3": 607651.951772114,
"surface_area_mm2": 131313.007405695,
"solid_count": 1,
"face_count": 75,
"edge_count": 177,
"vertex_count": 115
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-244.0,
-100.0,
-6.0,
244.0,
100.0,
6.0
],
"volume_mm3": 607651.951772114,
"surface_area_mm2": 131313.007405695,
"solid_count": 1,
"face_count": 52,
"edge_count": 103,
"vertex_count": 59
},
"comparisons": {
"volume_mm3": {
"expected": 607651.951772114,
"actual": 607651.951772114,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 131313.007405695,
"actual": 131313.007405695,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-244.0,
-100.0,
-6.0,
244.0,
100.0,
6.0
],
"actual": [
-244.0,
-100.0,
-6.0,
244.0,
100.0,
6.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 52,
"actual": 75,
"matches": false
},
"edge_count": {
"expected": 103,
"actual": 177,
"matches": false
},
"vertex_count": {
"expected": 59,
"actual": 115,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}