delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2013/06/26/05:19:21

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-SourceIP: 89.173.57.57
Message-ID: <51CAB1D6.40201@prochac.sk>
Date: Wed, 26 Jun 2013 11:18:14 +0200
From: Milan Prochac <milan AT prochac DOT sk>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
MIME-Version: 1.0
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] LP699502-openscad-exporter
References: <AD211BF7-2641-4C0D-A8AB-7A39DE239FB0 AT jump-ing DOT de> <51CA371C DOT 10507 AT prochac DOT sk> <kqdhff$iia$1 AT ger DOT gmane DOT org>
In-Reply-To: <kqdhff$iia$1@ger.gmane.org>
X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00
autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on gw-milan.doma.local
Reply-To: geda-user AT delorie DOT com

On 6/26/2013 3:51 AM, Kai-Martin Knaak wrote:
> For many years we just had talk on 3D. And now, suddenly, two 
> solutions pop up. 

Maybe now it's the good time for 3D exporter :). Well, would I know 
about OpenSCAD before...

> Nice! It even shows lines on silk. 

It can export everything. But do not expect detailed one-to-one mapping 
between objects on PCB and 3D model - the specifics of PCB design 
(clearances, thermals) break such relation. Therefore whole layer 
(copper , silk, mask) is treated as single object (built from bunch of 
rectangles, circles and polygons).

Anyway, all layers are created as modules, finally  combined together in 
few lines at end of exported file.

> Can you place components on bottom? 

Yes, components can be placed at bottom.

> Where do components "live"? 

If you ask about the component library, it do not exist yet. But any 
piece of properly sized and oriented scad code can be used as component.

The components should/will be placed in <...>/share/pcb/scad/... 
directory structure. The component handling part improved variant from 
my VRML filter. It will allow on-fly customization, but it will also 
provide reasonable "default handling" without any additional (or very 
minimal) effort, allowing easier startup.

The component library and component handling is very complex topic.

>> The model exported to STL and imported into FreeCAD:
>> http://static.bastl.sk/pcb/test-stl.png
> Did you try the openscad module of freecad?
> http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=OpenSCAD_Module

I will try later, but I have some feeling - based on  my experience with 
FreeCAD Python scripting -  that results will be disappointing.

> Is your exporter available for download somewhere?

There are still some minor issues in component export, it needs some 
more hours to finish. I will try it make available later today (not 
"production" quality, but it should work).

Milan


> ---<)kaiamrtin(>---

- Raw text -


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