Mastercam 2027 Center Drill C-Hook

Started by CNCAppsJames, October 12, 2026, 04:50 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

CNCAppsJames

This was a C-Hook from Version 8 that never got updated... until Mastercam 2027 :rofl:

I was digging through my code archives and decided to run it through Claude because I could. :rofl:

https://www.dropbox.com/scl/fi/wxiajass7nmkom33hklav/CDrillPt.zip?rlkey=h1i00ukdrz1mose09m0icblp6&dl=0

Description;
Creates points at the correct depth based on the Center Drill selected (00-8 are the centers that are defined) and the circle diameter.

Use;
Launch C-Hook (Alt-C), select C:\Program Files\Mastercam 2027\chooks\CDrillPt\CDrillPt.dll
Select Circle(s)
Select Center Drill

Click OK

Result;
It will create the points on the active level.

Notes;
The Center Drills are defined in C:\Program Files\Mastercam 2027\chooks\CDrillPt\cdrillpt.din file You can open it in any text editor. Maintain current formatting.

There are 5 lines that define the center drill.

Ex;
118.0 Drill tip angle 00
0.025 Drill diameter
0.125 Body diameter
0.03  Drill tip length
60.0  C'sink angle

Mastercam V8 had a 12 Item limit. Mastercam 2027 Has no such limit.

Enjoy.

Any questions, you know where to find me.
Funny Funny x 1 View List
"That bill for your 80's experience...yeah, it's coming due. Soon." Author Unknown

Inventor Pro '26 - CAD
Eureka 2026 & CAMplete TruePath 2027 - CAV and Posting
Fusion360 & Mastercam 2027 - CAM

gcode

Quote from: CNCAppsJames on October 12, 2026, 04:50 PMI was digging through my code archives and decided to run it through Claude because I could.

Got nothing better to do today???   ::)   
Funny Funny x 1 View List

CNCAppsJames

Quote from: gcode on Today at 08:44 AMGot nothing better to do today???  ::) 
Just adding skills to my bag of tricks :P 

And it's been on my to-do list for... like years. :rofl: 
"That bill for your 80's experience...yeah, it's coming due. Soon." Author Unknown

Inventor Pro '26 - CAD
Eureka 2026 & CAMplete TruePath 2027 - CAV and Posting
Fusion360 & Mastercam 2027 - CAM

Newbeeee™

Quote from: CNCAppsJames on Today at 10:20 AMJust adding skills to my bag of tricks :P

And it's been on my enhancement list for... like years. :rofl:

:fiss cough:
:hrhr:
Funny Funny x 1 View List
TheeCircle™ (EuroPeon Division)
     :cheers:    :cheers: