Skip to content

feat(cad): part drawings cap tap depth from each end instead of tapping thru - #205

Merged
AadiJo merged 1 commit into
mainfrom
drawing-tap-depth
Nov 3, 2026
Merged

AadiJo merged 1 commit into
mainfrom
drawing-tap-depth

Conversation

@AadiJo

@AadiJo AadiJo commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Part drawings called out tapped through holes as 10-32 UNF THRU. A tap can't go all the way through a 12" shaft. A shop taps a set depth into each end.

Thread depth now stops at a max tap depth, 0.5" by default. The Part drawing panel has a field for it. The field follows the in/mm toggle and saves as a client setting.

  • Through holes print the drill, then the thread: Ø.159 THRU / 10-32 UNF ↧.50 BOTH ENDS. This applies to every through hole, thin plates included.
  • Blind holes deeper than the cap print the drill depth, then the thread: Ø.159 ↧.59 / 10-32 UNF ↧.50. Blind holes within the cap keep one callout.
  • Clearance and plain holes are unchanged.

Leaders draw the drill and thread on two lines. The hole table's SIZE column takes 0.2" from X and Y so the longer text fits.

Proof: the dev app ran against a cached Onshape robot snapshot. A 12.5" shaft's axial bore showed ↧.50 BOTH ENDS. Changing the field to 0.75 updated the sheet and survived a reload. In mm, 76.2 saved as 3" and an out-of-range entry reset on blur. A script ran the callout over all 786 part meshes in the snapshot at 0.5" and 0.75".

Reviewed with sol-loop: 3 rounds with gpt-6.1-sol. Sol verdict: approved


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@vercel

vercel Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
cadsense Ready Ready Preview Nov 3, 2026 7:02pm UTC

@AadiJo
AadiJo merged commit e59b322 into main Nov 3, 2026
8 checks passed
@AadiJo
AadiJo deleted the drawing-tap-depth branch November 26, 2026 19:49

This branch was successfully deployed

1 active deployment
Preview — 77e3080d Deployed Nov 3, 2026 by vercel[bot]
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