www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/02/03/22:53:15

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
Date: Tue, 3 Feb 2015 22:52:00 -0500
Message-Id: <201502040352.t143q0lS019818@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: geda-user AT delorie DOT com
In-reply-to: <mas46q$h60$1@ger.gmane.org> (message from Kai-Martin Knaak on
Wed, 04 Feb 2015 04:45:22 +0100)
Subject: Re: [geda-user] Print layout hangs - followup
References: <54C2D537 DOT 1050804 AT sbcglobal DOT net> <54D1566F DOT 6060707 AT sbcglobal DOT net> <mas46q$h60$1 AT ger DOT gmane DOT org>
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

> Width and height at exactly 0 probably results in some kind of numerical 
> exception. Think division by zero...

Yup!  That was it.

  pcb_fprintf (global.f, "%ma %ma %mi %mi %mi %mi %g a\n",
               sa, ea, -width, height, cx, cy,
               (double) (global.linewidth + 2 * global.bloat) / (double) width);

0 90 0.00000 0.00000 1.11000 0.30000 inf a

Note the "inf" as a result.

FYI zero "width" arcs are better drawn as zero-length lines, i.e. if
you want a filled circle (dot).

- Raw text -


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