Files
cdsl-cad/json_to_cdsl/output/_User-Library-Bearing-Tapped-Pillow-Block_.cdsl.json
T
2026-08-24 14:52:08 +08:00

1321 lines
29 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_User-Library-Bearing-Tapped-Pillow-Block_",
"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": [
-34.666328586,
4.242792404
],
"end": [
34.666328586,
4.242792404
],
"center": [
0.0,
0.0
],
"radius_mm": 34.925,
"clockwise": true
},
{
"type": "line",
"start": [
34.666328586,
4.242792404
],
"end": [
38.1,
-23.8125
]
},
{
"type": "line",
"start": [
38.1,
-23.8125
],
"end": [
38.1,
-36.5125
]
},
{
"type": "line",
"start": [
38.1,
-36.5125
],
"end": [
-38.1,
-36.5125
]
},
{
"type": "line",
"start": [
-38.1,
-36.5125
],
"end": [
-38.1,
-23.8125
]
},
{
"type": "line",
"start": [
-38.1,
-23.8125
],
"end": [
-34.666328586,
4.242792404
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
-45.525709933
],
"end": [
0.0,
40.738126155
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch10",
"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": [
-19.05,
-36.5125
],
"end": [
-11.8364,
34.925
]
},
{
"type": "line",
"start": [
-11.8364,
34.925
],
"end": [
-19.05,
34.925
]
},
{
"type": "line",
"start": [
-19.05,
34.925
],
"end": [
-19.05,
-36.5125
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
19.05,
-36.5125
],
"end": [
11.8364,
34.925
]
},
{
"type": "line",
"start": [
11.8364,
34.925
],
"end": [
19.05,
34.925
]
},
{
"type": "line",
"start": [
19.05,
34.925
],
"end": [
19.05,
-36.5125
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "Sketch9",
"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": "arc",
"start": [
-20.32,
8.001
],
"end": [
-20.32,
-8.001
],
"center": [
-11.844884249,
0.0
],
"radius_mm": 11.655195751,
"clockwise": false
},
{
"type": "line",
"start": [
-20.32,
-8.001
],
"end": [
-20.32,
-19.05
]
},
{
"type": "line",
"start": [
-20.32,
-19.05
],
"end": [
0.0,
-19.05
]
},
{
"type": "line",
"start": [
0.0,
-19.05
],
"end": [
0.0,
19.05
]
},
{
"type": "line",
"start": [
0.0,
19.05
],
"end": [
-20.32,
19.05
]
},
{
"type": "line",
"start": [
-20.32,
19.05
],
"end": [
-20.32,
8.001
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
4.917714966
],
"end": [
0.0,
27.867051475
]
}
]
}
},
{
"id": "sk_005",
"name": "Sketch11",
"role": "profile",
"workplane": {
"origin_mm": [
8.001,
-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": [
0.0,
0.0
],
"radius_mm": 25.4
}
},
{
"id": "sk_006",
"name": "Sketch12",
"role": "profile",
"workplane": {
"origin_mm": [
-8.001,
-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": [
0.0,
0.0
],
"radius_mm": 25.4
}
},
{
"id": "sk_007",
"name": "Sketch5",
"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": [
8.001,
20.32
],
"end": [
-8.001,
20.32
],
"center": [
0.0,
11.844884249
],
"radius_mm": 11.655195751,
"clockwise": false
},
{
"type": "line",
"start": [
-8.001,
20.32
],
"end": [
-8.001,
19.05
]
},
{
"type": "line",
"start": [
-8.001,
19.05
],
"end": [
-13.50645,
19.05
]
},
{
"type": "arc",
"start": [
-13.50645,
19.05
],
"end": [
-14.3002,
18.25625
],
"center": [
-13.50645,
18.25625
],
"radius_mm": 0.79375,
"clockwise": true
},
{
"type": "line",
"start": [
-14.3002,
18.25625
],
"end": [
-14.3002,
13.49375
]
},
{
"type": "line",
"start": [
-14.3002,
13.49375
],
"end": [
-13.50645,
12.7
]
},
{
"type": "line",
"start": [
-13.50645,
12.7
],
"end": [
18.90649,
12.7
]
},
{
"type": "line",
"start": [
18.90649,
12.7
],
"end": [
19.70024,
13.49375
]
},
{
"type": "line",
"start": [
19.70024,
13.49375
],
"end": [
19.70024,
18.25625
]
},
{
"type": "arc",
"start": [
19.70024,
18.25625
],
"end": [
18.90649,
19.05
],
"center": [
18.90649,
18.25625
],
"radius_mm": 0.79375,
"clockwise": true
},
{
"type": "line",
"start": [
18.90649,
19.05
],
"end": [
8.001,
19.05
]
},
{
"type": "line",
"start": [
8.001,
19.05
],
"end": [
8.001,
20.32
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
39.261203047,
0.0
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Front",
"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",
"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": "Base-Extrude",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 38.1,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_007",
"name": "Plane1",
"atomic_id": "reference_plane",
"depends_on": [
"f_001"
],
"params": {
"plane": {
"origin_mm": [
0.0,
8.001,
0.0
],
"normal": [
0.0,
1.0,
0.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 8.001,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "75d0fc5445daf46ab7c00939122d768baf26a0763df74506c70d0d85d4e8b025",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "75d0fc5445daf46ab7c00939122d768baf26a0763df74506c70d0d85d4e8b025",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
{
"id": "f_009",
"name": "Plane2",
"atomic_id": "reference_plane",
"depends_on": [
"f_001"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
-8.001,
-0.0
],
"normal": [
0.0,
1.0,
0.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 8.001,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "75d0fc5445daf46ab7c00939122d768baf26a0763df74506c70d0d85d4e8b025",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "75d0fc5445daf46ab7c00939122d768baf26a0763df74506c70d0d85d4e8b025",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
{
"id": "f_003",
"name": "Right",
"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": "Cut-Revolve1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_002",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
4.917714966,
0.0
],
"direction": [
0.0,
1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"selectors": [
{
"kind": "axis",
"stable_id": "06bcbb53ab1820ca4a8872dfb67b4a43b855a5ad71f71acee1827baf43a755fc",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.004917714966170496,
0.0
],
"end": [
0.0,
0.027867051474966154,
0.0
]
}
}
]
},
{
"id": "f_008",
"name": "Cut-Extrude5",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_007",
"f_004"
],
"params": {
"distance_mm": 25.4,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_013",
"name": "3/8-16 Tapped Hole1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "Tapped hole",
"diameter_mm": 9.525,
"depth_mm": 15.875,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-25.4,
0.0,
0.0
]
},
{
"mm": [
25.4,
0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 9.525,
"depth_mm": 15.875,
"class": ""
}
},
"execution_status": "deferred",
"sketch_id": "sk_001"
},
{
"id": "f_005",
"name": "Cut-Extrude4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
},
"reverse_distance_mm": 0.0,
"reverse_end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_010",
"name": "Cut-Extrude6",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_009",
"f_004",
"f_008"
],
"params": {
"distance_mm": 25.4,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_011",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_005",
"f_010",
"f_008"
],
"params": {
"distance_mm": 3.048,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_012",
"name": "Boss-Revolve1",
"atomic_id": "revolve_add",
"depends_on": [
"f_003",
"f_004",
"f_008",
"f_010",
"f_006"
],
"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_007",
"selectors": [
{
"kind": "axis",
"stable_id": "c6ac5cbad29b13388e70f233f32dcf179a6609339993a093395506c009dd998b",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.03926120304725288,
0.0,
0.0
]
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "02_传动件/0203_轴承/020399_通用轴承/标准_User Library-Bearing Tapped Pillow Block_.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.8307881752550096,
"volume": 0.00011543891742959188,
"surface_area": 0.024204829542200983,
"center_of_mass": [
-5.844492407152119e-09,
-0.007957370357727171,
-0.0005002126164171568
],
"principal_moments": [
0.0004054560045955432,
0.0004582385659874511,
0.0007218536545015253
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0381,
-0.036512499999999996,
-0.019700239999999994,
0.0381,
0.03492500000000002,
0.01905
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "3/8-16 Tapped Hole1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAABrAAAAagAAAGkAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "3b8b7c30d93f27f936e9507810dc26ba49c28019b98dc9f56cb903757fd97fc1",
"component": null,
"geometry": {
"box": [
-0.0381,
-0.036512499999999996,
-0.019700239999999994,
0.0381,
0.03492500000000002,
0.01905
],
"face_count": 27,
"edge_count": 38,
"vertex_count": 14
},
"stable_id": "3b8b7c30d93f27f936e9507810dc26ba49c28019b98dc9f56cb903757fd97fc1"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 42,
"surface_counts": {
"bspline": 4,
"cone": 8,
"cylinder": 15,
"plane": 11,
"torus": 4
},
"axis_count": 23,
"repeat_spacings_mm": [
{
"spacing_mm": 43.8415,
"pair_count": 4
},
{
"spacing_mm": 55.6233,
"pair_count": 4
},
{
"spacing_mm": 23.8125,
"pair_count": 2
},
{
"spacing_mm": 50.8,
"pair_count": 2
},
{
"spacing_mm": 56.1041,
"pair_count": 2
},
{
"spacing_mm": 28.3981,
"pair_count": 2
},
{
"spacing_mm": 34.1161,
"pair_count": 2
},
{
"spacing_mm": 31.7954,
"pair_count": 2
},
{
"spacing_mm": 34.1958,
"pair_count": 2
},
{
"spacing_mm": 44.4783,
"pair_count": 2
},
{
"spacing_mm": 48.3299,
"pair_count": 2
},
{
"spacing_mm": 46.7206,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-38.1000001,
-36.5125001,
-19.70024,
38.1000001,
34.9250001,
19.0500001
],
"volume_mm3": 115444.317961501,
"surface_area_mm2": 24203.563772468,
"solid_count": 1,
"face_count": 42,
"edge_count": 92,
"vertex_count": 58
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-38.1,
-36.5125,
-19.70024,
38.1,
34.925,
19.05
],
"volume_mm3": 115438.917429592,
"surface_area_mm2": 24204.829542201,
"solid_count": 1,
"face_count": 27,
"edge_count": 38,
"vertex_count": 14
},
"comparisons": {
"volume_mm3": {
"expected": 115438.917429592,
"actual": 115444.317961501,
"absolute_delta": 5.400531909006531,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 24204.829542201,
"actual": 24203.563772468,
"absolute_delta": 1.2657697330032534,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-38.1,
-36.5125,
-19.70024,
38.1,
34.925,
19.05
],
"actual": [
-38.1000001,
-36.5125001,
-19.70024,
38.1000001,
34.9250001,
19.0500001
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 27,
"actual": 42,
"matches": false
},
"edge_count": {
"expected": 38,
"actual": 92,
"matches": false
},
"vertex_count": {
"expected": 14,
"actual": 58,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}