pyleecan.GUI.Dxf.dxf_to_pyleecan module


Create the pyleecan object corresponding to the DXF entities Currently handles Line and Arc

convert_dxf_with_FEMM(self, file_path, tol)[source]

Convert a DXF file with FEMM: - Merge point according to tolerance - Convert lines to Arc and Segments

  • self ((DXF_Hole, DXF_Slot, DXF_Surf)) – GUI DXF widget

  • file_path (str) – Path to the file to convert

  • tol (float) – Tolerance to merge point [local unit]