Skip to content

Baseplates: a screw head only slightly wider than its shank leaves hundreds of bad edges #73

Closed

Description

@Oliver-Johnson

Found by the sweep for #69. It is on main (3145cc7) and does not depend on the joint.

What happens. When the screw head is only a hair wider than the shank, the counterbore and the shank hole cross each other. The plate then builds with hundreds of bad edges, Checks gives no warning, and Download stays on.

Repro (Baseplates page, two pieces, no joint, screws on with a 2 mm shank):

  • #pi=37.67&w=150.68&d=75.34&mm=custom&ml=0&mr=0&mf=0&mb=0&bw=91.34&bd=400&sc=1&sh=2&sd=2.03&cn=none: A1 and B1 have 196 bad edges each.
  • The same at 42 mm (pi=42): 98 and 49.
  • With sd=2.1 or sd=2.5: both pieces are clean.
  • With a snap joint (cn=snap) it is the same 196 and 196.

Cause (from the sweep, not traced in the code). The head is cut as a 14-sided polygon and the shank as a 12-sided one. At 2.03 mm over 2 mm, the head's flats cross the shank's corners, so the two cuts' walls interleave around the hole instead of one sitting inside the other.

Possible fix. Treat a head that doesn't clear the shank's corners as no counterbore, or refuse it in Checks. The minimum would be the shank's corner circle plus a margin; screw bores are being reworked in the screw-pocket PR (flats on the typed size), so the threshold should follow that shape. Then add an audit row at 2.03 over 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions