diff options
author | jaseg <git@jaseg.de> | 2024-07-05 12:37:48 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2024-07-05 12:37:48 +0200 |
commit | d7df97e8f611b7c35b8a072c585b7d8d19aa5a77 (patch) | |
tree | 06897d2e46797901046d41adee438b9caeb07552 /svg-flatten/src/out_gerber.cpp | |
parent | bd2b3733ee87bd918c9ea7ca8f871951f7f86bca (diff) | |
download | gerbolyze-d7df97e8f611b7c35b8a072c585b7d8d19aa5a77.tar.gz gerbolyze-d7df97e8f611b7c35b8a072c585b7d8d19aa5a77.tar.bz2 gerbolyze-d7df97e8f611b7c35b8a072c585b7d8d19aa5a77.zip |
Improve svg-flatten document scale error messages
Diffstat (limited to 'svg-flatten/src/out_gerber.cpp')
-rw-r--r-- | svg-flatten/src/out_gerber.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/svg-flatten/src/out_gerber.cpp b/svg-flatten/src/out_gerber.cpp index af84876..50b9f5b 100644 --- a/svg-flatten/src/out_gerber.cpp +++ b/svg-flatten/src/out_gerber.cpp @@ -52,6 +52,7 @@ void SimpleGerberOutput::header_impl(d2p origin, d2p size) { if (pow(10, m_digits_int-1) < max(m_width, m_height)) { cerr << "Warning: Input has bounding box too large for " << m_digits_int << "." << m_digits_frac << " gerber resolution!" << endl; + cerr << " Bounding box in gerber units: " << m_width << " x " << m_height << endl; } m_out << "%FSLAX" << m_digits_int << m_digits_frac << "Y" << m_digits_int << m_digits_frac << "*%" << endl; |