www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/06/29/21:34:08

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-TCPREMOTEIP: 207.224.51.38
X-Authenticated-UID: jpd AT noqsi DOT com
From: John Doty <jpd AT noqsi DOT com>
Message-Id: <A3C108DE-FAE8-48C7-ABFB-38044E3ADE13@noqsi.com>
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
Subject: Re: [geda-user] gEDA/gschem still alive?
Date: Mon, 29 Jun 2015 19:33:45 -0600
References: <1435510363 DOT 682 DOT 26 DOT camel AT ssalewski DOT de> <55902AB9 DOT 9000004 AT neurotica DOT com>,<alpine DOT DEB DOT 2 DOT 00 DOT 1506281932040 DOT 6924 AT igor2priv> <DUB125-W14CCFC72BE0E267D38C8EEC6AB0 AT phx DOT gbl>
To: geda-user AT delorie DOT com
In-Reply-To: <DUB125-W14CCFC72BE0E267D38C8EEC6AB0@phx.gbl>
X-Mailer: Apple Mail (2.1878.6)
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

--Apple-Mail=_4B3A2921-2F18-460B-A594-CC0C113B6C5D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=iso-8859-1


On Jun 28, 2015, at 1:03 PM, Hannu Vuolasaho (vuokko AT msn DOT com) =
<geda-user AT delorie DOT com> wrote:

>=20
>=20
>>=20
>> I am happy that there are no new releases of gschem stuffed with new
>> features - for me, gschem is complete.
>=20
> One thing is missing. Draw schematics. -> convert to symbol and use as =
block.  Doing schematics nicely in hierarchical way is still a lot of =
hand work.
>=20
> Take those ports and shovel in to djboxsym definition file would be =
enough for me.

Quickie alpha version of a gnetlist back end to do that:


--Apple-Mail=_4B3A2921-2F18-460B-A594-CC0C113B6C5D
Content-Disposition: attachment;
	filename=gnet-djboxsym.scm
Content-Type: application/octet-stream;
	name="gnet-djboxsym.scm"
Content-Transfer-Encoding: 7bit

;;; gEDA - GPL Electronic Design Automation
;;; gnetlist back end for making hierarchical symbols
;;; Copyright (C) 2015 John P. Doty
;;;
;;; This program is free software; you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 2 of the License, or
;;; (at your option) any later version.
;;;
;;; This program is distributed in the hope that it will be useful,
;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with this program; if not, write to the Free Software
;;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

; Make a djboxsym file with INPUT and OUTPUT as pins


(define (djboxsym filename)
	(set-current-output-port(open-output-file filename))
	(format #t "
# djboxsym symdef generated by gnet-djboxsym

[labels]
refdes=X?
device=hierarchical_subcircuit
")
	(for-each put-source (sources))
	(format #t "
[left]
")
	(for-each put-io (packages-by-device "INPUT"))
	(format #t "
[right]
")
	(for-each put-io (packages-by-device "OUTPUT")))

(define (packages-by-device device)
	(filter (lambda (package) (string=? device 
		(gnetlist:get-package-attribute package "device"))) packages)
)

(define pinnumber 0)
(define (new-pinnumber) (set! pinnumber (+ pinnumber 1)) pinnumber)

(define (put-io package)
	(format #t "~A	~A\n" (new-pinnumber) 
		(gnetlist:get-package-attribute package "refdes")))

(define (sources) (filter (lambda (arg) (string-suffix? ".sch" arg)) (command-line)))

(define (put-source source) (format #t "! source=~A\n" source))

--Apple-Mail=_4B3A2921-2F18-460B-A594-CC0C113B6C5D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252



Give me any ideas on how this could be improved. The wonders of the =
toolkit approach!

>=20
> I also like pace of gschem development. It doesn't surprise me with =
new boxy UI with pink kittens. It just works.

Yep. That=92s what you need in production software.

>=20
> Best regards,
> Hannu Vuolasaho
> 		 	   		 =20
>=20

John Doty              Noqsi Aerospace, Ltd.
http://www.noqsi.com/
jpd AT noqsi DOT com



--Apple-Mail=_4B3A2921-2F18-460B-A594-CC0C113B6C5D--

- Raw text -


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