Bearings content library for cqparts
Project description
Components
Ball Bearings
Tapered Roller Bearings
Examples
BallBearing
Create a ball bearing with:
from cqparts_bearings.ball import BallBearing
bearing = BallBearing(
# outer edges
inner_diam=8,
outer_diam=20,
width=5,
# internal rolling elements
ball_count=6,
ball_diam=4,
)
# display [optional]
from cqparts.display import display
display(bearing)
# export model to file, various formats available [optional]
bearing.exporter('gltf')('bearing.gltf')
All BallBearing parameters are documented here.
The bearing is generated in the following hierarchy:
>>> print(bearing.tree_str())
<BallBearing: angle=0.0, ball_count=6, ball_diam=4.0, ball_min_gap=0.4, inner_diam=8.0, inner_width=2.0, outer_diam=20.0, outer_width=2.0, rolling_radius=7.0, tolerance=0.001, width=5.0>
├○ inner_ring
├○ outer_ring
└─ rolling_elements
├○ ball_000
├○ ball_001
├○ ball_002
├○ ball_003
├○ ball_004
└○ ball_005
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cqparts_bearings-0.1.0.tar.gz
(19.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cqparts_bearings-0.1.0.tar.gz.
File metadata
- Download URL: cqparts_bearings-0.1.0.tar.gz
- Upload date:
- Size: 19.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f903ab0ce02f93a9cee5e4d9332a20810120b570546ecb1ea6483a5260ad4010
|
|
| MD5 |
afb1260730e3c0ddb551f1d083413a52
|
|
| BLAKE2b-256 |
00e956cf4bf1f70753ed894992dd9e3d4255c85edef662c5917635ab9682ccb5
|
File details
Details for the file cqparts_bearings-0.1.0-py2-none-any.whl.
File metadata
- Download URL: cqparts_bearings-0.1.0-py2-none-any.whl
- Upload date:
- Size: 22.0 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b9e746819c653565cb64c5bfdbcac7002169058e3a29514ea87814e653cbf21
|
|
| MD5 |
0930a5a289d23648425dc26b423dc6e9
|
|
| BLAKE2b-256 |
cd801bb7824ae00383c57ff3f74114fd7cbe6f1501f0935c8a333af15938eea9
|