delorie.com/archives/browse.cgi | search |
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 with nmh-1.7+dev |
X-Exmh-Isig-CompType: | repl |
X-Exmh-Isig-Folder: | inbox |
From: | "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
To: | geda-user AT delorie DOT com |
Subject: | Re: [geda-user] PCB silk layer image script |
In-reply-to: | <6877754c-dcb7-db34-dd39-419de060ad7a@linetec.nl> |
References: | <6877754c-dcb7-db34-dd39-419de060ad7a AT linetec DOT nl> |
Comments: | In-reply-to "Richard Rasker (rasker AT linetec DOT nl) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
message dated "Sun, 01 Oct 2023 15:11:47 +0200." | |
Mime-Version: | 1.0 |
Message-Id: | <20231001134334.D3643862293F@turkos.aspodata.se> |
Date: | Sun, 1 Oct 2023 15:43:34 +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 |
Richard Rasker: ... > $ pcbsilk -W 74mm testlogo.jpg ... Please provide a testlogo.jpg so we can test on the same thing. ... > - The pstoedit command produces a PCB file with default workspace > dimensions (6000 x 5000 mil here), with the silk image at the bottom > left. Is it possible to (temporarily) adjust this default to fit the > image size? Pcb dimensions are given by the "PCB" item in the pcb file, e.g.: $ grep ^PCB styrkort.pcb PCB["" 160.0000mm 240.0000mm] $ To change the pcb size, just change that line. Unfortunately, since pcb origo is top left, with positive y downwards (in contrast to postscript where origo is bottom left, positive y up), that will probably make the logo appear outside the board area, so you will probably first have to move the silk up to the top of the board, then adjust the board size. I can help with a program doing that if you wish. Regards, /Karl Hammar
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |