F-Engrave on OSX

I can’t see what I’m doing wrong here… I have downloaded the updated link and I have opened it in Terminal

Last login: Thu Apr 7 17:02:33 on ttys003
Kriss-MacBook-Pro:~ kcrawford$ /Users/kcrawford/Downloads/mac-f-engrave-157-terminal\ 2/run-f-engrave.sh ; exit;
python: can’t open file ‘/Users/kcrawford/f-engrave-157.py’: [Errno 2] No such file or directory
logout
Saving session…
…copying shared history…
…saving history…truncating history files…
…completed.

[Process completed]

Do I need to jump back in at a specific step? Any help would be so appreciated

@KrisCrawford:
Change into the directory:
cd /Users/kcrawford/Downloads/mac-f-engrave-157-terminal\ 2

Start script:
./run-f-engrave.sh

This should work.

F-Engrave tries to use “psyco” for speedup. Don’t know if psyco is available for mac. It is also unmaintained. Maybe the script could be improved with pypy for all platforms. Any python pros out there?


try:
    import psyco
    psyco.full()
    sys.stdout.write("(Psyco loaded: You have the fastest F-Engrave.)\n")
except:
    pass

@ChristianSonntag Sweet! That worked. Thanks for the support.

I can get Fengrave to run, but I can’t get it to use PNG files (and it doesn’t read my text from the DXF files from Inkscape). I don’t know enough to figure out how to make this work on my Mac…?

PNG files probably need an auto-tracer installed.

Text in DXFs would require the exact me font to be available to both the DXF app, and F-Engrave — I just made a custom font and did the cutting from that.

I found that using Pixelmator I can export to a BMP file and F-Engrave will open that. I also didn’t have any luck with PNG files but I didn’t put much effort into trying to get them to work. For the few carves I had to do it was easier to convert my image to BMP.

1 Like

To package F-Engrave for macOS could use this guide: Creating standalone Mac OS X applications with Python and py2app · Chris Hager

1 Like

Followed this step by step and worked great. Thanks

Hi. I have made a bundled macOS app with all needed files in it using Playtypus. Included is the current f-engrave-162.py python script and all compiled binaries (potrace & ttf2cxf_stream).

You can download it here: http://www.motions-media.de/download/f-engrave-fuer-mac-v1-62/

1 Like

No fonts loaded :frowning:

http://x.ite.lt/lYmq4CbRxf.png

http://x.ite.lt/fk2FISMZ7x.png

Hi. Open the settings window. There you can define where the fonts are located, normally under /Library/Fonts. Another solution is to edit the config file under /Users/YOURUSERNAME/config.ngc.

1 Like

Still the same
http://emtn.lt/scr/eUYpmUKi7z.png

Hm… Everything is fine on my side… maybe the included compiled ttf2cxf_stream is not working on your mac. On terminal you can “cd” into it, for example with cd /Applications/FEngraveMac.app/Contents/Resources. There are the included binaries. With ./ttf2cxf_stream you can start/test the ttf2cxf_stream bin. Something like this should appear:

Usage: ttf2cxf <options> <ttf file> <cxf file>
  ttf file: An existing True Type Font file
  cxf file: The CXF font file to create
options are:
  -s seg_arc_limit               Arc angle approximation limit (double)
  -a author                      Author of the font. Preferably full name and e-mail address
  -l letter spacing              Letter spacing (float)
  -w word spacing                Word spacing (float)
  -f line spacing factor         Default is 1.0 (float)
  -e enable extended characters    

If that works have you installed ttf fonts? I have no clue…

1 Like

I had that same error on my work Mac yesterday. Just tested today on my Mac at home and it let me save the fonts. Will potentially test the terminal stuff on my work computer if I have time to see if it’ll resolve the issue for me there as well.

But thanks for putting this together @ChristianSonntag !

Worked great for me (including the fonts), thanks for packaging it together.

http://x.ite.lt/BKbQOF35Ew.png

Can you install https://www.xquartz.org and try if it is working…

1 Like

Yes it’s helps THANKS!!!

All this is Greek to me. Read them all and I’m very confused. I’m not big computer guy. I’m plug and play. I am trying to get my CNC to engrave on aluminum. I was told to use F engrave. I need lots of help lol.