Coder Social home page Coder Social logo

Move to 0,0,0 about bcnc HOT 8 CLOSED

vlachoudis avatar vlachoudis commented on August 28, 2024
Move to 0,0,0

from bcnc.

Comments (8)

chamnit avatar chamnit commented on August 28, 2024

That depends on where you've set your machine zero and how you use your machine. bCNC's jog center button for "move to origin" should be thought of move to work position zero. I think this should stay how it is. For the most part.

Typically the "go-to-home" (not machine home), that you want, uses one of the G28 or G30 commands (the other is usually for a set tool touch plate position for tool changes). This moves the machine to a user-set position that is independent of the work coordinates, like the center of the X-Y workspace and Z at the top. This command is often used to move to the center of the workspace immediately after homing and immediately after a job so the spindle is out of the way. With a G28/30 command, you can also have it do an initial move, like Z+ to get the spindle out of harms way.

That said, the jog center button could have a user-configurable string so they can enter G90G0X0Y0\nG90G0Z0\n if they need to.

But there should probably be another button for one of the G28/G30 predefined positions. These also can be made to have user configurable strings so that they can move the Z-axis first before moving over to the position like so G28 Z5 to move to Z=5 in machine coordinates before moving in a straight line to the G28 stored position. See link.

from bcnc.

HomineLudens avatar HomineLudens commented on August 28, 2024

Custom gcode would allow a wide range of personalizations. This would fit everyone special needs.
Some user button would be a good addition too. One could choose a smal label for the button and some line of code to send.

from bcnc.

vlachoudis avatar vlachoudis commented on August 28, 2024

@effer I've added custom buttons user configurable.
Also the [O] button to go to zero can be customized.
To customize the buttons you right click on the button and enter any commands you want as you would type it in the Command/MDI line.
The number of custom buttons is configurable in the .ini right now is set to 6
[O] + 5 buttons below

from bcnc.

vlachoudis avatar vlachoudis commented on August 28, 2024

@effer BTW the icon refers to all icons located in the icons/ folder with .gif extension.

from bcnc.

HomineLudens avatar HomineLudens commented on August 28, 2024

Is christmas time again? That's great @vlachoudis, a really clean implementation for a powerful feature. Thanks!

from bcnc.

chamnit avatar chamnit commented on August 28, 2024

@vlachoudis : Awesome! I just accidentally came upon this new feature by right-clicking on the O button. It's so nice that I can have it use G28.

from bcnc.

colinluthier avatar colinluthier commented on August 28, 2024

This is really helpful. Is there a way to have ore than 6?

from bcnc.

vlachoudis avatar vlachoudis commented on August 28, 2024

In the ${HOME}/.bCNC file in the section [Buttons] add a n=### the number of buttons you want to have

from bcnc.

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.