CauldronDevelopmentLLC / CAMotics

Open-Source Simulation & Computer Aided Machining - A 3-axis CNC GCode simulator
Other
622 stars 143 forks source link

Support opening STL & DXF files #198

Open jcoffland opened 8 years ago

jcoffland commented 8 years ago

This feature would open up a dialog asking the user for a handful of configuration options to turn a 2D STL or DXF in to a GCode program directly in CAMotics.

martonmiklos commented 7 years ago

Hi there!

Are you planning to integrate toolpath generation (CAM) to the software? For dealing with DXF files I could recommend this library: http://www.ribbonsoft.com/en/what-is-dxflib

It is written by teh QCAD guys.

jcoffland commented 7 years ago

Yes. I did know about that library. CAMotics already has a DXF lib. You can see it here: https://github.com/CauldronDevelopmentLLC/CAMotics/tree/master/src/camotics/dxf Thanks for the suggestion.

martonmiklos commented 7 years ago

Ah sorry, I have not checked the code. Do you have any plans to integrate toolpath generation to the software?

jcoffland commented 7 years ago

Yes, that's what this issue is about.

jcoffland commented 7 years ago

Initially what I have in mind for DXF import is very simple. You open a .dxf file and are then presented with a wizard type dialog. You are presented with a list of DXF layers which you may:

You can also set cutting the depth, step down, feed, speed, tool, etc. When you hit OK it will generate the GCode and simulate. This is very similar to the style of pyCAM.

This may not be the most advanced interface but it should cover a large number of common use cases and make CAMotics much more useful for many people.

tpimh commented 2 years ago

Any ideas on STL import?

jcoffland commented 2 years ago

It's not yet supported.