To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 4357
4356  |  4358
Subject: 
Re: Help generating images of ALL parts in ALL colors
Newsgroups: 
lugnet.cad
Date: 
Mon, 14 Aug 2000 13:45:37 GMT
Viewed: 
714 times
  
In lugnet.cad, Troy Cefaratti writes:

I would like the image of the part scaled to take up the entire area of the
image.  I have the image size set to 640x480.  If the part is too big to
fit, i'd like it scaled down.  If the part is too small, i'd like it scaled
up so that it takes up as much of the image as possible.

OK, so you need auto-zoom.

In a different message (same thread), Larry P. wrote:

I would rather they were all scaled to the same scale.

OK, no auto-zoom.

My personal preference: have two or three different scales.  It's really hard
to have one scale that adequately & efficiently handles both 48x48 baseplates
and 1x1 plates.  The core of an auto-zoomer is a function that determines the
onscreen bounding box for a part.  Once those parameters are known, finding an
appropriate scale (out of a selection of several) is not *too* hard.

Let me see what I can do about all this mess.  I've got most of the code for a
bounding-box function already done.  And I definitely have the code for
generating a set of images...

Steve



Message is in Reply To:
  Re: Help generating images of ALL parts in ALL colors
 
(...) would (...) I would like the image of the part scaled to take up the entire area of the image. I have the image size set to 640x480. If the part is too big to fit, i'd like it scaled down. If the part is too small, i'd like it scaled up so (...) (24 years ago, 14-Aug-00, to lugnet.cad)

11 Messages in This Thread:




Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR