X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=s82zZhAskjeoqTdmfHUoN7adih40GtkDE6LJaLtMqSg=; b=FZk/5wovortXGhm2dKzVB/TOBSwGjpPBDncG7ZbjfnRobgCtteeE10h6RcpsFcH1dy Xt/exDjeJIERybUFxe/vnLB2HStjhB9k7pJgxwc8jsbdxGUWDmxXBRe7f6I7z3HYBPO8 bPqZp8BRYo3Mbc4/O5Qf6BaqNJs7Qq+LJl38NVUMmnLcXOlqaI5MxzkovdikUqDx+8cr RIv/uHEO2Ik6pPJZPEP+UuLgS9NNW3MuFTc9x6tVeWWBe1dMeqDufrY6YX6mp1nMtoj1 qf56R1dpRocx4UHAH+/IvOF5pA0Vo90B1bkzRVIp7tTarc6GQAfVSg9Dp5v3psINKDcu ogYg== MIME-Version: 1.0 X-Received: by 10.66.5.195 with SMTP id u3mr17296570pau.79.1371837343074; Fri, 21 Jun 2013 10:55:43 -0700 (PDT) In-Reply-To: <51C48E65.10508@prochac.sk> References: <51B6CDB6 DOT 1010909 AT estechnical DOT co DOT uk> <51B6DB0E DOT 8000108 AT prochac DOT sk> <51BBA5E7 DOT 4040006 AT prochac DOT sk> <1371329763 DOT 11314 DOT 10 DOT camel AT pcjc2lap> <4DFFE27A-47A1-41DB-98CC-490E1AB6085A AT jump-ing DOT de> <20130617012721 DOT 01e56f87 AT akka> <51C48E65 DOT 10508 AT prochac DOT sk> Date: Fri, 21 Jun 2013 12:55:42 -0500 Message-ID: Subject: Re: [geda-user] 3D modelling and gEDA From: Evan Foss To: geda-user AT delorie DOT com Content-Type: text/plain; charset=ISO-8859-1 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 Precedence: bulk freecad is built on opencascade which we can not integrate because of the license issues mentioned earlier in the thread. On Fri, Jun 21, 2013 at 12:33 PM, Milan Prochac wrote: > 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 > -- Home http://evanfoss.googlepages.com/ Work http://forge.abcd.harvard.edu/gf/project/epl_engineering/wiki/