Giter VIP home page Giter VIP logo

Comments (7)

tcurdt avatar tcurdt commented on July 18, 2024

It seems the machine type is saved - but the resolution is not.
I was going through the code but didn't understand the cause for that difference.
Could you point into the right direction here?

from camotics.

jcoffland avatar jcoffland commented on July 18, 2024

The resolution is saved with the project. If you save and reopen a project the resolution should stay the same. I idea is that the appropriate resolution is project dependent because projects exist at different scales. However, the settings Low, Medium, etc. are calculated relative to the projects maximum dimension.

from camotics.

tcurdt avatar tcurdt commented on July 18, 2024

Maybe to explain my workflow and there is a better way to go about this:

I write some gcode and open it up via command line CAMotics. On a macOS thats:

open -a CAMotics --args `pwd`/file.nc

On every open I get greeted with

Screenshot 2023-08-24 at 14 02 31

I guess if the gcode would reload when I change file.nc using a project could become viable.
Then storying it in the project would make sense. And I would have to always click on the dialog.

Is there a better way for my workflow that could solve this the way you thought about CAMotics?

from camotics.

jcoffland avatar jcoffland commented on July 18, 2024

If you open a file in CAMotics and simulate it. You can change that file on disk and then just hit the reload button. It will resimulate with the updated file. One issue though, if you edit the file outside of the CAMotics editor, the changes will not be reflected in the CAMotics GCode editor.

If you're just manually editing the GCode, i.e. not generating it from some other program, you could just do you editing with in CAMotics. Double click on the file to open the GCode editor.

The third option is to write a project file with the resolution set to what you want.

from camotics.

tcurdt avatar tcurdt commented on July 18, 2024

One issue though, if you edit the file outside of the CAMotics editor, the changes will not be reflected in the CAMotics GCode editor.

That is the problem. I am generating the gcode file and would need a way to reload it from disk - somehow. Ideally automatic. Then I could just keep the project around with the correct settings.

from camotics.

jcoffland avatar jcoffland commented on July 18, 2024

But the simulation will reflect the changes.

You can also create a project file. Save it. Then update your GCode file and reopen CAMotics using the project file.

from camotics.

tcurdt avatar tcurdt commented on July 18, 2024

reopen CAMotics using the project file

That would be pretty nice. But it seems to just ignore the request to re-open and keeps the old file. I would be nice if that would trigger a reload. Right now only after closing and then re-open or pressing "reload" the new file is being used.

At least it sounds like this could be a pretty simple change.

Nevertheless. I think it would be nice if the defaults where somehow configurable.
That would also allows to get rid of the "create project dialog.

Thanks for all your input BTW.

from camotics.

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.