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 / 10787
10786  |  10788
Subject: 
Re: LPub4 Alpha source on sourceforge.net
Newsgroups: 
lugnet.cad.dev, lugnet.cad.dev.mac
Date: 
Thu, 17 Apr 2008 21:38:55 GMT
Viewed: 
12597 times
  
In lugnet.cad.dev, Kevin L. Clague wrote:
Hi Jim,
  I use the one Don Heyse told us about here:

http://news.lugnet.com/cad/dev/?n=10755

  Also, check with Travis about an LPub compatible version of LDGLite.

Jim, the latest LDView I sent you should probably work.  Note that you have to
select the actual LDView executable inside the app wrapper when prompted for
LDView by LPub.

  Travis, are there command line options for controlling edge lines and their
widths?  What is the default DPI for images produced by LDView?

-EdgeThickness=<value> will set the edge line thickness, in pixels.  Officially,
values of 1-5 are supported, but values up to probably at least 10 would
probably work (although it's dependent on the graphics card).

LDView doesn't have a DPI, so you can pick something like 72, 96, or 100 based
on the fact that it usually outputs to the screen, and those are common values
for "screen DPI".  An upcoming LDView release will assume a screen DPI of 100
when printing, and adjust edge line thickness accordingly.  (In other words, if
it's set to 1 in the UI, and you print at 300DPI, it will be set to 3 in the
printout.)  However, when you use -EdgeThickness=2 on a command line, you're
telling LDView to make edge lines 2 pixels wide.  If you want them to be one
point wide (1/72nd inch), set them to (actual DPI) / 72.  Note that
-EdgeThickness expects an integer.

--Travis



Message has 2 Replies:
  Re: LPub4 Alpha source on sourceforge.net
 
(...) Should I use a different approach? Will things work if I look for LDView.app? Kevin (17 years ago, 17-Apr-08, to lugnet.cad.dev, lugnet.cad.dev.mac)
  Re: LPub4 Alpha source on sourceforge.net
 
(...) I added -EdgeThickness=1 to the LDView args, and didn't see any behavior change. Any ideas? Kevin (17 years ago, 17-Apr-08, to lugnet.cad.dev, lugnet.cad.dev.mac)

Message is in Reply To:
  Re: LPub4 Alpha source on sourceforge.net
 
(...) Hi Jim, I use the one Don Heyse told us about here: (URL) Also, check with Travis about an LPub compatible version of LDGLite. In lpub.cpp, you can change the code to switch to LDView. Look for renderer. Comment out ldglite, and uncomment (...) (17 years ago, 17-Apr-08, to lugnet.cad.dev, lugnet.cad.dev.mac)

27 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