www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2017/01/13/11:31:49

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=20161025;
h=date:from:to:subject:message-id:in-reply-to:references:mime-version
:content-transfer-encoding;
bh=CFFaQ3TyvjaoR0ze1RjUh4UMavQORATmSf80GpoiUm0=;
b=Ew2JTcQbrUBWm2I6PIJhyXpY0ijEK7DjLelu0vjQUV/RI/fdVixUVC7Mh6ZixFFqa2
x8RHBqUu7cBjhsPYQ9GJFdfLr0ijXYh8lMhGDALGl0MRYgQ9UxYGjOZ9vV3NcsTTNAZw
L1tuUhda5S3HqCO3SL+iyWRVvYQdgNejk2tpK51RpvY+cB3PJdduYr8K5YPSve/QYAoY
4DANyv1uSMhemgm8ebaGUXUxmmZs1R7bvL8CO3PZPc0T9xoBBrfrtTBd8dsfIQfCyY54
fnWoHoebvXXXJixs4ArUpEGiCjYcc+levZEJ1WDEoc0aNmp93jHAAVYGzraceHDTOiRq
JWLw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to
:references:mime-version:content-transfer-encoding;
bh=CFFaQ3TyvjaoR0ze1RjUh4UMavQORATmSf80GpoiUm0=;
b=cGJKBQIVoP0rSlCvNSiMiVZYEhxW9TUfum1+zLvA82npKfUZT0qNsKPzvkrVOiQg0t
32Ez412rQSBjl/vo6VdLb0jlFjTkws8YrngureUELWbQKbPKlYF7CrTgzfJm14HQKkSE
m9TG4D0PjMADcRg4WCcwIKdn3dYlfoDzWbSRo12P8XG49pn9WYKez5Xa639dqVjDUzJA
pNCT0aA7mtAo0km9Z0MOiWJdT1/RaL5vGe1MLC97+Ulz+mb/LcSyXOAI+wR3ymcDBD8U
qWUClyr9bBYLGTkw8bsxczSbdP0oAfW1Im8stuwRrptzq7JSinjWLj+XWW4f3iAsa7Dp
c+jg==
X-Gm-Message-State: AIkVDXLWqp0MoQd65FcjHNq/R8jV5PqyRp4LUQPuZnvO7wTHR0sm3jv4Z5Y8D7CWW9Y/Hg==
X-Received: by 10.25.74.72 with SMTP id x69mr5304243lfa.66.1484325035044;
Fri, 13 Jan 2017 08:30:35 -0800 (PST)
Date: Fri, 13 Jan 2017 17:30:30 +0100
From: "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] made with gEDA --> layer transparency
Message-Id: <20170113173030.39179ea834165e4bc61d862b@gmail.com>
In-Reply-To: <CAJXU7q9SPFrVee5CjdVjvWsyCetrVEb56Y1ocZfy-9_CWLnUhQ@mail.gmail.com>
References: <39216e8d-00d4-29c9-56e6-8ae22fe81833 AT neurotica DOT com>
<CAJXU7q-qtfNiqe-VuYK+k81PR7cTN2XaJWtxXk3uPzjjm5+TgQ AT mail DOT gmail DOT com>
<ac6764d4-3c77-baf6-5df8-d3f46c4660c9 AT neurotica DOT com>
<CAJXU7q9SPFrVee5CjdVjvWsyCetrVEb56Y1ocZfy-9_CWLnUhQ AT mail DOT gmail DOT com>
X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.23; i686-pc-mingw32)
Mime-Version: 1.0
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 need to come up with a strategy for upstreaming that.. basically, what
> > I did on my branch isn't super compatible with the newer PCB versions.
> > It extended the hacky way PCB uses extra layers in an arbitrary order
> > after the defined ones as silk layers (by adding two optional mask
> > layers after the silk ones).
> 
>   It would be great to get that upstreamed, and maybe even into pcb-rnd.
>  It looks like there's a huge amount of very good development happening
> on that project.  As soon as there's transparency support, I'll be on
> that like white on rice. :)
> 
> 
> Transparency support where, pcb-rnd?
> 
> Not sure when that might happen.. one of Igor's original stated reasons for
> forking was to rip out the (optional) upstream support for opengl which I
> added.
> 
> Sure, there are other ways to achieve transparency but they are likely to
> be slower than opengl.

I guess what is needed is a polygon library which could calculate and draw between a few drawing primitives: intersections, subtraction, addition. This library could also be used for clearance.

The same thing is actually done in CAD programs but usually in threee dimensions. There are boolean operations. Complex shapes are made from a few simple objects and material is removed by other objects.

The math and algorithms behind it is the hard problem but there are libraries avaialable for free.


Nicklas Karlsson

- Raw text -


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