I am trying to do the CAM for the following onshape sketch using OpenBuilds CAM: I export the sketch as a .dxf file with the following settings: I open the .dxf file in OpenBuilds CAM and select the interior hexagon (the error is thrown by both hexagons), when I try to create a tool path for this, it says that the selected toolpath contains open vectors: According to my design in onshape, these shapes are definitely closed. As shown by the yellow highlight in the first picture, selections of areas in sketches are only yellow if the area is closed in onshape. I tried googling around and tried to fix the problem by opening the .dxf in qcad and selecting all the geometry > draw > polyline > polyline from selection. Then I saved the file as a .dxf: While I'm saving the file in qcad, this warning pops up: After clicking 'yes' (no file is saved if I click on 'no') and saving the file, I open it in OpenBuilds CAM which fails to open the file with this error message at the bottom of the window: I have tried to 'assign' colours in qcad, and from whatever I can glean from the info displayed on screen there's no issue of 'unassigned'/'undefined' colours in the .dxf. I tried my best to reproduce the steps I took in qcad in librecad, and that too results in OpenBuilds CAM throwing the same error. Any guidance would be greatly appreciated - what's the easiest way to fix this issue of open vectors? Complete CAM noob here, might be a little lost on some of the terminology used in this forum... apologies in advance. Thanks! Shookti
See docs:software:file-errors [OpenBuilds Documentation] Make sure to both close all entities in qcad (or any other good DXF CAD) and convert to polylines You can upload the DXF if you want us to check
Thanks for responding! Here are the DXFs: before (onshape): hex.dxf after (qcad): hexq.dxf Not sure how I can check if whatever I have done has worked and closed all the vectors within qcad.
Hello, I took the liberty of looking at your DXF file and I found all loose lines that I connected again in Inkscape. Could you look at this in Openbuilds cam to see if it opens properly? Kind regards Bert Klappe
Hi Bert, thanks for taking the time. I can't find any attached files in your post. Can you please check if you've attached it?
Hi, I've managed to fix my problem. Solution: Export R14 DXF from Onshape > Open it in Inkscape > Select all entities by pressing Ctrl + A > Ungroup all selections by repeatedly pressing Ctrl + Shift + G > Select the Node Tool (with all entities still selected) > Press Ctrl + A again to select all nodes > Click on 'Join selected nodes' > Save the file as (Ctrl + Shift + S) an R14 DXF
OpenBuilds CAM is not wrong, those aren't joined up closed shapes You can see its all seperate LINE segments, they aren't joined together into a closed path/polyline at all Same for the Circles You can see, they are still of type Circle not Polyline... Got to join (weld) those loose segments into Polylines, and convert all non-polyline entities to polylines Problems with importing DXF into OBcam (Trial of the Pro version of QCAD can do it automatically)