delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/08/19/14:56:04

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Mailer: exmh version 2.8.0 04/21/2012 (debian 1:2.8.0~rc1-2) with nmh-1.5
X-Exmh-Isig-CompType: repl
X-Exmh-Isig-Folder: inbox
From: karl AT aspodata DOT se
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] symbol generator development
In-reply-to: <20160819185923.68325a32b00555aa48c8e1c9@gmail.com>
References: <20160819111338 DOT C9A7D818B87E AT turkos DOT aspodata DOT se> <20160819185923 DOT 68325a32b00555aa48c8e1c9 AT gmail DOT com>
Comments: In-reply-to "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
message dated "Fri, 19 Aug 2016 18:59:23 +0200."
Mime-Version: 1.0
Message-Id: <20160819185425.AC0B9818B87E@turkos.aspodata.se>
Date: Fri, 19 Aug 2016 20:54:25 +0200 (CEST)
X-Virus-Scanned: ClamAV using ClamSMTP
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

Niklas:
> From pdf seems to be a little bit of a challenge and unpredictable.

Ohhh yes!

> I see you use a *.pins and *.tbl files.

Yes, the .pins (the .tbl is only something that existed in the pipeline)
was generated somewhat like:

 pdftohtml -f 40 -l 51 -c -xml /Net/http/www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/CD00237391.pdf a

which gave me a.xml [1]

 cd Experimental
 A/pins_from_xml.pl a.xml f

gave me [2]. I don't remeber how I got from f to stm32f105_7.tbl [3], 
but I did

 cd ..
 ./pins_st32f100.pl stm32f105_7.tbl

to get [4] and with *that* --- I have "proven" that I can 
semimanuallyautomatically generate sym's from pdf's :)

  I do remeber now, this is how I did it:

http://www.delorie.com/archives/browse.cgi?p=geda-user/2012/06/15/04:55:35

> If footprints are generated from these files they might be
> suitable as intermediate files.

Yes, the .pins file is basically the table 8 of [5] (page. 46..57)
(page/table numbers have changed since I ran this last time) condensed.
Use it like you please.

> Then your software could be used as a backend with more input methods.

Sooo, what do you propose ?

Regards,
/Karl Hammar

[1] http://turkos.aspodata.se/git/openhw/pdftosym/Experimental/a.xml
[2] http://turkos.aspodata.se/git/openhw/pdftosym/Experimental/f
[3] http://turkos.aspodata.se/git/openhw/pdftosym/stm32f105_7.tbl
[4] http://turkos.aspodata.se/git/openhw/pdftosym/stm32f105_7.pins
[5] http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/CD00237391.pdf

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57


- Raw text -


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