Comments (7)
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.
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.
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](https://private-user-images.githubusercontent.com/13697/262966681-51c677c9-9c8d-43bc-a864-81660fce1e33.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk0ODU5ODEsIm5iZiI6MTcxOTQ4NTY4MSwicGF0aCI6Ii8xMzY5Ny8yNjI5NjY2ODEtNTFjNjc3YzktOWM4ZC00M2JjLWE4NjQtODE2NjBmY2UxZTMzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI3VDEwNTQ0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUwZWNkZDlkNzYzOTcwMDlmYTUyYjcyODA1NjE5MGZhYzg1Y2VlMmNlMTY1YzQxZDA1YjYwNmU1YzZhZDA4MmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.A_H6Abhsv3OCplXVOzxFX7f2ekaolI2Z89HEuTt5RR8)
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.
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.
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.
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.
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)
- Any reason why CHANGELOG shows 1.2.1 and 1.3.0 but no releases were generated for them? HOT 1
- Suggested Patch to Add Picking To TPL Files HOT 3
- Implement ambient occlusion in 3D lighting.
- how to add other machines? HOT 16
- Newer Version Build for usage with FreeCAD HOT 11
- Debian 12 libssl and v8_compress_pointers (Embedder-vs-V8 build configuration mismatch) HOT 1
- Python API `get_path()` throws NULL pointer runtime error HOT 2
- Build broken due to missing boost header HOT 3
- Debian Bookwrom HOT 2
- ERROR: On embedder side pointer compression is ENABLED while on V8 side it's DISABLED. HOT 3
- Fixture modeling and collision detection. HOT 2
- Allow TPL to emit arbitrary G-code HOT 5
- Simulate dwells (G4 P-) HOT 3
- Error when building: No such file or directory AsyncCopyStreamToLog.h HOT 1
- Support muliple workpieces
- RuntimeError when calling Simulation.set_path() in Python HOT 1
- Compile fail on Debian Trixie HOT 2
- G52, M98, M99, O support
- Support print mode
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from camotics.