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

1076 lines
24 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "Ballscrew-slider-ver1",
"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": [
-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": "arc",
"start": [
13.661032889,
28.937452901
],
"end": [
13.661032889,
-28.937452901
],
"center": [
0.0,
0.0
],
"radius_mm": 32.0,
"clockwise": false
},
{
"type": "arc",
"start": [
13.661032889,
-28.937452901
],
"end": [
13.661032889,
28.937452901
],
"center": [
0.0,
0.0
],
"radius_mm": 32.0,
"clockwise": false
}
]
}
]
}
},
{
"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": [
14.0,
80.0
],
"end": [
0.0,
80.0
]
},
{
"type": "line",
"start": [
0.0,
80.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
12.5,
0.0
]
},
{
"type": "line",
"start": [
12.5,
0.0
],
"end": [
12.5,
30.0
]
},
{
"type": "line",
"start": [
12.5,
30.0
],
"end": [
9.0,
30.0
]
},
{
"type": "line",
"start": [
9.0,
30.0
],
"end": [
9.0,
48.0
]
},
{
"type": "line",
"start": [
9.0,
48.0
],
"end": [
14.0,
48.0
]
},
{
"type": "line",
"start": [
14.0,
48.0
],
"end": [
14.0,
80.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
80.0
],
"end": [
0.0,
0.0
]
}
]
}
},
{
"id": "sk_004",
"name": "Sketch5",
"role": "profile",
"workplane": {
"origin_mm": [
80.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": "arc",
"start": [
4.0,
38.917936429
],
"end": [
-4.0,
38.917936429
],
"center": [
0.0,
0.0
],
"radius_mm": 39.122957146,
"clockwise": false
},
{
"type": "line",
"start": [
-4.0,
38.917936429
],
"end": [
-4.0,
26.9
]
},
{
"type": "line",
"start": [
-4.0,
26.9
],
"end": [
4.0,
26.9
]
},
{
"type": "line",
"start": [
4.0,
26.9
],
"end": [
4.0,
38.917936429
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
32.0
]
}
]
}
}
]
},
"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_004",
"name": "Plane1",
"atomic_id": "reference_plane",
"depends_on": [
"f_003"
],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": -1,
"derived_from_sketch_id": "sk_002"
},
"execution_status": "deferred"
},
{
"id": "f_005",
"name": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 80.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_006",
"name": "Plane2",
"atomic_id": "reference_plane",
"depends_on": [
"f_005"
],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": -1,
"derived_from_sketch_id": "sk_003"
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "Ø5.5 (5.5) Diameter Hole1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005"
],
"params": {
"hole_type": "Drill sizes",
"diameter_mm": 5.5,
"depth_mm": 38.1,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
19.0,
0.0,
0.0
]
},
{
"mm": [
-13.43502884,
-13.43502884,
0.0
]
},
{
"mm": [
-13.43502884,
13.43502884,
0.0
]
},
{
"mm": [
-19.0,
0.0,
0.0
]
},
{
"mm": [
13.43502884,
-13.43502884,
0.0
]
},
{
"mm": [
13.43502884,
13.43502884,
0.0
]
}
],
"host_face": {
"kind": "face",
"stable_id": "step-face-6e263821d42f2eac2050caaa",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-30.741262136,
-30.741262136,
0.0,
30.741262136,
30.741262136,
0.0
],
"center_mm": [
0.0,
-0.0,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-6e263821d42f2eac2050caaa",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-30.741262136,
-30.741262136,
0.0,
30.741262136,
30.741262136,
0.0
],
"center_mm": [
0.0,
-0.0,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_009",
"name": "Plane4",
"atomic_id": "reference_plane",
"depends_on": [
"f_005"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
-0.0,
2.0
],
"x_dir": [
-0.0,
1.0,
0.0
],
"normal": [
0.0,
0.0,
-1.0
]
},
"offset_mm": 2.0,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "feature",
"stable_id": "435e87e07820707ebaae1cc1aad816908f39089dc49f30da534ad9ddcc2faa05",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_005"
},
{
"kind": "face",
"stable_id": "c552f6aeffa7719b7f8a9233fe39c311fc93a921eb8c6a2b80dcac9dba6ea275",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
-1.0,
0.0,
0.0,
0.08
]
},
"box": [
-0.032,
-0.032,
0.08,
0.032,
0.032,
0.08
],
"area": 0.0024586889505157136
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "435e87e07820707ebaae1cc1aad816908f39089dc49f30da534ad9ddcc2faa05",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_005"
},
{
"kind": "face",
"stable_id": "c552f6aeffa7719b7f8a9233fe39c311fc93a921eb8c6a2b80dcac9dba6ea275",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
-1.0,
0.0,
0.0,
0.08
]
},
"box": [
-0.032,
-0.032,
0.08,
0.032,
0.032,
0.08
],
"area": 0.0024586889505157136
}
}
]
},
{
"id": "f_010",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_005"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "Cut-Revolve1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_006",
"f_005"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
80.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": "fde6874761484e0e3b7af800c008e11e10414f13088247e50a5f7be57daf3882",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.08,
0.0
],
"end": [
0.0,
0.0,
0.0
]
}
}
]
},
{
"id": "f_012",
"name": "Fillet1",
"atomic_id": "fillet",
"depends_on": [
"f_011"
],
"params": {
"radius_mm": 4.0,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "04_支承与导向件/0402_滑块/040299_通用滑块/Ballscrew slider ver1.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.03237425545723432,
"volume": 0.0002021058743361229,
"surface_area": 0.033672000691604316,
"center_of_mass": [
-9.954640604331667e-17,
6.548493379681511e-19,
0.03894142444163322
],
"principal_moments": [
1.8721126447955153e-05,
2.6060934781114278e-05,
2.6165623114561655e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.03174901573277513,
-0.03174901573277509,
0.0,
0.0317490157327751,
0.03174901573277509,
0.08
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Fillet1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABtAAAAbAAAAGkAAABoAAAAZwAAAA==",
"persist_reference_sha256": "80203d5b57a9982eecaa94998d975dfb120d777592b554f2869a0d8f78f47f58",
"component": null,
"geometry": {
"box": [
-0.03174901573277513,
-0.03174901573277509,
0.0,
0.0317490157327751,
0.03174901573277509,
0.08
],
"face_count": 47,
"edge_count": 102,
"vertex_count": 56
},
"stable_id": "80203d5b57a9982eecaa94998d975dfb120d777592b554f2869a0d8f78f47f58"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 56,
"surface_counts": {
"cone": 8,
"cylinder": 30,
"plane": 18
},
"axis_count": 38,
"repeat_spacings_mm": [
{
"spacing_mm": 82.9791,
"pair_count": 8
},
{
"spacing_mm": 92.4451,
"pair_count": 8
},
{
"spacing_mm": 19.0,
"pair_count": 6
},
{
"spacing_mm": 82.2253,
"pair_count": 6
},
{
"spacing_mm": 19.0263,
"pair_count": 6
},
{
"spacing_mm": 35.1074,
"pair_count": 4
},
{
"spacing_mm": 14.542,
"pair_count": 4
},
{
"spacing_mm": 87.8397,
"pair_count": 4
},
{
"spacing_mm": 26.8701,
"pair_count": 4
},
{
"spacing_mm": 85.7602,
"pair_count": 4
},
{
"spacing_mm": 30.9,
"pair_count": 4
},
{
"spacing_mm": 84.8281,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-31.749015833,
-31.749015833,
-1e-07,
31.749015833,
31.749015833,
80.0000001
],
"volume_mm3": 202105.874336239,
"surface_area_mm2": 33672.00069169,
"solid_count": 1,
"face_count": 56,
"edge_count": 138,
"vertex_count": 92
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-31.749015733,
-31.749015733,
0.0,
31.749015733,
31.749015733,
80.0
],
"volume_mm3": 202105.874336123,
"surface_area_mm2": 33672.000691604,
"solid_count": 1,
"face_count": 47,
"edge_count": 102,
"vertex_count": 56
},
"comparisons": {
"volume_mm3": {
"expected": 202105.874336123,
"actual": 202105.874336239,
"absolute_delta": 1.1600786820054054e-07,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 33672.000691604,
"actual": 33672.00069169,
"absolute_delta": 8.60018189996481e-08,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-31.749015733,
-31.749015733,
0.0,
31.749015733,
31.749015733,
80.0
],
"actual": [
-31.749015833,
-31.749015833,
-1e-07,
31.749015833,
31.749015833,
80.0000001
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 47,
"actual": 56,
"matches": false
},
"edge_count": {
"expected": 102,
"actual": 138,
"matches": false
},
"vertex_count": {
"expected": 56,
"actual": 92,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}