Skip to main content

Bearings content library for cqparts

Project description


  • Ball Bearings
  • Tapered Roller Bearings



Create a ball bearing with:

from cqparts_bearings.ball import BallBearing

bearing = BallBearing(
    # outer edges

    # internal rolling elements

# display [optional]
from cqparts.display import display

# export model to file, various formats available [optional]

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cqparts-bearings, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size cqparts_bearings-0.1.0.tar.gz (19.5 kB) File type Source Python version None Upload date Hashes View
Filename, size cqparts_bearings-0.1.0-py2-none-any.whl (22.0 kB) File type Wheel Python version py2 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page