Files
cdsl-cad/json_to_cdsl/output/Ballscrew-1605-L300.cdsl.json
T
2026-08-24 14:52:08 +08:00

559 lines
12 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "Ballscrew-1605-L300",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "Origin",
"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": "Sketch1",
"role": "profile",
"workplane": {
"origin_mm": [
286.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": "circle",
"center": [
9.665e-06,
0.000156853
],
"radius_mm": 4.999990338
}
},
{
"id": "sk_003",
"name": "Sketch2",
"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": [
5.0,
-51.0
],
"end": [
0.0,
-51.0
]
},
{
"type": "line",
"start": [
0.0,
-51.0
],
"end": [
0.0,
-62.0
]
},
{
"type": "line",
"start": [
0.0,
-62.0
],
"end": [
5.0,
-62.0
]
},
{
"type": "line",
"start": [
5.0,
-62.0
],
"end": [
5.0,
-54.0
]
},
{
"type": "line",
"start": [
5.0,
-54.0
],
"end": [
4.8,
-54.0
]
},
{
"type": "line",
"start": [
4.8,
-54.0
],
"end": [
4.8,
-52.85
]
},
{
"type": "line",
"start": [
4.8,
-52.85
],
"end": [
5.0,
-52.85
]
},
{
"type": "line",
"start": [
5.0,
-52.85
],
"end": [
5.0,
-51.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
-51.0
],
"end": [
0.0,
-62.005001
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Front Plane",
"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": "Top Plane",
"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": "Right Plane",
"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": "Revolve1",
"atomic_id": "revolve_add",
"depends_on": [
"f_002"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
-51.0,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "axis",
"stable_id": "01c48a069ba1a4793856e9f3caf37a2a19d90195f825348c5fde8613b25c82df",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
-0.051,
0.0
],
"end": [
0.0,
-0.06200500099990002,
0.0
]
}
}
]
},
{
"id": "f_004",
"name": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_003"
],
"params": {
"distance_mm": 15.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_002"
},
{
"id": "f_006",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 0.5,
"angle_rad": 0.7853981642948962
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "02_传动件/0202_轴/020204_丝杠/Ballscrew 1605 L300.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.28907122682844394,
"volume": 3.682436010553426e-05,
"surface_area": 0.014346887059365336,
"center_of_mass": [
9.07652642225737e-08,
8.050626934468358e-07,
0.1698561101631356
],
"principal_moments": [
7.27793551111667e-06,
0.0012904427836820994,
0.0012904471500061602
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.008005000000000002,
-0.008005,
0.05099999999999999,
0.008005129667167755,
0.008005,
0.301
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Chamfer1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABpAAAAaAAAAGcAAAA=",
"persist_reference_sha256": "41edf035ecfffb634600fa7f630e0fc1dc112e3f3d6eb033ea6eabb782ca8166",
"component": null,
"geometry": {
"box": [
-0.008005,
-0.008005,
0.051,
0.008005129667167755,
0.008005,
0.301
],
"face_count": 27,
"edge_count": 143,
"vertex_count": 119
},
"stable_id": "41edf035ecfffb634600fa7f630e0fc1dc112e3f3d6eb033ea6eabb782ca8166"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 133,
"surface_counts": {
"bspline": 6,
"cone": 4,
"cylinder": 113,
"plane": 10
},
"axis_count": 117,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-8.0000001,
-8.000247816,
51.0,
8.00009908,
8.000000138,
301.0
],
"volume_mm3": 36861.264262964,
"surface_area_mm2": 14350.392227076,
"solid_count": 1,
"face_count": 133,
"edge_count": 366,
"vertex_count": 240
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-8.005,
-8.005,
51.0,
8.005129667,
8.005,
301.0
],
"volume_mm3": 36824.360105534,
"surface_area_mm2": 14346.887059365,
"solid_count": 1,
"face_count": 27,
"edge_count": 143,
"vertex_count": 119
},
"comparisons": {
"volume_mm3": {
"expected": 36824.360105534,
"actual": 36861.264262964,
"absolute_delta": 36.90415743000631,
"within_tolerance": false
},
"surface_area_mm2": {
"expected": 14346.887059365,
"actual": 14350.392227076,
"absolute_delta": 3.5051677109986485,
"within_tolerance": false
},
"bounding_box_mm": {
"expected": [
-8.005,
-8.005,
51.0,
8.005129667,
8.005,
301.0
],
"actual": [
-8.0000001,
-8.000247816,
51.0,
8.00009908,
8.000000138,
301.0
],
"max_absolute_delta": 0.005030587000000253,
"within_tolerance": false
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 27,
"actual": 133,
"matches": false
},
"edge_count": {
"expected": 143,
"actual": 366,
"matches": false
},
"vertex_count": {
"expected": 119,
"actual": 240,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}