A deep groove ball bearing inner ring is a circular component that forms the inner raceway for the bearing balls. It is designed to support...
Run
harbor run -t gnucleus-ai/freecad-e50de66084
Download
harbor download gnucleus-ai/freecad-e50de66084
Details
Revision
2
Published
Sep 3, 2026
Visibility
Public
Authors
gNucleus AI, Inc.
Content hash
Keywords
freecad
cad
parametric
geometry
python
Write a FreeCAD Python script to answer.py that reproduces the
part described below.
The model must be built as a parametric feature tree inside a single PartDesign Body,
producing exactly one solid body. Use editable PartDesign features to construct the
model for better parameterization.The saved FCStd must contain named document objects
whose properties drive the geometry, not a single Part::Feature holding
a pre-computed TopoShape.
Save the generated model as an .FCStd file next to the script, using
the script stem as the output basename. The output path must be derived
from __file__ at runtime; do not hardcode the path or rely on the
current working directory. Only the FCStd written next to the executing
script file is graded.
Part description:
A deep groove ball bearing inner ring is a circular component that forms the inner raceway for the bearing balls. It is designed to support rotational motion and is defined by its bore, raceway geometry, and shoulder dimensions.
The bore diameter defines the inner opening of the ring, which determines the shaft size it can accommodate. The bearing width specifies the axial thickness of the ring, ensuring compatibility with the overall bearing assembly.
The raceway geometry is determined by the raceway depth ratio and the ball diameter. These parameters define the curvature and depth of the groove, ensuring proper seating and smooth motion of the balls.
The shoulder diameter defines the outermost diameter of the inner ring, providing structural integrity and ensuring proper alignment with the bearing balls.
MAKE SURE: The shoulder diameter must be greater than the bore diameter and slightly larger than the ball diameter to ensure proper ball containment, e.g., shoulder_diameter = 1.066mm > ball_diameter = 0.388mm.
Key parameters:
bore_diameter=0.6mm
bearing_width=0.8mm
ball_diameter=0.38888888888889mm
raceway_depth_ratio=0.4
shoulder_diameter=1.0666666666666675mm
FreeCAD version: 1.1.0.
Output location: write your script to /app/answer.py and the generated model to /app/answer.FCStd. The verifier reads from these exact paths; files saved anywhere else are not graded.