Files
cdsl-cad/json_to_cdsl/output/_Bearing-Insert.cdsl.json
T
2026-08-24 14:52:08 +08:00

901 lines
21 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_Bearing-Insert",
"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": [
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": "arc",
"start": [
10.50036,
38.597098853
],
"end": [
-10.50036,
38.597098853
],
"center": [
0.0,
0.0
],
"radius_mm": 39.99992,
"clockwise": false
},
{
"type": "line",
"start": [
-10.50036,
38.597098853
],
"end": [
-10.50036,
36.0299
]
},
{
"type": "line",
"start": [
-10.50036,
36.0299
],
"end": [
10.50036,
36.0299
]
},
{
"type": "line",
"start": [
10.50036,
36.0299
],
"end": [
10.50036,
38.597098853
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
27.094419964,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch2",
"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": "annulus",
"center": [
0.0,
0.0
],
"inner_radius_mm": 19.05,
"outer_radius_mm": 26.5049
}
},
{
"id": "sk_004",
"name": "Sketch3",
"role": "profile",
"workplane": {
"origin_mm": [
10.50036,
-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": "annulus",
"center": [
0.0,
0.0
],
"inner_radius_mm": 26.5049,
"outer_radius_mm": 35.7759
}
},
{
"id": "sk_005",
"name": "Sketch4",
"role": "profile",
"workplane": {
"origin_mm": [
10.50036,
-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": "annulus",
"center": [
0.0,
0.0
],
"inner_radius_mm": 26.5049,
"outer_radius_mm": 26.7589
}
}
]
},
"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_005",
"name": "Hub",
"atomic_id": "extrude_add_two_sided",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 30.2006,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
},
"reverse_distance_mm": 18.9992,
"reverse_end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"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_006",
"name": "Fillet1",
"atomic_id": "fillet",
"depends_on": [
"f_005"
],
"params": {
"radius_mm": 2.0066,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_004",
"name": "Raceway",
"atomic_id": "revolve_add",
"depends_on": [
"f_003"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "670f1d41bff731d876854d6b0edfc375423d0cdd70cdb7b531b4f4d72293d13a",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.027094419964349366,
0.0,
0.0
]
}
}
]
},
{
"id": "f_009",
"name": "Tapped Hole1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001",
"f_003",
"f_005"
],
"params": {
"hole_type": "Tapped hole",
"diameter_mm": 7.9375,
"depth_mm": 7.770716787,
"end_condition": {
"solidworks_code": 2,
"type": "through_all_both"
},
"positions": [
{
"mm": [
0.0,
-19.05,
22.1996
]
}
],
"thread": {
"diameter_mm": 7.9375,
"depth_mm": 7.770716787,
"class": ""
},
"host_face": {
"kind": "face",
"stable_id": "step-face-e5c8616f33ea1b91cc67d8d3",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-19.0500001,
-19.0500001,
-16.9926001,
19.0500001,
1e-07,
28.1940001
],
"center_mm": [
0.0,
-19.05,
5.6007
],
"normal": [
-0.0,
1.0,
-0.0
],
"surface_type": "cylinder",
"axis": {
"origin_mm": [
0.0,
0.0,
30.2006
],
"direction": [
-0.0,
-0.0,
-1.0
],
"surface_type": "cylinder",
"radius_mm": 19.05
}
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-e5c8616f33ea1b91cc67d8d3",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-19.0500001,
-19.0500001,
-16.9926001,
19.0500001,
1e-07,
28.1940001
],
"center_mm": [
0.0,
-19.05,
5.6007
],
"normal": [
-0.0,
1.0,
-0.0
],
"surface_type": "cylinder",
"axis": {
"origin_mm": [
0.0,
0.0,
30.2006
],
"direction": [
-0.0,
-0.0,
-1.0
],
"surface_type": "cylinder",
"radius_mm": 19.05
}
}
}
]
},
{
"id": "f_010",
"name": "Axis1",
"atomic_id": "reference_axis",
"depends_on": [
"f_003",
"f_002"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
},
{
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
},
{
"id": "f_007",
"name": "Seal",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.254,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "Lip",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_007"
],
"params": {
"distance_mm": 4.7625,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
}
],
"meta": {
"unit": "mm",
"source": "02_传动件/0203_轴承/020399_通用轴承/标准_Bearing Insert.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.5479665974296923,
"volume": 7.02521278756016e-05,
"surface_area": 0.03777677914470817,
"center_of_mass": [
-7.844955491897006e-05,
4.530222775233878e-05,
0.003968215447772416
],
"principal_moments": [
0.0002967066330305358,
0.0002978398402930204,
0.0004185080519264467
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.03999992,
-0.03999992,
-0.0189992,
0.03999992,
0.03999992,
0.0302006
],
"solid_body_count": 4,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Mirror1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABuAAAA",
"persist_reference_sha256": "500a2a6da2dc2f3e7b340b5634ad1ec8f40956c9c1d4e74aeb22d54ca0503e60",
"component": null,
"geometry": {
"box": [
-0.0357759,
-0.0357759,
-0.01526286,
0.0357759,
0.0357759,
-0.01024636
],
"face_count": 6,
"edge_count": 6,
"vertex_count": 0
},
"stable_id": "500a2a6da2dc2f3e7b340b5634ad1ec8f40956c9c1d4e74aeb22d54ca0503e60"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "CirPattern1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABxAAAAcAAAAGsAAAA=",
"persist_reference_sha256": "9fa7a90aa9c3cd01370fb83c43a3afec9ff8d4efd4e44d60a312a73172ddbd55",
"component": null,
"geometry": {
"box": [
-0.0265049,
-0.0265049,
-0.0189992,
0.0265049,
0.0265049,
0.0302006
],
"face_count": 10,
"edge_count": 12,
"vertex_count": 0
},
"stable_id": "9fa7a90aa9c3cd01370fb83c43a3afec9ff8d4efd4e44d60a312a73172ddbd55"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Lip",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABtAAAAbAAAAA==",
"persist_reference_sha256": "3e051556580230328b43e0a967c45f9c196858efcd1f9fd3bcf68462cf8f8597",
"component": null,
"geometry": {
"box": [
-0.0357759,
-0.0357759,
0.01024636,
0.0357759,
0.0357759,
0.01526286
],
"face_count": 6,
"edge_count": 6,
"vertex_count": 0
},
"stable_id": "3e051556580230328b43e0a967c45f9c196858efcd1f9fd3bcf68462cf8f8597"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Raceway",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABqAAAA",
"persist_reference_sha256": "e7c660540d9b751b0168bd238d38ea4f30e335295d3f241d0c885d54707288d6",
"component": null,
"geometry": {
"box": [
-0.03999992,
-0.03999992,
-0.01050036,
0.03999992,
0.03999992,
0.01050036
],
"face_count": 4,
"edge_count": 4,
"vertex_count": 0
},
"stable_id": "e7c660540d9b751b0168bd238d38ea4f30e335295d3f241d0c885d54707288d6"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 42,
"surface_counts": {
"cylinder": 22,
"plane": 10,
"sphere": 2,
"torus": 8
},
"axis_count": 22,
"repeat_spacings_mm": [
{
"spacing_mm": 15.2629,
"pair_count": 2
},
{
"spacing_mm": 10.2464,
"pair_count": 2
},
{
"spacing_mm": 29.2528,
"pair_count": 2
},
{
"spacing_mm": 5.0165,
"pair_count": 2
},
{
"spacing_mm": 25.5092,
"pair_count": 2
},
{
"spacing_mm": 20.2736,
"pair_count": 2
},
{
"spacing_mm": 22.4896,
"pair_count": 2
},
{
"spacing_mm": 42.0278,
"pair_count": 2
},
{
"spacing_mm": 37.625,
"pair_count": 2
},
{
"spacing_mm": 20.662,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-39.99992,
-39.99992,
-18.9992,
39.99992,
39.99992,
30.2006
],
"volume_mm3": 70253.137124739,
"surface_area_mm2": 37776.821915722,
"solid_count": 4,
"face_count": 42,
"edge_count": 91,
"vertex_count": 59
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-39.99992,
-39.99992,
-18.9992,
39.99992,
39.99992,
30.2006
],
"volume_mm3": 70252.127875602,
"surface_area_mm2": 37776.779144708,
"solid_count": 4,
"face_count": 26,
"edge_count": 28,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 70252.127875602,
"actual": 70253.137124739,
"absolute_delta": 1.0092491370014613,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 37776.779144708,
"actual": 37776.821915722,
"absolute_delta": 0.04277101399929961,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-39.99992,
-39.99992,
-18.9992,
39.99992,
39.99992,
30.2006
],
"actual": [
-39.99992,
-39.99992,
-18.9992,
39.99992,
39.99992,
30.2006
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 4,
"actual": 4,
"matches": true
},
"face_count": {
"expected": 26,
"actual": 42,
"matches": false
},
"edge_count": {
"expected": 28,
"actual": 91,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 59,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}