Skip to content

drill output on linux systems does not work on old windows based drill machines

Description

Old Windows-based drill machines expect \r\n in drill files, which Windows-based KiCad outputs. However, Linux does not use this format, leading to unreadable files in Windows-only routing and drilling tools.

Steps to reproduce

  1. Generate drill file on kicad for linux
  2. Try to read the file with windows only tool like Routepro 2008

KiCad Version

Application: KiCad x86_64 on x86_64

Version: 9.0.0-9.0.0-2~ubuntu24.10.1, release build

Libraries:
	wxWidgets 3.2.5
	FreeType 2.13.3
	HarfBuzz 9.0.0
	FontConfig 2.15.0
	libcurl/8.9.1 OpenSSL/3.3.1 zlib/1.3.1 brotli/1.1.0 zstd/1.5.6 libidn2/2.3.7 libpsl/0.21.2 libssh2/1.11.0 nghttp2/1.62.1 librtmp/2.3 OpenLDAP/2.6.8

Platform: Ubuntu 24.10, 64 bit, Little endian, wxGTK, X11, KDE, x11

Build Info:
	Date: Feb 20 2025 21:17:37
	wxWidgets: 3.2.5 (wchar_t,wx containers) GTK+ 3.24
	Boost: 1.83.0
	OCC: 7.8.1
	Curl: 8.9.1
	ngspice: 43
	Compiler: GCC 14.2.0 with C++ ABI 1019
	KICAD_IPC_API=ON

Locale: 
	Lang: en_GB
	Enc: UTF-8
	Num: 1,234.5
	Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)