Skip to main content

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')
https://fragmuffin.github.io/cqparts/media/img/bearings/ball-example.png

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

Metadata

Release files for cqparts-bearings 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cqparts-bearings 0.1.0
File Size Uploaded Provenance
cqparts_bearings-0.1.0.tar.gz 19.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cqparts-bearings 0.1.0
File Interpreter ABI Platform
cqparts_bearings-0.1.0-py2-none-any.whl Python 2 none any Details

Total release size: 41.5 kB

Release files / cqparts_bearings-0.1.0.tar.gz

Download URL cqparts_bearings-0.1.0.tar.gz
Size 19.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f903ab0ce02f93a9cee5e4d9332a20810120b570546ecb1ea6483a5260ad4010
BLAKE2b-256 checksum
How to use checksums
00e956cf4bf1f70753ed894992dd9e3d4255c85edef662c5917635ab9682ccb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cqparts_bearings-0.1.0-py2-none-any.whl

Download URL cqparts_bearings-0.1.0-py2-none-any.whl
Size 22.0 kB
Tags Python 2
SHA-256 checksum
How to use checksums
0b9e746819c653565cb64c5bfdbcac7002169058e3a29514ea87814e653cbf21
BLAKE2b-256 checksum
How to use checksums
cd801bb7824ae00383c57ff3f74114fd7cbe6f1501f0935c8a333af15938eea9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for cqparts-bearings 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page