Top Height Expression Error

Top Height Expression Error

salvadore.bertolone
Contributor Contributor
398 Views
6 Replies
Message 1 of 7

Top Height Expression Error

salvadore.bertolone
Contributor
Contributor

I've been working on automating some toolpath presets and I think I found a bug in the Top Height Expression.  The expression evaluates correctly, but it seems like the CAM Kernel is having an issue with it.  The expression correctly evaluates to 0.0200 in, but it fails to adjust the height, it stays at 0 in.  If hardcode .0200 in, the height adjusts as normal. 

0 Likes
399 Views
6 Replies
Replies (6)
Message 2 of 7

a.laasW8M6T
Mentor
Mentor

What's the expression?

 

 

Andrew Laas
Senior Machinist, Scott Automation


EESignature

0 Likes
Message 3 of 7

salvadore.bertolone
Contributor
Contributor

threadPitch*2

 

its busted for most reference plane selections, but works correctly when hole top is used.  the weird part is that it evaluates correctly at all times, and the explicit value works, just not when its calculated from an expression.

Screenshot 2026-04-06 170111.png

0 Likes
Message 4 of 7

a.laasW8M6T
Mentor
Mentor

Hi

 

While thread pitch is an available parameter I don't think its correct for use with the bore toolpath(It does work in a thread toolpath)

If the hole is modelled in Fusion(and has thread data) you want to use 

auto_threadPitch*2  

 

You are correct I think about this being a bug though, it shouldn't evaluate correctly if the parameter isn't available for that strategy 

 

@seth.madore 

Andrew Laas
Senior Machinist, Scott Automation


EESignature

0 Likes
Message 5 of 7

salvadore.bertolone
Contributor
Contributor

i use auto_threadPitch in some turning applications, but there are no threads on this hole.  in this case, the threadPitch is referencing the pitch per rotation around the bore from the passes tab, not the thread pitch of a threaded hole.  i coudlnt make this automate from the ramp angle, so i am calculating the pitch from the desired ramp angle in the pitch box on the passes tab.

0 Likes
Message 6 of 7

a.laasW8M6T
Mentor
Mentor

ahh interesting

 

Odd that the pitch is called that in the bore toolpath ay(When its not a threading toolpath)

 

Definitely a bug then I would say

Andrew Laas
Senior Machinist, Scott Automation


EESignature

0 Likes
Message 7 of 7

salvadore.bertolone
Contributor
Contributor

lol my guess is they borrowed some software from another part of the software because the calculations were there and it just always mostly kind of worked.

0 Likes