kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #37642
Re: [PATCH] pcbnew: add option to set custom drill mark size during print
-
To:
<kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
From:
Maciej Sumiński <maciej.suminski@xxxxxxx>
-
Date:
Wed, 26 Sep 2018 15:41:39 +0200
-
Authentication-results:
spf=pass (sender IP is 188.184.36.50) smtp.mailfrom=cern.ch; lists.launchpad.net; dkim=none (message not signed) header.d=none;lists.launchpad.net; dmarc=bestguesspass action=none header.from=cern.ch;
-
Autocrypt:
addr=maciej.suminski@xxxxxxx; prefer-encrypt=mutual; keydata= xsBNBFKfmAwBCAC9tak+4mDO1WiNnAwegusPBMEdl+sV35XeaU4PGSt33mPSlXB2klamg4ih QUykvuWqNEg2KyTvCSKNfnHTpzeeFegEsIwWFdhbIc4uUAD6CHl4+uGTXQiMh1+IJkgLmwuD RCEx9mSKbdzzTKz05w+fzzT3mNfko8NICWlcmhFgo2RXnQRTqFg7CNNBpx4kr4+AWIvb+Rha AVMLVJj1s05+STGyFucu6sZmTmOC53ZtkV8HchJeGuQL0LPkjvX0VKGE3gkvuP4iLBcgFtNC Kcu/L6FmWd24m2IhWaHXoWLBiVFw7gGzUdB7gSAiNO1+SoWX+99rbud7RvqV49vOgoqbABEB AAHNKU1hY2llaiBTdW1pbnNraSA8bWFjaWVqLnN1bWluc2tpQGNlcm4uY2g+wsB5BBMBAgAj BQJSn5gMAhsDBwsJCAcDAgEGFQgCCQoLBBYCAwECHgECF4AACgkQFHAa7WGlsnU/JQf5AYW0 oFH+jOykZvlRkRZMoqw1vZGOHeRPK92vbjeiau/hALYX1FBvZMx+JMmVHN7DkRIY7bVoiJ6N n4Byn//BSd9F9eXjAphYVuBg2Xe5wp3/l9/z2Iw8KeLpfKAtfIybgpycvTuUxFIxm9mtpPt+ AoNFKBDhfLcpZLJTW7AwwpnzP+GDdjszjnW6rMt8Aq55liR+y/TZfz/tTEDcUcSPLlJBTmda TmkO5aPxPmeCeDMOT3YEd+bK57V5b7RgtqTdIT6CW7tjQKBPJbIGa8PQ0tUfz0yCBEPWghnY w+B/2JeArrRXDui78cGgTDy1ocQNAm3havk2WO2qykxziY6Owc7ATQRSn5gMAQgAxw+MRllT IPNnCeOAbRgX1KRzo7+7WpSIbmhrBzLY0O1SyIa7U05E6+4jDHDfDpSLqc61an1+M69e6l9Z E3ve3hymtj5ucXZQnveQ5klD6z5FBC/04of/YyrS+h6iRSM0nOmu1JOIqM0S2OzwsKRsS86r jCtRE5OxoBDCIB4xNPitezs4uvLoVfO3mVYUhiPRZMtTCInEi+tlM+AmaPjRkPAfhd0wsOjk oxkuJWEnZ8U8oHpeL0uqANZgLlIiT5yJMWsyyqlK01hdFbuIydIFFiyXJw1HDTXWX+tMxJrX VEvQJZALof9RU/jntqGltnQXArUgPMSGGu1f+7AH/CuMyQARAQABwsBfBBgBAgAJBQJSn5gM AhsMAAoJEBRwGu1hpbJ1maAH/RZPbvXaNIOouHZlnlkq/WORHxjkKfve+AbE62Ed8yFIwlAj tyZGKeEG9hDJl6f9BxDv+9qunTfWfXQuHxNIpdXstkxQIx4m043Kx3h7VdEmg53ybeGNgpvz BYk5HdgCH3yP6UbGNiel6xZOywmvpru3pEKNg4mJhzxm9JCG+djrvbRh+BZNOkDBgaSiCAuJ q6Ffo9Qk/qfl6Uim9G7GKSS4930ZQ2GoVObe+jXixOhWXFSDhGKX5meABmELJ9XTcW3Pp6XC 0KXOE2p0EHQPmFvXdU6OePI72jTgRzPJXRXbPkL0/NUfbZfxS/xnAG8jmODc2ufbtrvE2jPu INX35u4=
-
In-reply-to:
<2010415.eAD97B7Pky@zgyarmati-thinkpad-w530>
-
Openpgp:
preference=signencrypt
-
Spamdiagnosticmetadata:
NSPM
-
Spamdiagnosticoutput:
1:99
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0
Hi Zoltan,
I should have mentioned this earlier, but I am working on a large
refactor of the printing system to take advantage of GAL. I think most
of your patch will stay valid, and I will handle the conversion to the
new code. Just to let you know - do not focus too much on the drawing
code part. Sincere apologies for late response.
Regarsd,
Orson
On 9/13/18 8:28 PM, Zoltan Gyarmati wrote:
> On Donnerstag, 13. September 2018 05:01:30 CEST Seth Hillbrand wrote:
>> Hi Zoltan-
>>
>> Thank you for your contribution. As a quick note on our status right now,
>> we are focusing on the 5.1 branch that is moving eeschema to our underlying
>> GAL framework along with dialog revisions. After that is released, we'll
>> begin accepting new features such as your patch.
>>
>> The patch looks like a nice feature. To be accepted, we'll need it to
>> follow KiCad coding policy (
>> https://kicad-source-mirror.readthedocs.io/en/stable/Documentation/developme
>> nt/coding-style-policy/) consistently. There are a few places where you are
>> missing spacing around commas or parentheses. Also, please ensure that you
>> do not use "magic" numbers, e.g. 10000000. Instead use constexpr with
>> well-named variable and comment for units.
>>
>> I would suggest making these revisions and attaching the patch to the
>> associated bug report. This will ensure that we don't lose track between
>> now and when v6 development opens.
>>
>> Best-
>> Seth
>>
>> Am So., 9. Sep. 2018 um 11:11 Uhr schrieb Zoltan Gyarmati <
>>
>> zgyarmati@xxxxxxxxxxxx>:
>>> To help manaul drilling, the print dialog provides option to
>>> print small drill marks.
>>> This patch adds one more option to set custom drill mark size,
>>> while keeping backward compability with previously saved
>>> configuration values.
>>>
>>> Fixes: lp:1287362
>>> https://bugs.launchpad.net/kicad/+bug/1287362
>>>
>>> Signed-off-by: Zoltan Gyarmati <zgyarmati@xxxxxxxxxxxx>
>>> ---
>>>
>>> pcbnew/dialogs/dialog_print_using_printer.cpp | 22 +-
>>> .../dialog_print_using_printer_base.cpp | 36 +-
>>> .../dialog_print_using_printer_base.fbp | 541 ++++++++++++++++--
>>> .../dialogs/dialog_print_using_printer_base.h | 13 +-
>>> pcbnew/pcbplot.h | 1 +
>>> pcbnew/print_board_functions.cpp | 21 +-
>>> pcbnew/printout_controler.h | 4 +-
>>> 7 files changed, 584 insertions(+), 54 deletions(-)
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~kicad-developers
>>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>> More help : https://help.launchpad.net/ListHelp
>
>
> Dear Seth&All,
>
> thanks for the review! I'll give this one more iteration, and attach the patch
> to the bug report in the next days.
> BR,
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
Attachment:
signature.asc
Description: OpenPGP digital signature
Follow ups
References