cqparts_bearings package

Submodules

cqparts_bearings.ball module

class cqparts_bearings.ball.BallBearing(*largs, **kwargs)

Bases: cqparts.assembly.Assembly

ParametricObject constructor parameters:

Parameters:
  • angle (float) – bearing’s inner ring’s rotation (unit: deg)
  • ball_count (int) – number of ball bearings
  • ball_diam (float) – diameter of ball bearings (default: distance between outer and inner radii / 2)
  • ball_min_gap (float) – minimum gap between balls (measured along vector between spherical centers) (default: ball_diam / 10)
  • inner_diam (float) – inner diameter
  • inner_width (float) – inner ring’s thickness (default maximum / 3)
  • outer_diam (float) – outer diameter
  • outer_width (float) – outer ring’s thickness (default maximum / 3)
  • rolling_radius (float) – radius at which the balls roll (default: half way between outer & inner radii)
  • tolerance (float) – gap between rolling elements and their tracks
  • width (float) – bearing width

Search Criteria:

This object can be found with find() and search() using the following search criteria.

Key Value
module cqparts_bearings
name ballbearing

Ball bearing

../_images/ball-bearing.png
get_cutter()
initialize_parameters()
make_components()
make_constraints()
mate_axis_center
mate_axis_end
mate_axis_start

cqparts_bearings.tapered_roller module

class cqparts_bearings.tapered_roller.TaperedRollerBearing(*largs, **kwargs)

Bases: cqparts.assembly.Assembly

ParametricObject constructor parameters:

Parameters:
  • height (float) – bearing height
  • inner_diam (float) – inner diameter
  • outer_diam (float) – outer diameter
  • roller_angle (float) – tilt of roller’s rotation axis (unit: degrees)
  • roller_count (int) – number of rollers
  • roller_diam (float) – diamter of roller at cross-section perpendicular to roller’s rotation axis where bearing’s axis meets XY plane
  • roller_height (float) – length of roller along its rotational axis
  • roller_min_gap (float) – minimum gap between rollers
  • rolling_radius (float) – distance from bearing center to rolling element rotation axis along XY plane
  • tolerance (float) – gap between rollers and their tracks

Search Criteria:

This object can be found with find() and search() using the following search criteria.

Key Value
module cqparts_bearings
name taperedrollerbearing

Taperd roller bearing, with conical rolling elements

../_images/tapered-roller-bearing.png
initialize_parameters()
make_components()
make_constraints()
max_roller_count

The maximum number of balls given rolling_radius and roller_diam

Returns:maximum roller count
Return type:int

Note

Calculation is inaccurate, it assumes the roller’s cross-section on a horizontal plane is circular, however a rotated cone’s cross-section will be closer to eliptical than circular.

Module contents

Copyright 2018 Peter Boin

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.