For my 3d printing I Created a Ball Bearing using OnShape

my approach to modeling a ball bearing in OnShape. This document outlines the step-by-step process I used to create all components including the outer race, balls, cage, and inner race.

Starting the Sketch

Here's exactly how I set up my initial sketch:

  1. Initial setup:
    • Started in an empty Parts Studio
    • Pressed 'S' as a shortcut to begin sketching
    • Selected the front plane
    • Used 'N' key for normal view
    • Used 'E' to hide all planes for a cleaner workspace
  2. Creating the base geometry:
    • Used 'L' and 'Q' to make a construction line from the origin
    • Set construction line length to exactly 22mm
    • Drew a circle with a precise 12mm diameter
    • Added a vertical line for reference
    • Used 'Shift+M' to create a midpoint relationship between the line and origin
  3. Project Setup

  4. Building the profile:
    • Created a centerpoint rectangle
    • Set dimensions to 4.8mm width and 12mm height
    • Used 'i' key to make it coincident with the circle
    • Applied mirror command to reflect the four lines using my reference line
  5. Project Setup

    Creating the 3D Components

    Here's how I transformed the sketch into 3D components:

    1. Setting up for revolution:
      • Defined a mate connector at the origin with Z axis pointing up
      • Made the sketch visible again
      • Used the revolve command on both regions around the mate connector
    2. Project Setup

    3. Results of the revolution:
      • Created three distinct parts in my Part Studio:
      • Outer race (ring)
      • Center/inner race
      • Ball component
    4. Project Setup

      Adding Visual Style

      Enhancing the appearance of the components:

      1. Color and transparency:
        • Applied light gray appearance to races
        • Adjusted transparency of two parts using the slider
        • Made the ball orange for better visibility
      2. Project Setup

        Creating the Ball Pattern

        Duplicating the ball in a circular pattern:

        1. Setting up the pattern:
          • Defined a mate connector at the origin
          • Created an assembly circular pattern
          • Selected the ball as the component to pattern
          • Specified 8 instances around the axis
        2. Project Setup

          Building the Cage

          Creating the component that holds the balls in position:

          1. Starting the cage design:
            • Used "Create Part Studio in Context" feature
            • Selected the mate connector as origin
            • Started a sketch on the top plane
            • Used 'P' to hide planes for cleaner view
          2. Project Setup

          3. Creating the cage geometry:
            • Used 'U' to project one ball silhouette to sketch
            • Selected the circle and pressed 'Q' to convert to construction line
            • Used 'B' to create circles connected to the center
            • Extruded the circular edge with mid-plane option
            • Set thickness to 3mm with 25mm extrusion
          4. Finalizing the cage:
            • Performed boolean operation to subtract balls from cage (kept tools)
            • Applied shell command with 1mm thickness
            • Removed three faces for proper structure
            • Mirrored upper cage over the top plane
            • Renamed part to "cage" and customized appearance
          5. Project Setup

            Note: In real bearings, there are two sides of the cage held by pins - might try implementing that approach later.

          Final Assembly and Animation

          Completing the assembly and making it move:

          1. Inserting the cage:
            • Inserted cage into the main assembly
            • Created a group relation between cage and balls
          2. Project Setup

          3. Setting up motion:
            • Hid the mate connector at the origin
            • Selected the face of the cage
            • Picked the mate connector from the origin
            • Suppressed the tangent relationship (no longer needed)
            • Used Revolute tool to animate the assembly
          4. Animation of the completed ball bearing assembly in motion

          Now to 3d print

          Am using a CR200B Crearity 3d printer

          I started by extrating the stl file from the final assembly

          Project Setup

          I used the Creality Slicer 4.8.2 to slice the design

          Project Setup

          Project Setup

          1st Printing

          Project Setup

          Failed because the ball was attached with the cage and it was not moving so i had to edit the sizes

        3. Adding fillets:
          • Applied an other 1mm fillets to edges by selecting faces
          • Ensured smooth transitions between surfaces
        4. Project Setup

          the second printing look promising

          hey it is working but i will need add more space for it to move smoothly

          My 3d scanner Printing

          Project Setup

          Project Setup

          Project Setup

          Project Setup

          Project Setup

          Project Setup

          Project Setup

          Project Setup