As title, I want to write a CAD program, nothing super crazy fancy, just something where I can draw lines in a 3D space, specify faces, make various modeling transforms like extrusions etc then export to Gcode or STL etc. Basically I need to be able to interact with a 3D space and create objects that can then interact with each other by clicking on them or selecting them and so on.
I'm kind of leaning towards python as GUI stuff is most likely going to be much easier to do with tkinter etc, vs C++ where you need like 500 lines of code just to draw a window but C++ may also have a better performance advantage. The nice thing with Python is the app should in theory be cross platform, but I am aiming for Linux. I may also do a client-server model, where the server is C++ and all the calculations are handled there, and the GUI is more thin and just talks with the server. But those are details I will figure out as I go. I'm mostly wanting to figure out the best approach for the GUI part and any libraries I should look into.
I'm not worried yet about the math involved in creating transforms, I will cross that bridge when I get there, and it will not be easy as math is not my thing, but for the time being I mostly want to get a basic interface going where I can draw lines, create basic objects and click on them to then trigger actions on that object. So any recommendations of directions to go?
There is a big lack of user friendly CAD programs when it comes to Linux, so I want to write this for myself as it would be nice to get into 3D printing and what not, but at same time I feel there is a gap to be filled and I may as well fill it. I've been pondering on starting a major coding project anyway so this may be the one.
I'm kind of leaning towards python as GUI stuff is most likely going to be much easier to do with tkinter etc, vs C++ where you need like 500 lines of code just to draw a window but C++ may also have a better performance advantage. The nice thing with Python is the app should in theory be cross platform, but I am aiming for Linux. I may also do a client-server model, where the server is C++ and all the calculations are handled there, and the GUI is more thin and just talks with the server. But those are details I will figure out as I go. I'm mostly wanting to figure out the best approach for the GUI part and any libraries I should look into.
I'm not worried yet about the math involved in creating transforms, I will cross that bridge when I get there, and it will not be easy as math is not my thing, but for the time being I mostly want to get a basic interface going where I can draw lines, create basic objects and click on them to then trigger actions on that object. So any recommendations of directions to go?
There is a big lack of user friendly CAD programs when it comes to Linux, so I want to write this for myself as it would be nice to get into 3D printing and what not, but at same time I feel there is a gap to be filled and I may as well fill it. I've been pondering on starting a major coding project anyway so this may be the one.