Countersink hole in the middle of a part causes "none of the holes intersected a part"

The Problem

While creating a hole for a countersink screw, I noticed that the tool isn't always able to generate clearance for the screw head through a part. Conceptually, I'm trying to create a feature that looks like below in cross-section:

image.png

The hole tool is able to create head clearance in the part, as long as the screw head is at least partially on an external face. However, it cannot create the same screw hole with clearance/"tunnel" if the whole head is concealed. Reproducer version: https://cad.onshape.com/documents/019dba9bd8948e542334936d/v/60798937940071f69eb22992/e/42cde00a098c27638919b164

image.png

image.png ——

Possible Workaround(s)

I can think about two, slightly hacky, ways to do it:

  1. Two extrudes (reproducer)
    1. Extrude the part which the screw holds
    2. Create a countersink hole
    3. Extrude & chamfer the rest
  2. Two holes (reproducer)
    1. Extrude the whole depth needed
    2. Create a simple hole from planned countersink to the "bottom" of the part
    3. Create a countersink hole

Out of these, surprisingly, only the first one works, which is puzzling to me.

image.png

image.png

Questions

Am I using the hole tool incorrectly, or did I stumble upon something that isn't implemented? Is there a way to achieve such geometry using just a single extrude & single hole invocation?

Answers