Welcome to Our Community

Some features disabled for guests. Register Today.

open lines / SOLVED Solidworks HOW TO closed Polyline DXF

Discussion in 'CAM' started by Kodiakhans, Nov 29, 2023.

  1. Kodiakhans

    Builder

    Joined:
    Oct 6, 2016
    Messages:
    5
    Likes Received:
    0
    upload_2023-11-29_23-41-59.png
    Hello, any help why the vector are open? I created the dxf file from Solidworks. Thx
     
  2. Giarc

    Giarc OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Jan 24, 2015
    Messages:
    3,015
    Likes Received:
    1,681
    Try to save it as a R14 polyline DXF if solidworks provides that option.

    Open Vectors
     
  3. Kodiakhans

    Builder

    Joined:
    Oct 6, 2016
    Messages:
    5
    Likes Received:
    0
    upload_2023-11-30_20-26-1.png
    This is my setup but the result is the same...This toolpath contains 1 open vector(s), and 0 closed vector(s) :-(
     
  4. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,051
    Likes Received:
    4,313
  5. Albert64

    Albert64 Well-Known
    Builder

    Joined:
    Jun 1, 2019
    Messages:
    32
    Likes Received:
    30
    Just to share my experience with both open and closed polylines. Not sure if it is a feature of the CAM I use, CamBam, or the CAD, CMS Intellicad.
    I have zero issues with open polylines. My machine accepts both open and closed. The only instance I require a closed path is for a pocketing operation.
    Nearly 80% of the glyphs I recreate are comprised of open polylines.
    Therefore not understanding others issues with open vectors? Perhaps it is related to the requested machining operation for the vector.
    Also I export my DXF files as AutoCad 2000 ASCII format and have experienced zero errors to this date.
    Just contributing to the knowledge base of this community.
     
  6. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,051
    Likes Received:
    4,313
    OpenBuilds CAM needs closed vectors for any offset operation (inside, outside, fill and pocket). Give it clean proper files and alls well.
    Open vectors can't be offset by Clipper (geometry library)
     
  7. Kodiakhans

    Builder

    Joined:
    Oct 6, 2016
    Messages:
    5
    Likes Received:
    0
    Hi Peter, yes I agree but I don´t know what is wrong with my drawing. Enclosed you can find the origin file. I´m not able to create in Solidworks the right dxf file.
     

    Attached Files:

  8. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,051
    Likes Received:
    4,313
    I don't have Solidworks to check but a quick Google shows others have trouble too, see solidworks export polyline dxf closed vectors - Google Search

    Otherwise might need to go Solidworks > DXF into something like Autocad/qcad/fusion/draftsight > fix the opened lines > export to DXF again

    Or check in with your Solidworks support team
     
  9. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,051
    Likes Received:
    4,313
  10. Larry Paige

    Builder

    Joined:
    Dec 18, 2017
    Messages:
    13
    Likes Received:
    4
    Finally found a way for Solidworks users to save closed paths that work with OpenbuildsCam.
    1. Create a sketch on your 3D model face, that contains your paths.
    2.Convert all features (perimeter too) with Convert Entities.
    3. Use Fit Spline command on every feature to make all your pockets etc. into closed paths. You'll have to mind the tolerances within Fit Spline so it does not change your path shape.
    4. Once all paths are closed, turn that sketch into a surface with the Planar Surface command.
    5.Hide your 3D model but keep the new surface (only) showing.
    6.Take your new surface into a Drawing and "Save As" DXF. Do not right click the face and pick "Export to DXF". This will not work.
    7. As said before, pick DXF options while saving and click checkbox to convert to polylines. Save and done.
    Enjoy!
     
    Peter Van Der Walt likes this.
  11. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,051
    Likes Received:
    4,313
    Fantastic! Thanks for sharing
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice