www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2013/06/21/13:34:42

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: <51C48E65.10508@prochac.sk>
Date: Fri, 21 Jun 2013 19:33:25 +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] 3D modelling and gEDA
References: <CAK=z9GWkMwS3NiLEgpvWuPgBVrGB+sHqb7DLCgYZTC3C1OyLSg AT mail DOT gmail DOT com> <51B6CDB6 DOT 1010909 AT estechnical DOT co DOT uk> <51B6DB0E DOT 8000108 AT prochac DOT sk> <CAK=z9GUWzhidWQsvxhWqYpSnyvUnmsut1+gatrMVvJqMM6L_UA AT mail DOT gmail DOT com> <kpfolc$gma$1 AT ger DOT gmane DOT org> <51BBA5E7 DOT 4040006 AT prochac DOT sk> <CAM2RGhQD-xY9dB37+Z-pkDwRQBrqv1aOew9a2W-J1n2g00Gdew AT mail DOT gmail DOT com> <1371329763 DOT 11314 DOT 10 DOT camel AT pcjc2lap> <4DFFE27A-47A1-41DB-98CC-490E1AB6085A AT jump-ing DOT de> <20130617012721 DOT 01e56f87 AT akka>
In-Reply-To: <20130617012721.01e56f87@akka>
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 17. 6. 2013 1:27, Kai-Martin Knaak wrote:
> I suggest to tell an existing 3D modeller about the geometry of the
> board and the position of components. This does not necessarily need to
> be done via one of the established general 3D data exchange formats. For
> example, freecad is well equipped to read python commands that build the
> 3D model from primitives and components from a library. Then freecad
> can do all the heavy lifting involved with photo realistic rendering,
> integration with 3D models of enclosures, 2D sketches for the workshop
> and finally export to STEP or other established formats.

The python scripts and boolean operations on objects provided by freecad 
seem promising at first glance. They offer us the level of simplicity 
which gives us opportunity to implement 3D export with limited resources 
in acceptable period of time.

I am practical man, so I tried to implement export of 3D model using 
freecad python scripts (tracks/lines as first step). But the results 
were disappointing. Tracks look more like Escher's stairways than PCB, 
for more "complicated" design (up to 20 lines) script runs for ages, it 
often fails ("Fusion failed" or "Operation was not done") or freecad 
completely crashes. It seems that underlying libraries have serious 
problems with boolean operations on objects with common edges or faces - 
slight adjustment of object position leads to different (sometimes 
correct) result.

I placed  simple examples - both generated and manually modified scripts 
(together with snapshot of results) in archive 
http://static.bastl.sk/pcb/freecad_examples.zip, so anybody can check 
them for mistakes (I am quite inexperienced with freecad). Any advice 
will be welcome.

Milan

- Raw text -


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