Recent posts

#71
Industrial / Re: Is the tech exchange dead ...
Last post by TSmcam - May 21, 2026, 12:19 PM
We would encourage your local Mastercam representative to provide you with a dedicated solution bloated quote for the exact machine make, model and controller post processor which will then be fully supported and maintained for future releases of Mastercam, delivering a positive experience.

Sad to think that they used to provide top quality posts foc, that were easily customisable. Are the MPMaster and MPLMaster posts still available? (Not that it matters to me nowadays) I built many customer posts back in the day from those great foundations.
#72
Industrial / Re: 3 point level macro
Last post by MIL-TFP-41 - May 21, 2026, 09:40 AM
Had to revisit this the other day. There was an error in how I approached this at first.
Where a Fanuc control wants to rotate things one at a time, this line did not account for it rotating in X first:
#181=-ATAN[#176/#178](Rotate around Y)

To get around this, you gotta find the combined length of the vector after it has been rolled around the X-axis. This new length becomes the adjusted "Adjacent" side of the triangle for the Y-axis calculation, which I handled like so:

#183=SQRT[[#177*#177]+[#178*#178]] (Projected length in YZ)
#181=ATAN[-#176,#183] (Angle around Y)

Also note that different kinematics (and different orientations) will need to have the calculated angles inverted, otherwise you wind up doubling your error instead of correcting it. So on these lines:
#[#191+3.]=#180     (Writes X-axis rotation to #26013 for P1, #26023 for P2, etc)
#[#191+4.]=#181     (Writes Y-axis rotation to #26014 for P1, #26024 for P2, etc)

you may need to change them to:
#[#191+3.]=-#180     (Writes X-axis rotation to #26013 for P1, #26023 for P2, etc)
#[#191+4.]=-#181     (Writes Y-axis rotation to #26014 for P1, #26024 for P2, etc)

Because it can change depending on orientation, my preference is to invert things outside the macro, so I wind up with a line that looks like this:
#26013=-#26013

Anyways, yadda yadda yadda, here is the latest version:

O8526(LEVEL PLANE ANGLE)
(INPUTS)
(S=#19 - WRITE TO WSEC OFFSET NUMBER)
(EX- S2. WILL WRITE VALUES TO G54.4 P2)
 
(INPUT ERRORS)
IF[[#19LT1.]OR[#19GT7.]]GOTO1000
 
(POINT 1 DATA)
(#160=X1, #161=Y1, #162=Z1)
 
(POINT 2 DATA)
(#163=X2, #164=Y2, #165=Z2)
 
(POINT 3 DATA)
(#166=X3, #167=Y3, #168=Z3)
 
(--- Compute Vectors V1 = P2 - P1 ---)
#170=#163-#160 (V1x = X2 - X1)
#171=#164-#161 (V1y = Y2 - Y1)
#172=#165-#162 (V1z = Z2 - Z1)
 
(--- Compute Vectors V2 = P3 - P1 ---)
#173=#166-#160 (V2x = X3 - X1)
#174=#167-#161 (V2y = Y3 - Y1)
#175=#168-#162 (V2z = Z3 - Z1)
 
(--- Compute Cross Product N = V1 x V2 ---)
#176=[#171*#175]-[#172*#174] (Nx)
#177=[#172*#173]-[#170*#175] (Ny)
#178=[#170*#174]-[#171*#173] (Nz)
 
(--- Ensure Positive Vector Direction - No Loop ---)
IF[#178GE0]GOTO10
#176=-#176 (Invert Nx)
#177=-#177 (Invert Ny)
#178=-#178 (Invert Nz)
N10
 
(--- Normalize Vector N ---)
#179=SQRT[[#176*#176]+[#177*#177]+[#178*#178]]
IF[#179EQ0]GOTO1001 (Error: Points are co-linear/same point)
#176=#176/#179 (Normalized Nx)
#177=#177/#179 (Normalized Ny)
#178=#178/#179 (Normalized Nz)
 
(--- Compute Tilt Angles via 2-Argument ATAN ---)
#180=ATAN[#177,#178] (Angle around X)

#183=SQRT[[#177*#177]+[#178*#178]] (Projected length in YZ)
#181=ATAN[-#176,#183] (Angle around Y)

(--- Compute Z Rotation Clocking from P1 to P2 ---)
(Optional: Calculates alignment angle of the edge in XY plane)
#182=ATAN[#171,#170] (Angle around Z)

(--- Compute Target WSEC Base System Variable ---)
#190=[#19-1.]*10.   (Offset multiplier: 0 for P1, 10 for P2, 20 for P3)
#191=26010.+#190    (Base pointer: #26010 for P1, #26020 for P2, #26030 for P3, etc)

(--- Optional: Clear or write Shift values if desired ---)
(#[#191+0]=0.0)     (X translation shift)
(#[#191+1]=0.0)     (Y translation shift)
(#[#191+2]=0.0)     (Z translation shift)

(--- Write Dynamic Rotation Angles to WSEC ---)
#[#191+3.]=#180     (Writes X-axis rotation to #26013 for P1, #26023 for P2, etc)
#[#191+4.]=#181     (Writes Y-axis rotation to #26014 for P1, #26024 for P2, etc)
(--- Note - Z is optional ---)
(#[#191+5.]=#182)     (Writes Z-axis rotation to #26015 for P1, #26025 for P2, etc)

GOTO 9999 (Skip error traps)

(--- Error Handlers ---)
N1000
#3000=1 (S-VALUE OUT OF RANGE 1-7)
N1001
#3000=2 (PROBED POINTS ARE CO-LINEAR)

N9999
M99

M30
#73
Industrial / Re: Is the tech exchange dead ...
Last post by Here's Johnny! - May 21, 2026, 06:54 AM
Quote from: kdg on May 21, 2026, 06:44 AMDuring the review of the Tech Exchange in 2025 we uncovered many legacy post processors that were not current which would provide a negative customer experience. We would encourage your local Mastercam representative to provide you with a dedicated solution for the exact machine make, model and controller post processor which will then be fully supported and maintained for future releases of Mastercam, delivering a positive experience.

Pay up!!!  ;D
#74
Industrial / Re: Is the tech exchange dead ...
Last post by kdg - May 21, 2026, 06:44 AM
There's a new response on the official forum, corp-speak for this is now a new revenue stream.
I look forward to a more positive experience now, lol.
"Director, Customer Success", LOL.

During the review of the Tech Exchange in 2025 we uncovered many legacy post processors that were not current which would provide a negative customer experience. We would encourage your local Mastercam representative to provide you with a dedicated solution for the exact machine make, model and controller post processor which will then be fully supported and maintained for future releases of Mastercam, delivering a positive experience.

Lee Richards / Director, Customer Success
#75
The Outhouse / Re: The Official Gratuitous Gr...
Last post by Rstewart - May 20, 2026, 04:27 PM
Quote from: YoDoug on May 20, 2026, 09:39 AMThe sauce is made from silken tofu as the base. Add in the Chickpeas and each serving will have 20-30gr of protein. Plenty of antioxidants and vitamins from the veggies. Lots of fiber. No cholesterol and only unsaturated fats. Nutritionally it is a very solid meal. No reason to need to add a main course.

Sorry bra, I'm gonna die happy enjoying my veggies And my grilled MEATS
#76
The Outhouse / Re: The Official Gratuitous Gr...
Last post by YoDoug - May 20, 2026, 10:38 AM
 
Quote from: mowens on May 20, 2026, 10:16 AMI noticed that when you were listing the benefits you left off taste.


 The veggies were seasoned with olive oil, and garlic herb seasoning before grilling. The sauce has Tamari and Umami seasoning for the savory flavor, nutritional yeast for cheesy creaminess, lemon juice for acidity, and maple syrup to add a sweet balance. Top it with the pickled chilis for some heat. There is more flavor in this dish than any piece of grilled meat will ever have.
#77
The Outhouse / Re: The Official Gratuitous Gr...
Last post by mowens - May 20, 2026, 10:16 AM
I noticed that when you were listing the benefits you left off taste.

My son in law is a very utilitarian eater. He looks at food strictly for its nutritional value and completely ignores taste.
#78
The Outhouse / Re: The Official Gratuitous Gr...
Last post by YoDoug - May 20, 2026, 09:39 AM
Quote from: Rstewart on May 20, 2026, 09:28 AM@YoDoug that would be a pretty great veggie starter for the main course

The sauce is made from silken tofu as the base. Add in the Chickpeas and each serving will have 20-30gr of protein. Plenty of antioxidants and vitamins from the veggies. Lots of fiber. No cholesterol and only unsaturated fats. Nutritionally it is a very solid meal. No reason to need to add a main course.
#79
The Outhouse / Re: The Official Gratuitous Gr...
Last post by Rstewart - May 20, 2026, 09:28 AM
@YoDoug that would be a pretty great veggie starter for the main course
#80
Industrial / Re: Is the tech exchange dead ...
Last post by Newbeeeeâ„¢ - May 20, 2026, 08:42 AM
Quote from: gcode on May 20, 2026, 07:15 AMI wish I had a clue what you are talking about

You think that's a lot to grasp....try listening to @Thee Byte and try keeping up with what he's up to.... :sofa: