To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 10709
10708  |  10710
Subject: 
Re: LPub DPI control?
Newsgroups: 
lugnet.cad.dev
Date: 
Tue, 4 Mar 2008 13:29:22 GMT
Viewed: 
7481 times
  
In lugnet.cad.dev, Kevin L. Clague wrote:
In lugnet.cad.dev, Remi Gagne wrote:
Hello,

In LPub, is it possible to specify the physical resolution for generated images?
Not the pixel width & height, but the physical document width & height in
inches, and the resolution in pixels/inches.  Of course, this affects only
printed documents.

Sorry.  No not yet.

Kevin

Hi Remi,
  I'm working on DPM and DPI now.

  Here is what I plan on doing:

  You set the page size in either inches or centimeters.  You define the
resolution in terms of DPI or DPM.  You control the magnification.  For example,
if I have a 1 inch page size, and a lego part that appears a half an inch wide,
with a magnification of 1.0, the part should take up half the page.  With a 2x
magnification, the part should take up the whole page.

  Changing DPM/DPI does not change the relative sizes of things with respect to
the page size, it just makes sure everything has more or less pixels.

  Now I just have to figure out how to compute everything down to pixels and
we're good to go.

Kevin



Message has 1 Reply:
  Re: LPub DPI control?
 
(...) Most of this feature is done. I had to identify every LPub meta-command that had something with the units of pixels, and treat them as a new class of "units", meaning known absolute distances (i.e. meters or inches.) Every time these values (...) (17 years ago, 5-Mar-08, to lugnet.cad.dev)

Message is in Reply To:
  Re: LPub DPI control?
 
(...) Sorry. No not yet. Kevin (17 years ago, 12-Jun-07, to lugnet.cad.dev)

81 Messages in This Thread:




















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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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