Giter VIP home page Giter VIP logo

Comments (8)

pjz avatar pjz commented on August 24, 2024

From a 2.5D CAM perspective, I'd also like to be able to set the origin to 'front left' (meaning -x, -y), so if I build a cut sheet I can zero it at the front left corner.

from grid-apps.

stewartoallen avatar stewartoallen commented on August 24, 2024

If you uncheck "origin center" under "stock" or in the machine profile, front (toward you) left becomes 0,0. I think that's exactly what you want. When you do not define a stock size, it uses the front/lower left of the STL as origin.

from grid-apps.

sloanthrasher avatar sloanthrasher commented on August 24, 2024

Indicating the location of the starting position in the Preview view would be very useful as well, maybe as a red X or red vertical bar.

from grid-apps.

stewartoallen avatar stewartoallen commented on August 24, 2024

Good suggestion

from grid-apps.

jsiddall avatar jsiddall commented on August 24, 2024

Reviving this old issue: so if I understand it correctly, with "origin center" it makes the origin the center of the stock, and if you disable that you get the front/lower corner (presumably lowest X and Y values). That's great, but is there no way to use the origin in the CAD file? In general, I build my drawing with the origin where I want the CNC origin and my preference would just be for KM to just use that by default. I guess this is what Harvie said:

"Real killer feature would be to allow use coordinate origin of the STL model. Just simple checkbox ["preserve model origin"] that would take zero from STL file"

If that is not possible today then I want to vote for that option

The other comment about showing the origin would be nice but no a high priority item for me

from grid-apps.

stewartoallen avatar stewartoallen commented on August 24, 2024

I'll look into this. There are some subtle issues like multiple parts, rotation, and scaling. Also, it may be possible to preserve the X,Y origin but Z needs to float to accommodate stock and other settings that affect Z coordinates.

from grid-apps.

jsiddall avatar jsiddall commented on August 24, 2024

Thanks for looking into this. It sounds like a trivial thing, but it almost put me off using KM altogether the first time I tried it. Glad I didn't give up that easily!

There are some subtle issues like multiple parts, rotation, and scaling

Sure, that makes sense. Really, you could only preserve the model origin on the first part, but I am fine with that. I guess a better name for the feature would be "preserve model origin if possible". Regarding the Z, again, I usually put the Z0 at some place where I can readily home the tool. That is usually, but not always, the max Z. If there was some concern about collisions or other things that would make KM want to reset the Z origin to something else, I am actually OK with that. I would just like to have KM tell me somehow where it put the actual Z0 compared to the model so I could enter that value as the new origin in my controller after homing my CNC using the origin I chose for the model.

EDIT: one more thing, instead of having a checkbox like Harvie proposed to use model origin, I would rather have that be the default if something that moved the origin somewhere else (ex: origin center) wasn't selected

from grid-apps.

stewartoallen avatar stewartoallen commented on August 24, 2024

commit b657f66 allows manual entry of XYZ offsets. an upcoming feature will allow you to get coordinates off of model vertices.

from grid-apps.

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.