Git Product home page Git Product logo

Comments (12)

Andy1978 avatar Andy1978 commented on June 16, 2024

Strange. Have you renamed the generated demo_hello_world_scripts.ngc to demo_hello_world_scripts.txt? What architecture is this? Please add the output of "uname -a"

from hf2gcode.

seesunmoon avatar seesunmoon commented on June 16, 2024

Thanks for getting back to me.

I renamed gnc to txt, in order to upload the file here.

It is a Raspberry Pi
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Thanks

from hf2gcode.

seesunmoon avatar seesunmoon commented on June 16, 2024

Here is what I get from a simple command:

pi@octopi:~/dev/hf2gcode/src $ ./hf2gcode h
( generated with hf2gcode 0.2.1 )
G21 ( base unit mm )
G90 ( absolute distance mode )
G94 ( Feed Rate Mode: Units per minute Mode )
G17 ( X-Y plane )
M3 S10000
( text="h", font="rowmans" )
( scale=0.500000, feed=200.000000, precision=3 )
F200.000
G0 Z1.000 ( Pen-Up at start)
;h = MFM[ RMQPNRMUMWNXQX[
G0 X2.000 Y-122.000
G1 Z-1.000 ( Pen-Down )
G1 Y-4.500
G1 X-20.500 Y0.000
G1 X2.000 Y-127.500
G1 X3.500 Y-126.000
G1 X-123.500 Y-125.500
G1 X-122.000
G1 X-121.000 Y-126.000
G1 X-120.500 Y-127.500
G1 Y-4.500
G0 Z1.000 ( Pen-Up, EOG )
M5 (stop the spindle)
M30 (Program stop, rewind to beginning of program)

from hf2gcode.

Andy1978 avatar Andy1978 commented on June 16, 2024

Aaaah, this is armhf where a char is unsigned per default... Please try to change libhf2gcode.c line 404 and 405 from char -> "signed char"

from hf2gcode.

Andy1978 avatar Andy1978 commented on June 16, 2024

I've made a cset: 9e5a26c
Perhaps I have access to a Rpi the next few days and try it out

from hf2gcode.

seesunmoon avatar seesunmoon commented on June 16, 2024

It works now. Thank you very much.

I am working on a project, and this tool helped a lot.
I will show you when I am done.

Thanks again.

from hf2gcode.

Andy1978 avatar Andy1978 commented on June 16, 2024

So the cset was sufficient? And yes, please add some pictures of the resulting project.

from hf2gcode.

sunnyspeedstudio avatar sunnyspeedstudio commented on June 16, 2024

Totally, it works very well for my need.

https://github.com/sunnyspeedstudio/3d_typewriter

Here is the project, I am still working on it. Should finish it in the next couple days.

Thanks

from hf2gcode.

sunnyspeedstudio avatar sunnyspeedstudio commented on June 16, 2024

BTW, it is still me, with a different account.

from hf2gcode.

sunnyspeedstudio avatar sunnyspeedstudio commented on June 16, 2024

added a photo at https://github.com/sunnyspeedstudio/3d-typewriter, if you are interested to see

from hf2gcode.

sunnyspeedstudio avatar sunnyspeedstudio commented on June 16, 2024

Hi there,

The code is up, and the project is done: https://github.com/sunnyspeedstudio/3d-typewriter

Thanks again for the help.

from hf2gcode.

seesunmoon avatar seesunmoon commented on June 16, 2024

Solved

from hf2gcode.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.