Skip to content

feat: add bridged_hole() module for FDM unsupported holes (#1467)#1959

Open
junhinhow wants to merge 1 commit intoBelfrySCAD:masterfrom
junhinhow:feat/bridged-hole-1467
Open

feat: add bridged_hole() module for FDM unsupported holes (#1467)#1959
junhinhow wants to merge 1 commit intoBelfrySCAD:masterfrom
junhinhow:feat/bridged-hole-1467

Conversation

@junhinhow
Copy link
Copy Markdown

Summary

  • Add bridged_hole() module in miscellaneous.scad for FDM 3D printing
  • Progressive polygon bridging: Layer 1 = rectangle, Layer 2 = rotated rectangle, Layer 3+ = regular polygons (8, 16, 32... sides)
  • Configurable parameters: radius/diameter, layer_height, number of bridging layers
  • Full attachable() support with anchor/spin/orient
  • Test coverage in test_miscellaneous.scadtest

Test plan

  • bridged_hole() generates valid geometry with default parameters
  • Works with d= (diameter) parameter
  • Custom layer counts work correctly
  • Orientation and anchoring work
  • No regressions

Addresses #1467

🤖 Generated with Claude Code

Creates bridging geometry for holes in FDM 3D printing that lack
support underneath. Uses progressively rounder polygons:
  Layer 1: rectangle (2 bridges)
  Layer 2: rectangle rotated 90 degrees
  Layer 3+: regular polygons (8, 16, 32... sides)

Parameters:
  r/d: hole radius/diameter
  layer_height: height of each bridging layer (required)
  layers: number of bridging layers (default: 3)
  spin: rotation angle for first bridge direction

The module is attachable and works with diff() for subtraction.
Includes parameter validation and regression test.

Ref: BelfrySCAD#1467
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant