about the machine limit lines
Into the axis drawing, the red-dotted lines show the machine limits 'box'.
I guess these dimensions are taken from the .ini file, under axis (joints) sections.
i'm using JA3 branch, but before thinking of a related to JA3 issue, i wanted to ask if the same issue is present also in L.CNC 2.4 or 2.5, with non trivial kinematics.
my issue is:
-My machine have non-trivial kins.
-My home positions are offset because of my home needs.
-Whatever g-code movement of my machine is outside the machine limits. the same visually, into the axis window.
-But when i Manual-Jog Axes limits are perfectly respected.
I remember i had this issue also using what was EMC 2.4.3 or .6 , but confirmation are welcome.
Is there anyway of modifying this?
Z view:
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Into the axis drawing, the red-dotted lines show the machine limits 'box'.
I guess these dimensions are taken from the .ini file, under axis (joints) sections.
It is possible that Axis simply plots the joint limits as spatial limits, without going through the kins to convert to world space.
I have tried looking through the code, but it isn't easy for me to follow.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
can you tell me which file is involved?
I think it is all of them. It looks like it anyway.
I guess the actual lines are drawn in glcanon.py
Please Log in or Create an account to join the conversation.
By the way, another Axis question.. it's a lot since i wanted to ask, but it's a minor issue:
I'm in 'Teleop mode', then I click the MDI window (or click f5).
Then if i go back into the manual tab (or click f3) the system change to 'Joint mode'.
What if i want it to stay into 'Teleop mode'?
Please Log in or Create an account to join the conversation.
in fact, into glcanon.py, at line 698:dab77 wrote:
Into the axis drawing, the red-dotted lines show the machine limits 'box'.
I guess these dimensions are taken from the .ini file, under axis (joints) sections.
It is possible that Axis simply plots the joint limits as spatial limits, without going through the kins to convert to world space.
I have tried looking through the code, but it isn't easy for me to follow.
def soft_limits(self):
def fudge(x):
if abs(x) > 1e30: return 0
return x
ax = self.stat.joint
return (
self.to_internal_units([fudge(ax[i]['min_position_limit'])
for i in range(3)]),
self.to_internal_units([fudge(ax[i]['max_position_limit'])
for i in range(3)]))
into the ' class GlCanonDraw ' , there's the init with:
def __init__(self, s, lp, g=None):
self.stat = s
but, who calls GlCanonDraw?
For how my machine is done, it would work to just change 'joint' with 'axis' into that, but i don't know where that 'joint' is taken!
can you again help me, please?
Please Log in or Create an account to join the conversation.
but, who calls GlCanonDraw?
axis.py, i think. It's all a bit tangled.
Please Log in or Create an account to join the conversation.
i tried, but i think it's too much for me.
i'm going to ask the question into the dev-list.
thank you Andy.
Please Log in or Create an account to join the conversation.