-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathPROBERECTANGULARBOSS
More file actions
executable file
·33 lines (25 loc) · 993 Bytes
/
PROBERECTANGULARBOSS
File metadata and controls
executable file
·33 lines (25 loc) · 993 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//Copyright 2024 Toolpath Labs Inc., Justin Gray, and Josh Smith
//PROBERECTANGULARBOSS
//Description: Probe a rectangular boss in X and Y
//Initial Coding: Justin Gray
//Modified 1/14/2024: Joshua Smith
//Simplified WCS extended number math, added probe error checking, added probe inspection report
//#1 is the work coordinate system to store offsets in
//#2 is the expected length of the web in the X direction
//#3 is the expected width of the web in the Y direction
//#4 is the Z drop height
//#9 print results enabled by fusion360
//#17 turns on inspection report on/off: 0 leaves it off default; 1 turns it on
//#18 oversize tolorance
//#19 enable oversize check
G65 "PROBEXWEB" A#1 B#2 C#4 I#9 Q0 R#18 S#19
G65 "PROBEYWEB" A#1 B#3 C#4 I#9 Q0 R#18 S#19
//simple inspection reporting
//@999 and @998 are set in the web macros
IF[#17>0]
MENU_ADD["Part Length In X: @998",""];
MENU_ADD["Part Width In Y: @999",""];
MENU["INSPECTION REPORT","RESULTS","",1];
END_IF
G90
M99