Writing gcode on windows
- lukepighetti
- Offline
- Senior Member
- Posts: 53
- Thank you received: 1
I'd like to also write my gcode on windows. The LinuxCNC machine is in the basement and it has a horrible keyboard.
I have not been able to find a single decent gcode editor on windows. You'd think there would be at least one that was decent, and there might be but I haven't found it.
All I want is syntax highlighting, function chart, and code examples / explination for each line you write.
GWizard does some of this but it's quite buggy and doesn't support things like G02 helix with multiple turns as listed in emc2 documentation.
And a somewhat unrelated question, is there any way to write gcode alongside axis and have it pipe directly in (live?) to simulate? If I must I will just run a VNC server on the LinuxCNC machine and do my writing that way with final checks in person.
Thanks,
Luke
Please Log in or Create an account to join the conversation.
That might be a lot to expect from any editorAll I want is syntax highlighting, function chart, and code examples / explination for each line you write.
gedit has a windows port
projects.gnome.org/gedit/ and see link on RHS of page
The main thing to be wary of is that you don't want windows CR/LF pairs and other formatting characters in your code.
See if it has a Unix mode.
I just have a browser open with whatever info I need, if I need to refer to something whilst coding.
axis-remote on the same machine or emcrsh (linuxcncrsh) remotelyis there any way to write gcode alongside axis and have it pipe directly
But if you use VNC you can just remotely write and run the code on the linux machine in the first place.
That seems to be what quite a few people do
regards
Please Log in or Create an account to join the conversation.
All I want is syntax highlighting, function chart, and code examples / explanation for each line you write.
That's quite a huge thing to ask an editor to do past syntax highlighting... I use notepad++ on my windows machine. The syntax highlighting is severely broken in gedit IMHO.
John
Please Log in or Create an account to join the conversation.
Nick on cnc-club.ru provided his version of G code highlighting for Gedit. It works very well for me.
Gedit exists for windows too . I never tried, but should work, together with syntax highlighting.
And CR/LF problem solved automatically, because Gedit can save text in Win and Unix style format.
James
Please Log in or Create an account to join the conversation.
- lukepighetti
- Offline
- Senior Member
- Posts: 53
- Thank you received: 1
What VNC server are you guys using?
Please Log in or Create an account to join the conversation.
The one built-in to MacOSX (CMD-K to bring up the "connect to server" dialog, and then vnc://andypugh@lathe)What VNC server are you guys using?
Alternatively, you can try using ssh -X (or ssh -Y) and then the local X-server handles the GUI. I do this rather often.
ssh -X andypugh@mill
linuxcnc
brings up an Axis Gui window on my iMac.
Please Log in or Create an account to join the conversation.
- lukepighetti
- Offline
- Senior Member
- Posts: 53
- Thank you received: 1
What server side software are you using to serve the VNC connection?
Please Log in or Create an account to join the conversation.
What server side software are you using to serve the VNC connection?
Again, it's built-in.
System->Preferences->Remote Desktop.
You need to set a password or OSX won't connect.
Please Log in or Create an account to join the conversation.
- lukepighetti
- Offline
- Senior Member
- Posts: 53
- Thank you received: 1
Unless you're mac is listening for a host and you are connecting from your CNC computer?
Please Log in or Create an account to join the conversation.
Yes, and those were instructions for the Ubuntu end.I'm confused. Your CNC computer needs to serve the VNC connection, not your client mac.
But (for some reason) you appear to need to set the Ubuntu end to demand a password at the OSX end, or the OSX end won't connect.
But it is built-in at both ends. (And in Lion, you actually get a remote-desktop connect button when the remote machine is available too, presumably due to Bonjour)
Please Log in or Create an account to join the conversation.