Lathe with "Back tools"
21 May 2016 19:40 #74922
by thewho
Lathe with "Back tools" was created by thewho
Hello
As some of you know, I'm not especially good at Linux and I'm having a hard time to make axis understand that my tools is on the backside.
Yes I've read the wiki on it, but I don't know where to put the ".axisrc" file?!
I've named the file "Backtool.axisrc"
As some of you know, I'm not especially good at Linux and I'm having a hard time to make axis understand that my tools is on the backside.
Yes I've read the wiki on it, but I don't know where to put the ".axisrc" file?!
To display a rear tool lathe in Axis, create an .axisrc file in your home directory and place the following code.
I've named the file "Backtool.axisrc"
Please Log in or Create an account to join the conversation.
22 May 2016 06:37 #74933
by thewho
Replied by thewho on topic Lathe with "Back tools"
Well.. that's not how you do it..
I found this:
And since Gedit has been replaced with "Mousepad" (?) I used "mousepad .axisrc" and pasted the code, saved and exited.
And guess what, it still doesn't work..
I found this:
thread.gmane.org/gmane.linux.distributio...er/12638/focus=12642To edit your ~/.axisrc file, open a terminal window (Applications > Accessories >
Terminal). Then type "gedit .axisrc".
And since Gedit has been replaced with "Mousepad" (?) I used "mousepad .axisrc" and pasted the code, saved and exited.
And guess what, it still doesn't work..
![:angry: :angry:](/media/kunena/emoticons/angry.png)
Please Log in or Create an account to join the conversation.
22 May 2016 08:01 #74934
by thewho
Replied by thewho on topic Lathe with "Back tools"
Yay, finally got it working
Not the easiest for a non-Linux user to understand I must say.
![:) :)](/media/kunena/emoticons/smile.png)
Please Log in or Create an account to join the conversation.
22 May 2016 09:41 #74936
by Rick G
Replied by Rick G on topic Lathe with "Back tools"
You might want to post what you did do to get it working to help others.
Rick G
Rick G
Please Log in or Create an account to join the conversation.
22 May 2016 12:26 #74943
by thewho
Replied by thewho on topic Lathe with "Back tools"
Sure!
1. Open a terminal (Applications > Accessories >Terminal) not "open terminal here"
2. Write "mousepad .axisrc"
3. Paste this code:
4. Save (ctrl+s)
5. Exit both applications
6. Done!
1. Open a terminal (Applications > Accessories >Terminal) not "open terminal here"
2. Write "mousepad .axisrc"
3. Paste this code:
if lathe:
bind_axis("Down", "Up", 0)
def set_view_y(event=None):
widgets.view_z.configure(relief="link")
widgets.view_z2.configure(relief="link")
widgets.view_x.configure(relief="link")
widgets.view_y.configure(relief="sunken")
widgets.view_p.configure(relief="link")
vars.view_type.set(4)
o.reset()
glRotatef(90, 1, 0, 0)
glRotatef(90, 0, 1, 0)
if o.canon:
mid = [(a+b)/2 for a, b in zip(o.canon.max_extents, o.canon.min_extents)]
glTranslatef(-mid[0], -mid[1], -mid[2])
size = [(a-b) for a, b in zip(o.canon.max_extents, o.canon.min_extents)]
o.set_eyepoint_from_extents(size[0], size[2])
else:
o.set_eyepoint(5.)
o.perspective = False
o.lat = -90
o.lon = 0
o.tkRedraw()
TclCommands.set_view_y = commands.set_view_y = set_view_y
root_window.bind("v", commands.set_view_y)
root_window.after_idle(commands.set_view_y)
4. Save (ctrl+s)
5. Exit both applications
6. Done!
The following user(s) said Thank You: nkp
Please Log in or Create an account to join the conversation.
Time to create page: 0.084 seconds