Special:
|
[DAT] (requires LDraw-compatible viewer)
|
Subject:
|
Re: Any way to scale models/parts in ldraw?
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Thu, 7 Sep 2000 13:39:43 GMT
|
Viewed:
|
843 times
|
| |
| |
In lugnet.cad.dev, Jamie Obrien wrote:
> Hi, i'm finally getting some bitmaps converted, but i need them at different
> sizes. What i figure i could do, is to convert a bitmap to dat in a largish
> image, and then if i need it in a smaller size i can then scale down the
> original large dat, and gain some resolution in the process. I thouhgt i could
> do it in ldraw but can't work out how. If you can't do it in ldraw, is there a
> utility program that could do it. It seems a simple enough task to scale a
> vector dat, although it may need moving aftwerwards if it wasn't orientated at
> the origin.
>
> Any help would be greatly appreciated
I don't know of an editor that will doing scaling operations (although
LDAO's Editor *should*). I can think of two solutions:
1. Keep your image.dat as a separate file. Whenever you need to use it,
reference it like a part-file. To scale, change the parameters on the
file-reference commandline:
1 16 0 0 0 0.5 0 0 0 0.5 0 0 0 0.5 image.dat
Change the '0.5' values to whatever scale you want.
2. To make a new file, or to prepare code for inclusion in another file,
use a spreadsheet program. Open your image.dat in your favorite
spreadsheet. Multiply all the position/orientation parameters by whatever
scale you want. Save to newimage.dat.
Steve
|
|
Message is in Reply To:
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|