delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/11/10/20:09:53

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=subject:to:references:from:message-id:date:user-agent:mime-version
:in-reply-to:content-transfer-encoding;
bh=at4dHfm2ODKnJMTiMoUw8KNrnPGfbmbpsr/jdGmO7k0=;
b=r1Bp1EK2BQk+zsAnuBs33F+U1rwckv8XxlHHidyNGsw5uApwmBLAXrRZIMVtovSUwu
nU2a7a3tq0J1BxpUDQkoPZZlrD1SJ8MAvj+e3XJ8zLrM7wjXgl4EgyeqPBB4rV9Af/J6
hhlZ1urNsVV1w4yPTAkV2dv/6724g8cB3ekZavo1vxHUPG91Ko1I+tw6rp+SvNfanzh4
NK7eaACS2nKadMxQRic2d8Mkv1zMNPI+MBEGiovBhC1io/bTWfmj7moK9Xdfxf0l3mIU
nQz7AZ80AiNxfGpa8SWHyr/29L340NK9m1HuIh7Dyj5k2fJEJatKZ6hJLLTSg3u5TRYL
Gt/w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:subject:to:references:from:message-id:date
:user-agent:mime-version:in-reply-to:content-transfer-encoding;
bh=at4dHfm2ODKnJMTiMoUw8KNrnPGfbmbpsr/jdGmO7k0=;
b=cxhs0O6rPZSGdV6vigLp4ztu8p2cIIZ7URdubwMDE2Y5irLW76PAdwCkJhtt4+PN7L
4vA5pEsRzaUr1c4LPKKuy7074SgeYXDBrozgP27GiKNvGleqIzv7Ocu86TGYVNPLlXZ3
7B57vXXAdf1jX+EN3ve4izEw9/p+e4t76XeWmGXCu9xnV5tiWYgdUl18IINUxSYRnqsh
XENzIUS6Rww/B4F3ae9FIQL4hh07haAkeb1LhYYMykH6Bl5woe4AgTdkpublNGp/+8Pg
iDMinsRw8MXjc2bnCFHLcJYUAavmcNd1PQKSs3bKPhgct7/1ULqCNPE7AIOmVslsUvMo
Az9A==
X-Gm-Message-State: ABUngveawq8RTgXJekqL2CDUHfdZRTJk4EJ5YGuL0YLOoC9eH2XZ63HKRUnhkAS9X/HFyQ==
X-Received: by 10.99.173.3 with SMTP id g3mr148611pgf.12.1478826483396;
Thu, 10 Nov 2016 17:08:03 -0800 (PST)
Subject: Re: [geda-user] [pcb-rnd] 6 more import/export plugins + call for
testers
To: geda-user AT delorie DOT com
References: <alpine DOT DEB DOT 2 DOT 00 DOT 1610161008090 DOT 7286 AT igor2priv>
<90007773-e175-d8e6-361f-13f618bced10 AT gmail DOT com>
<alpine DOT DEB DOT 2 DOT 00 DOT 1611102011550 DOT 7286 AT igor2priv>
<9c0d2698-3378-290e-55ae-ee02e880d8a0 AT gmail DOT com>
<20161110230855 DOT 9bda5d57a98cb57e22dbbf06 AT gmail DOT com>
From: "Charles Repetti (charlie94965 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Message-ID: <d6f705c9-ed9d-7972-cd30-d627b8337133@gmail.com>
Date: Thu, 10 Nov 2016 17:08:00 -0800
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0)
Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <20161110230855.9bda5d57a98cb57e22dbbf06@gmail.com>
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

I started with a version in "C" with a multitude of stroke painted 
areas, which was easier to approach. Then I read Ucamco.com's "Gerber 
Format Application Note: Painting Considered Harmful." Not wishing to be 
"beyond contempt" I started again with C++/Boost, and had a fairly quick 
time of it using polygon inflation/deflation, union, and intersection 
C++ operators. There are only a few dozen lines of polygon code to do 
the whole job, and this solution is much more reliable. I would not wish 
to try again without Boost, or some suitable replacement library.

The gather from their mailing list that the KiCad project went through 
some pain in first using, and then abandoning Boost. I might believe 
this was because of the woeful performance of the polygon routines, but 
since KiCad doesn't do interactive painting of polygons, I'm not sure 
this was their complaint. Perhaps it was simply a dislike of the 
library's overreaching architecture, which I could also understand.


On 11/10/16 2:08 PM, Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) 
[via geda-user AT delorie DOT com] wrote:
> Are there any hard to implement algorithms with these polygon perimeters in Stipple?
>
> On Thu, 10 Nov 2016 12:11:51 -0800
> "Charles Repetti (charlie94965 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> wrote:
>
>> Oops, I just took a look at that and since I use the Boost library
>> (www.boost.org) to calculate all those polygon perimeters in Stipple
>> (http://www.sandpiper-inc.com/stipple/html/), I depend on C++.
>>
>>
>> On 11/10/16 11:18 AM, gedau AT igor2 DOT repo DOT hu wrote:
>>> Hello Charles,
>>>
>>> On Thu, 10 Nov 2016, Charles Repetti (charlie94965 AT gmail DOT com) [via
>>> geda-user AT delorie DOT com] wrote:
>>>
>>>> Igor2
>>>>
>>>> I contributed the Stipple plugin, which I find indispensable for
>>>> flexible
>>>> circuit boards and capacitive touch sensors (features not found in
>>>> KiCad).
>>>> If I can find time for a test of your branch with my plugin I'll let you
>>>> know I've verified it.
>>> Thank you!
>>>
>>> I found your plugin while listing all available plugins. Unfortunately
>>> your plugin is written in C++ while in pcb-rnd we have a C-only policy
>>> (C89 for most code, especially feature plugins). If you decide to port
>>> your plugin to C, I'd be happy to include it in pcb-rnd.
>>>
>>> Regards,
>>>
>>> Igor2

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019