#23 — Cable Grommet Ring

    This folder contains a working example that generates a STEP model for: A parametric grommet for cable pass-throughs with lip and retention features.

    The intent is that you can run the code here to emit a STEP file, open it in a CAD viewer, and/or import it into your slicer to 3D print and iterate.

    #What this example demonstrates

    • function-driven surfaces
    • parameter sweeps for comparison
    • exportable solids for downstream analysis
    • parametric dimensions as first-class inputs

    #Parameters to try

    • resolution
    • thickness
    • scale
    • filletRadius
    • chamferSize

    #Suggested extensions

    • add a batch runner that emits many variants
    • add reference geometry for measurement
    • add a variant generator (small/medium/large)


    #Variant 1

    Command line: ./run-example.sh 23 --innerDiameter 8 --panelThickness 2

    #Variant 2

    Command line: ./run-example.sh 23 --innerDiameter 12 --split

    Source Files