image to g-code problem
- grey1beard
- Offline
- Elite Member
Less
More
- Posts: 167
- Thank you received: 0
01 Mar 2015 07:20 - 01 Mar 2015 07:21 #56365
by grey1beard
image to g-code problem was created by grey1beard
Just trying a quick experiment to see if a relatively simple method of producing the shape I want would work using the 'image to g-code' conversion.
however, it threw up the error shown in the screen grab attached. The thumbnail above the error window is the .jpg in question, and is designed to produce a dome with 24 ribs outside.
Any ideas as to getting this to work would be gratefully received.
John
however, it threw up the error shown in the screen grab attached. The thumbnail above the error window is the .jpg in question, and is designed to produce a dome with 24 ribs outside.
Any ideas as to getting this to work would be gratefully received.
John
Last edit: 01 Mar 2015 07:21 by grey1beard. Reason: spelling
Please Log in or Create an account to join the conversation.
- grey1beard
- Offline
- Elite Member
Less
More
- Posts: 167
- Thank you received: 0
01 Mar 2015 07:32 #56366
by grey1beard
Replied by grey1beard on topic image to g-code problem
Perhaps the first question should have been "where do I find the ini file to see if the Filter has the required lines inserted or not.
I thought I had done this successfully before, but so long ago I've forgotten the details !
John
I thought I had done this successfully before, but so long ago I've forgotten the details !
John
Please Log in or Create an account to join the conversation.
01 Mar 2015 07:38 #56368
by dgarrett
Replied by dgarrett on topic image to g-code problem
you probably need to
sudo apt-get install libtk-img
Please Log in or Create an account to join the conversation.
01 Mar 2015 07:42 #56369
by BigJohnT
Configuration files will be in /linuxcnc/config/name of your config
JT
Replied by BigJohnT on topic image to g-code problem
Perhaps the first question should have been "where do I find the ini file to see if the Filter has the required lines inserted or not.
I thought I had done this successfully before, but so long ago I've forgotten the details !
John
Configuration files will be in /linuxcnc/config/name of your config
JT
Please Log in or Create an account to join the conversation.
- grey1beard
- Offline
- Elite Member
Less
More
- Posts: 167
- Thank you received: 0
01 Mar 2015 17:26 #56375
by grey1beard
Replied by grey1beard on topic image to g-code problem
Hi dgarrett.
Did that, but no change, still the same error window.
Hi John,
Thanks, so I went there and found the [FILTER] entry as per the manual, so I went back to the actual error window and tried to understand its meaning.
I assume that a "module" is an entry that should be present, but where ?
Should it be in the .ini file, as above, or in .../git/linuxcnc/bin image-to-gcode file ?
John
Did that, but no change, still the same error window.
Hi John,
Thanks, so I went there and found the [FILTER] entry as per the manual, so I went back to the actual error window and tried to understand its meaning.
I assume that a "module" is an entry that should be present, but where ?
Should it be in the .ini file, as above, or in .../git/linuxcnc/bin image-to-gcode file ?
John
Please Log in or Create an account to join the conversation.
- grey1beard
- Offline
- Elite Member
Less
More
- Posts: 167
- Thank you received: 0
01 Mar 2015 17:43 #56376
by grey1beard
Replied by grey1beard on topic image to g-code problem
Just checked the image-to-gcode file and have copied the portion referred to here
Hope that helps !
John
def ui(im, nim, im_name):
import Tkinter
import ImageTk
import pickle
import nf
app = Tkinter.Tk()
rs274.options.install(app)
app.tk.call("source", os.path.join(BASE, "share", "axis", "tcl", "combobox.tcl"))
Hope that helps !
John
Please Log in or Create an account to join the conversation.
- grey1beard
- Offline
- Elite Member
Less
More
- Posts: 167
- Thank you received: 0
03 Mar 2015 03:01 #56411
by grey1beard
Replied by grey1beard on topic image to g-code problem
Had brainwave. Took file on stick out to workshop and tried it on a working system rather than the sim axis on the laptop.
It seems to be working. Well, it's taking forever to process, but at least its loading.
20 minutes later it's still loading, so I'll scrub that and try something simpler first !
It seems to be working. Well, it's taking forever to process, but at least its loading.
20 minutes later it's still loading, so I'll scrub that and try something simpler first !
Please Log in or Create an account to join the conversation.
- grey1beard
- Offline
- Elite Member
Less
More
- Posts: 167
- Thank you received: 0
03 Mar 2015 19:25 #56424
by grey1beard
Replied by grey1beard on topic image to g-code problem
Tried a simple dome.
That gave the same error window on my sim version, but worked ok in the workshop.
So I saved the gcode onto a stick, and brought it back to the house (warm !) and opened it up in sim axis ok.
Rather than spend time trying to get the sim to work by finding out what the difference is, I'll use this as a method for now.
If anyone could say what I need to do to rectify the problem, I'd still be very grateful.
John
That gave the same error window on my sim version, but worked ok in the workshop.
So I saved the gcode onto a stick, and brought it back to the house (warm !) and opened it up in sim axis ok.
Rather than spend time trying to get the sim to work by finding out what the difference is, I'll use this as a method for now.
If anyone could say what I need to do to rectify the problem, I'd still be very grateful.
John
Please Log in or Create an account to join the conversation.
Time to create page: 0.072 seconds