Code Monkey home page Code Monkey logo

Comments (10)

Denvi avatar Denvi commented on August 28, 2024
  1. Accepted.
  2. Now, as the arc axis is only supported axis Z. Others will be added in future (G17, G18, G19 codes).

from candle.

pihnat avatar pihnat commented on August 28, 2024

The reason I am asking about arc support in M18 (xz) mode is because I have tried grblControl with a lathe. It works very well except the 3D pic is vertical instead of horizontal because lathes use X and Z. However the path of the tool is correct except for the arc.
Do you have any plans to one day implement a lathe mode? It could be a setting where you select mill or lathe view.

from candle.

Denvi avatar Denvi commented on August 28, 2024

Do you have any plans to one day implement a lathe mode? It could be a setting where you select mill or lathe view.

At the moment no such plans.

from candle.

Denvi avatar Denvi commented on August 28, 2024

G17, G18, G19 commands support added.
Tested with following program:

G90
G18
G21
F200
G0 X0 Y0 Z0
G1 X5
G3 X5 Z10 I0 K5
G19
G3 X5 Z0 I0 K-5
G17
G3 X0 Z0 I-2.5 K0
M30

from candle.

Denvi avatar Denvi commented on August 28, 2024

Processing of the M2 & M30 commands is fixed.

from candle.

pihnat avatar pihnat commented on August 28, 2024

Still a slight problem with G18. Try the following
G90
G21
F200
G18
G00 X0 Y0 Z0
G01 X7 Z0
G03 X7 Z-20 I-7.0 K-10
G01 X7 Z-24
G01 X14 Z-24
M30

The arc is drawn in-correctly but when Sending the tool does trace the correct path in the 3D view.

from candle.

Denvi avatar Denvi commented on August 28, 2024

Radius calculation problem. Fixed.

from candle.

pihnat avatar pihnat commented on August 28, 2024

I just downloaded it and it works perfectly in xz plane.
However now in xy plane the same problem appears as was in the xz plane with arcs having tails. Attached is a pic with a heart shape - right hand picture is using old exe file, left pic is the current exe file. The shapes are drawn in xy plane, G17.

error

from candle.

Denvi avatar Denvi commented on August 28, 2024

Meanwhile I commited the intermediate version. I will test more.

from candle.

pihnat avatar pihnat commented on August 28, 2024

It's working now, xy and xz arcs are good. I will keep testing too.

from candle.

Related Issues (20)

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.