Took a bit of hacking...
Linuxcnc doesn't load - it starts out with a divide by zero near line 116 which is the call to <half_dovetail_buggy>
Hacking that file - it ends up being the call to <HDTTier> around 67
Code:
o 720 repeat [#<Tiers>] ; *multilayer
#<Tier> = [#<Tier> + 1] ; .. down from top
(debug, roughing tier #<Tier> of #<Tiers>)
#<_Depth> = [#<Tier> * #<VDOC>] ; ..
#<_ZCut> = [#<_ZNeckBottom> - #<_Depth>] ; ..
; M98 P730 ; .. take passes
o <HDTTier> call
o 720 endrepeat
which gets you down to this line 102 in HDTTier (this is what causes linuxcnc not to load the
#<WOC> = [#<HinW> / #<HPasses>]
Initial run through HPasses must be zero
It is zero - if I stop the HDTTier sub at (with an m0) and a debug message.
Code:
o <HDTTier> sub
; o 730 ; subroutine to do a tier for tool at ZCut, allowing EdgeClearance
; starts at ZClear
; feed, speed, coolant set
; W items are offsets from the ClearStart-ClearEnd line
; uses TierProg
#<HinW> = [#<_Depth> / tan[#<_DovetailAngle>] - #<_EdgeClearance>]
#<HPasses> = [fup[#<HinW> / #<_WOCRough>]]
; unfixed o 731 if [#<HPasses> GT 0]
(debug, hinw is #<HinW> hpasses is #<HPasses>)
m0
o <HDTTier> endsub
#<WOC> = [#<HinW> / #<HPasses>]
I end the sub early before the #<HinW>/#<HPasses>
See screenshot - the initial run HPasses is 0
sam