View Full Version : scaling
timpip2
5th May 2003, 05:49 pm
I have plotted an airfoil in autocad 2000 using a script file. My problem is that I cannot figure out how to scale the airfoil using two different scale factors in the x and y axis e.g. airfoil length is say 2 units and height is 0.5 units. I want to scale to 1.5 units long but 0.35 high. Any help would be appreciated.
Gary J
5th May 2003, 06:43 pm
I'm not sure if this is what you're after, but here is a paste from ACAD 2002 help files. You might know a similar command in 2000.
Gary
___________________
Previewing and changing the scale factor and rotation angle of a block before insertion
--------------------------------------------------------------------------------
Issue
The INSERT command has changed. In releases previous to AutoCAD® 2000 or AutoCAD LT® 2000, you could preview the scale before inserting the block, but you could not change the preview scale. Now, you can do the following:
Preview the scale, and change the preview scale before inserting the block.
Add other preview options for block inserts.
Use a dialog box for the INSERT command.
Solution
On the command line, enter -INSERT. Alternately, set the system variable CMDDIA to 0, and then use INSERT.
Enter the block name to insert.
When prompted for an insertion point, enter PS (Preview Scale), then enter the scale factor you want to preview. A preview of the block is displayed using the scale you specified.
Enter PS again to change the preview scale. (You can repeat the Preview Scale until you find the scale factor you want.)
Pick or enter an insertion point for the block, and then enter the scale.
At this stage you must enter the scale factor for the block. If you do not enter the scale factor, the program inserts the block with a scale factor of 1, which is the default.
There are other preview options for block inserts. For example, instead of entering PS as in step 3, you can enter:
PX - Preview X scale factor.
PY - Preview Y scale factor.
PZ - Preview Z scale factor
PR - Preview rotation angle.
timpip2
5th May 2003, 07:11 pm
Thank you for the reply but it is not what I need. If I take my example and I use the scale command and use a scale of 0.75 then my 2 unit long X 0.5 unit high object becomes 1.5 unit long x 0.375 high. The length is correct but the height isnt. I need to be able to scale the object in the x axis in one scale factor and in the y axis by another.
f700es
5th May 2003, 08:26 pm
Thank you for the reply but it is not what I need. If I take my example and I use the scale command and use a scale of 0.75 then my 2 unit long X 0.5 unit high object becomes 1.5 unit long x 0.375 high. The length is correct but the height isnt. I need to be able to scale the object in the x axis in one scale factor and in the y axis by another.
How about the stretch command? Have you tried that? Maybe make the file available for us to play with. I think stretch might do what you want. Good Luck!
F7
CADTutor
5th May 2003, 08:49 pm
There is only one easy way to scale your airfoil differentially. Make a block of the airfoil and them modify the x and/or y scale factor as required. You cannot scale AutoCAD objects differentially but you can scale block insertions differentially using the properties panel.
f700es
6th May 2003, 01:45 am
There is only one easy way to scale your airfoil differentially. Make a block of the airfoil and them modify the x and/or y scale factor as required. You cannot scale AutoCAD objects differentially but you can scale block insertions differentially using the properties panel.
Oh... :oops: well, I made a air-foil shape with some splines and connected the end points and I could stretch it in seperate directions. I might have made a shape nothing like what he was refering too. It was a guess. :?
F7
fuccaro
6th May 2003, 06:30 am
Sorry, my dictionary do not know the word “airfoil”. Did you make it as a solid? Or is it a 2D shape? If it is 3D the only way I know is to convert it to block as CADTutor wrote. But you will can not edit your block –unless if you explode it. AutoCAD will redraw the exploded block at the original dimensions.
You can scale with different scale factors a 2D polyline using some lisps. I wrote a routine for somebody. The routine is called scy (= scale Y) and you may find it here:
http://www.cadtutor.net/forum/viewtopic.php?t=159&highlight=scy+lsp
Cheers!
timpip2
6th May 2003, 09:00 pm
I have done as CADTutor suggested and made a block out of my airfoil and it does what I want :wink: Thanks for all the replies.
Powered by vBulletin™ Version 4.1.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.