Jack000 / Deepnest

An open source nesting application for laser cutters, plasma cutters and other CNC machines
844 stars 258 forks source link

Approximation of curves #117

Open ajlapp opened 3 years ago

ajlapp commented 3 years ago

I'm using Deepnest all the time with my waterjet cutter! It's amazingly handy.

That said the approximation of curved surfaces seems very poor and no setting I've found seems to be satisfactory.

The curves look great in the nesting preview but the DXF exports have very course linear approximations of the fine curves. Is there anyway to improve this?

The images below show that the native imported DXF looks perfect and both attempts at the Deepnest version look very linearized.

Preview in the Nesting window deepnest_raw_image

Exported DXF with 0.1 curve tolerance setting bracket-depnest_export_dxf

Exported DXF with 0.0001 curve tolerance setting bracket-depnest_export_0001-curve-tolerance_dxf

Native DXF brough directly into CAD program dxf_native_import_without_deepnest

andrewwong2000 commented 3 years ago

I noticed this too when trying out Deepnest.. if it preserved arcs when nesting a DXF it would be usable. Due to this issue (affects cut quality and performance) and the occasional output overlapping parts I just do manual nesting in Sheetcam.

Will keep an eye on this and see if it changes.

PaulShroom commented 1 week ago

Would it be hard to relocate the original using a script after the nesting has finished? https://discourse.mcneel.com/t/finding-similar-curve/151034/8

PaulShroom commented 1 week ago

"If it preserved arcs when nesting a DXF it would be usable." Yes, it would be a game-changer.

bosd commented 1 week ago

Hi, Thanks for your interest in deepnest. Deepnest is abondoned by the original author. There is a community based fork at this repo: https://github.com/deepnest-io/Deepnest Maybe this issue is fixed there. Please check.