PDA

View Full Version : Scaling



Stephen0523
07-22-2011, 08:30 AM
Hi all. I was wondering if there are any good tutorials on scaling. I often bring in eps objects from Illustrator and need to work in a scale, i.e.: 1"=1'-0"
I am bringing in a base for an object that I want scaled to 19" high, but in the Numeric panel it is showing 2,500 feet.

Thanks in advance

nickdigital
07-22-2011, 08:59 AM
See if this helps.
http://www.newtek.com/forums/showthread.php?t=68388&highlight=%22set+scale%22

Stephen0523
07-22-2011, 12:35 PM
Thanks Nick. How do we install / use Set Scale?

Stephen0523
07-22-2011, 12:48 PM
Hmmm, I downloaded the script and tried it, but it seemed tricky. I was looking for a way that was built into LW that could make the user work in a 1:1 format.

Stephen

nickdigital
07-22-2011, 12:54 PM
I was looking for a way that was built into LW that could make the user work in a 1:1 format.


I don't understand this part of your post...can you elaborate or provide an example?

Stephen0523
07-22-2011, 01:05 PM
Sorry. I am just trying to figure out a way to scale objects brought in as an eps file from Illustrator. I create a 24" square size as 1:1 in Illustrator and when brought into LW it might say the square is 50 feet square. I just want LW to bring it in at a 1:1 size as scale.

nickdigital
07-22-2011, 01:08 PM
If something is the wrong size I just scale it in Modeler to the right size. My guess is that the units in an eps file don't translate over to Modeler.

Someone with more experience with Illustrator and eps files might want to correct me if I'm wrong though.

Stephen0523
07-22-2011, 01:10 PM
Maybe that is the case. I know for fact that a 24" square in Illustrator is 24" in real world. Now just to get Modeler to see it that way.

Stephen

Dexter2999
07-22-2011, 02:02 PM
I think this is a tangent from the discussion taken place in other threads (although they were about importing from CAD files.)

The conclusion as I recall in the other thread was that Lightwave by default doesn't really import information such as inches, centimeters, ...whatever. It just sees a number and applies it to the default measuring increment.

I don't remember if there was a solution. There was some discussion about setting your default increment to match. Some people said you just have to measure and scale accordingly.

Good Luck.

Stephen0523
07-22-2011, 02:04 PM
Ok, thanks for your help.

Stephen

shrox
07-22-2011, 04:56 PM
1 meter = 39.3700787 inches

We did determine that this number (3937) is important in scaling into Lightwave, but sometimes it's (39.37) or even (.3937)

Just keep trying variations on it, then write it down when you hit it!

Stephen0523
07-23-2011, 06:08 AM
Thanks Shrox. I would love if I could find a video tutorial on scaling.

akaracquel
07-26-2011, 01:55 AM
Gawd ...inches, that would definitely do my head in, because i'm having the same problem with metric via the EPSF loader too.

Can anyone explain why the scale function in the ESPF loader is multiplying by x28.3464 in the following figures? It's doing this in both:

10.0, build: 2067 (win64)
10.1, build: 2161 (win64)

This is what happens when I try to import an AI(V8) or EPS file exported from Corel, which is a 10mm square.

NB - numbers below are more than 4 decimal places (which I see is the limit in the scale window) ..but if I type the entire number, it's good to see that the rounding down in the scale box/window is working well.

Figures from test:

Scale used, measurement of the 10mm square (In Modeler, measurements below will round to 4 decimal places)

1, 28.34640000m
0.5, 14.17320000m
0.25, 7.08660000m
0.125, 3.54330000m
0.0625, 1.77165000m
0.03125, 0.88582500m
0.015625, 0.44291250m
0.0078125, 0.22145625m
0.00390625, 0.11072813m
0.001953125, 0.05536406m
0.000976563, 0.02768203m
0.000488281, 0.01384102m
0.000244141, 0.00692051m

..and so forth, consistently multiplied by 28.3464
I can't achieve accurate scaling via the EPSF loader at all.

Link to Corel-exported AI8 + EPS files i used (http://slaughterhouse.com.au/LW/EPSF_SCALE/) ...if other people want to see if they get the same numbers via the EPSF loader. I don't have Illustrator, so I'd appreciate it if someone can test if these files also measure up as the proper 10mm.

I'd also like to try this with an AI/EPS file that's been created with Illustrator, to see if it could be a Corel-related issue. Can anyone help knock one up of a 10mm square AI vector?

Thanks,
Ayca

~~~~~~

Don't know if it's best to start a separate thread, but i'll include some notes below, because they're all related to the EPSF Loader

OFF-TOPIC NOTES:
* I've never seen the auto-axis drill ever work, has it ever worked for anyone else?
* imported a fairly basic vector, for some reason - LW ended up translating a grossly excessive number of points, about 500-700+ removed after merging points, even when i chose 'rough')

BigHache
07-26-2011, 06:14 AM
I can't achieve accurate scaling via the EPSF loader at all.

I've found this to be true. My main use for importing an EPS is a plan or elevation from CAD, scaled to say 1/8" = 1'-0" (hooray for imperial measuring :/ ). Even testing with a .125" square, I cannot get it to scale exactly to 1'-0" in Modeler. It's a fraction off.



* I've never seen the auto-axis drill ever work, has it ever worked for anyone else?
* imported a fairly basic vector, for some reason - LW ended up translating a grossly excessive number of points, about 500-700+ removed after merging points, even when i chose 'rough')

I've never run into either of those. Auto-axis drill works for me usually, but there is the occasion where I'll need to boolean it. The excessive points, no clue, but that doesn't sound right. I'd have to point to Corel at the moment. But, I haven't touched Corel since '95.

I can't look at your content til this evening. Off to the factory now...

lertola2
07-26-2011, 08:49 PM
Illustrator's basic unit of measure is points which is the basic unit of measure for type. It does not matter if you work in inches, millimeters or centimeters. When you save an eps file the numbers in that file are points. 72 points = 1 inch = 25.4 mm. If you want to bring something from illustrator into lightwave and have it be the same size you need to set the scale in the eps import dialogue to 0.000352778. That number is how big a point is expressed in meters.

I don't usually bother trying to size things in Illustrator. I use the absolute size command or the aligner command to scale the eps art once it is brought into modeler.

-Joe

shrox
07-26-2011, 09:10 PM
Gawd ...inches, that would definitely do my head in, because i'm having the same problem with metric via the EPSF loader too.

Can anyone explain why the scale function in the ESPF loader is multiplying by x28.3464 in the following figures? It's doing this in both:

10.0, build: 2067 (win64)
10.1, build: 2161 (win64)

This is what happens when I try to import an AI(V8) or EPS file exported from Corel, which is a 10mm square.

NB - numbers below are more than 4 decimal places (which I see is the limit in the scale window) ..but if I type the entire number, it's good to see that the rounding down in the scale box/window is working well.

Figures from test:

Scale used, measurement of the 10mm square (In Modeler, measurements below will round to 4 decimal places)

1, 28.34640000m
0.5, 14.17320000m
0.25, 7.08660000m
0.125, 3.54330000m
0.0625, 1.77165000m
0.03125, 0.88582500m
0.015625, 0.44291250m
0.0078125, 0.22145625m
0.00390625, 0.11072813m
0.001953125, 0.05536406m
0.000976563, 0.02768203m
0.000488281, 0.01384102m
0.000244141, 0.00692051m

..and so forth, consistently multiplied by 28.3464
I can't achieve accurate scaling via the EPSF loader at all.

Link to Corel-exported AI8 + EPS files i used (http://slaughterhouse.com.au/LW/EPSF_SCALE/) ...if other people want to see if they get the same numbers via the EPSF loader. I don't have Illustrator, so I'd appreciate it if someone can test if these files also measure up as the proper 10mm.

I'd also like to try this with an AI/EPS file that's been created with Illustrator, to see if it could be a Corel-related issue. Can anyone help knock one up of a 10mm square AI vector?

Thanks,
Ayca

~~~~~~

Don't know if it's best to start a separate thread, but i'll include some notes below, because they're all related to the EPSF Loader

OFF-TOPIC NOTES:
* I've never seen the auto-axis drill ever work, has it ever worked for anyone else?
* imported a fairly basic vector, for some reason - LW ended up translating a grossly excessive number of points, about 500-700+ removed after merging points, even when i chose 'rough')

It's all just crazy wrong! I even cranked it up to 11!

How many decimal places can the entry fields in Lightwave handle? I can only get 4 places.

Rayek
07-26-2011, 09:38 PM
I might have a simple solution: Accutrans.

I made an illustrator file at 1 by 1 meter, drew a simple logo/shape, and exported as a dxf, which I opened in Accutrans.

Then I saved the file (with options) to a lwo file, and changed the conversion unit - which you can do a better job than I did (a bit trial and error) and calculate what you need.

It imported into Lightwave at exactly the size I set in Accutrans (just about 1 meter wide and high).

Have a look at the image below.

http://img59.imageshack.us/img59/6382/examplee.th.png (http://imageshack.us/photo/my-images/59/examplee.png/)

You can also convert easily from meters to other units, and vice versa.

lertola2
07-26-2011, 09:56 PM
Can anyone explain why the scale function in the ESPF loader is multiplying by x28.3464 in the following figures?

Illustrator uses points as its units of measure. 1 mm = 2.834645669 points. So if you imported a 10 mm box from illustrator and you set the scale in the import dialogue to 1 then the box will be 28.3464 meters wide. Like I said in my post above if you want it to be 10 mm in modeler you need to use a scale of 0.000352778.

Another thing to keep in mind when importing eps files is that the accuracy of these files is limited to 4 decimal places. So it is not a good idea to work in illustrator at a scale of 1 point = 1 meter. This would be very convenient but with only 4 decimal places tiny things can not be drawn accurately in illustrator.

-Joe

Rayek
07-26-2011, 09:58 PM
Here's the 10mm file you requested, as well as the converted lwo, and some other file formats to test. I tested the dxf export again, and imported an exact 10mm version into Lightwave (by importing into Accutrans first and converting the units). Accutrans creates a handy *.scale file too.

http://www.filesonic.com/file/1527538194/10mm_files_and_lwo.zip

lertola2
07-26-2011, 10:02 PM
It's all just crazy wrong! I even cranked it up to 11!

How many decimal places can the entry fields in Lightwave handle? I can only get 4 places.

I think if you enter more decimal places modeler will use them even though it displays only four.

akaracquel
07-26-2011, 10:04 PM
That just made the metric measure of a POINT, burn onto the back of my retina http://slaughterhouse.com.au/LW/emoticons/555.gif


0.000352778

3528---what(brainache!!!)
Thanks Joe. :thumbsup: