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

1096 lines
24 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "008651",
"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": [
-55.529354556,
65.746746307
],
"end": [
44.470645444,
65.746746307
]
},
{
"type": "line",
"start": [
44.470645444,
65.746746307
],
"end": [
44.470645444,
135.746746307
]
},
{
"type": "line",
"start": [
44.470645444,
135.746746307
],
"end": [
-55.529354556,
135.746746307
]
},
{
"type": "line",
"start": [
-55.529354556,
135.746746307
],
"end": [
-55.529354556,
65.746746307
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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,
65.746746307
],
"end": [
-1.0,
65.746746307
]
},
{
"type": "line",
"start": [
-1.0,
65.746746307
],
"end": [
-1.0,
90.746746307
]
},
{
"type": "line",
"start": [
-1.0,
90.746746307
],
"end": [
0.0,
90.746746307
]
},
{
"type": "line",
"start": [
0.0,
90.746746307
],
"end": [
0.0,
65.746746307
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-0.0,
110.746746307
],
"end": [
-1.0,
110.746746307
]
},
{
"type": "line",
"start": [
-1.0,
110.746746307
],
"end": [
-1.0,
135.746746307
]
},
{
"type": "line",
"start": [
-1.0,
135.746746307
],
"end": [
0.0,
135.746746307
]
},
{
"type": "line",
"start": [
0.0,
135.746746307
],
"end": [
-0.0,
110.746746307
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图4",
"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": [
9.0,
65.746746307
],
"end": [
8.0,
65.746746307
]
},
{
"type": "line",
"start": [
8.0,
65.746746307
],
"end": [
8.0,
75.746746307
]
},
{
"type": "line",
"start": [
8.0,
75.746746307
],
"end": [
9.0,
75.746746307
]
},
{
"type": "line",
"start": [
9.0,
75.746746307
],
"end": [
9.0,
65.746746307
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
9.0,
135.746746307
],
"end": [
8.0,
135.746746307
]
},
{
"type": "line",
"start": [
8.0,
135.746746307
],
"end": [
8.0,
125.746746307
]
},
{
"type": "line",
"start": [
8.0,
125.746746307
],
"end": [
9.0,
125.746746307
]
},
{
"type": "line",
"start": [
9.0,
125.746746307
],
"end": [
9.0,
135.746746307
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图9",
"role": "profile",
"workplane": {
"origin_mm": [
-1.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": "circles",
"items": [
{
"center": [
33.529354556,
130.746746307
],
"radius_mm": 2.0
},
{
"center": [
33.529354556,
70.746746307
],
"radius_mm": 2.0
}
]
}
},
{
"id": "sk_006",
"name": "草图10",
"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": [
-9.0,
84.246746307
],
"end": [
-8.5,
84.246746307
]
},
{
"type": "line",
"start": [
-8.5,
84.246746307
],
"end": [
-8.5,
117.246746307
]
},
{
"type": "line",
"start": [
-8.5,
117.246746307
],
"end": [
-9.0,
117.246746307
]
},
{
"type": "line",
"start": [
-9.0,
117.246746307
],
"end": [
-9.0,
84.246746307
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-9.0,
100.746746307
],
"end": [
-6.678830924,
100.746746307
]
}
]
}
}
]
},
"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": 9.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"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_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4,
"reference": {
"kind": "face",
"stable_id": "c8907f7d3709a4e35e8110b74ecc68fcd1fe8f25c052a30b6f4ffd83a00dfcfd",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-1.0,
-1.9825411154020646e-16,
0.0,
0.044470645443875884,
0.06574674630685877,
0.009
]
},
"box": [
0.04447064544387587,
0.06574674630685877,
0.0,
0.044470645443875884,
0.1357467463068588,
0.009
],
"area": 0.0006300000000000001
}
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"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_004"
},
{
"id": "f_009",
"name": "切除-拉伸3",
"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_006"
},
{
"id": "f_007",
"name": "M5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_006"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 9.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-45.529354556,
131.246746307,
0.0
]
},
{
"mm": [
-5.529354556,
131.246746307,
0.0
]
},
{
"mm": [
34.470645444,
131.246746307,
0.0
]
},
{
"mm": [
34.470645444,
70.246746307,
0.0
]
},
{
"mm": [
-5.529354556,
70.246746307,
0.0
]
},
{
"mm": [
-45.529354556,
70.246746307,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 9.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_010",
"name": "M5 螺纹孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-29.470645444,
80.746746307,
0.0
]
},
{
"mm": [
5.529354556,
80.746746307,
0.0
]
},
{
"mm": [
40.529354556,
80.746746307,
0.0
]
},
{
"mm": [
-29.470645444,
120.746746307,
0.0
]
},
{
"mm": [
5.529354556,
120.746746307,
0.0
]
},
{
"mm": [
40.529354556,
120.746746307,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 10.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "008651.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.06254440103827581,
"volume": 6.25444010382758e-05,
"surface_area": 0.018934617584683885,
"center_of_mass": [
-0.005428091282601671,
0.10074674630685876,
0.003882478157833671
],
"principal_moments": [
2.5766383468437604e-05,
5.241829911669894e-05,
7.728443055558554e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.05552940455612412,
0.06574674630685876,
-0.0010000250000000016,
0.044470695443875885,
0.13574674630685882,
0.009000000000000001
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M5 螺纹孔2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAABsAAAAawAAAGoAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "1bd1f89166215c7e4dac4fff41fb6101b22c557f6e3513951f314c3cb7ae87b2",
"component": null,
"geometry": {
"box": [
-0.05552940455612412,
0.06574674630685877,
-0.001000025000000001,
0.044470695443875885,
0.13574674630685882,
0.009000000000000001
],
"face_count": 32,
"edge_count": 76,
"vertex_count": 32
},
"stable_id": "1bd1f89166215c7e4dac4fff41fb6101b22c557f6e3513951f314c3cb7ae87b2"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 46,
"surface_counts": {
"cylinder": 28,
"plane": 18
},
"axis_count": 28,
"repeat_spacings_mm": [
{
"spacing_mm": 40.0,
"pair_count": 7
},
{
"spacing_mm": 35.0,
"pair_count": 4
},
{
"spacing_mm": 53.1507,
"pair_count": 4
},
{
"spacing_mm": 90.8639,
"pair_count": 4
},
{
"spacing_mm": 62.0987,
"pair_count": 4
},
{
"spacing_mm": 51.5388,
"pair_count": 4
},
{
"spacing_mm": 14.7054,
"pair_count": 4
},
{
"spacing_mm": 37.6331,
"pair_count": 4
},
{
"spacing_mm": 76.2643,
"pair_count": 4
},
{
"spacing_mm": 65.0481,
"pair_count": 4
},
{
"spacing_mm": 42.3232,
"pair_count": 4
},
{
"spacing_mm": 72.9452,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-55.529354556,
65.746746307,
-1.0,
44.470645444,
135.746746307,
9.0
],
"volume_mm3": 62544.401038276,
"surface_area_mm2": 18934.617584684,
"solid_count": 1,
"face_count": 46,
"edge_count": 132,
"vertex_count": 88
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-55.529404556,
65.746746307,
-1.000025,
44.470695444,
135.746746307,
9.0
],
"volume_mm3": 62544.401038276,
"surface_area_mm2": 18934.617584684,
"solid_count": 1,
"face_count": 32,
"edge_count": 76,
"vertex_count": 32
},
"comparisons": {
"volume_mm3": {
"expected": 62544.401038276,
"actual": 62544.401038276,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 18934.617584684,
"actual": 18934.617584684,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-55.529404556,
65.746746307,
-1.000025,
44.470695444,
135.746746307,
9.0
],
"actual": [
-55.529354556,
65.746746307,
-1.0,
44.470645444,
135.746746307,
9.0
],
"max_absolute_delta": 5.000000000165983e-05,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 32,
"actual": 46,
"matches": false
},
"edge_count": {
"expected": 76,
"actual": 132,
"matches": false
},
"vertex_count": {
"expected": 32,
"actual": 88,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}