CompuServe Thread

#Unwanted 3D, help !!!

6 messages in this thread
#21763From: Marco Garibaldi [EUR-I]Nov 24, 1991 5:29 PM
Please help to resolve this problem. After I loaded a file I'm working on, I found my dwg with its previous X axis oriented at 270d. I tried in many ways to bring things back with no results. It seems that the dwg, for some strange reason, is now in 3D space. The only reason I can think about that may have caused all this is that I tried some lisp files which may have changed some variables (flatland perhaps ?). I then saved the file with wblock to save disk space. Now I have this result. I never work with 3D, so I have real troubles to understand the current orientation of the dwg. I fiddled with UCS and World views, flatland (normally set to 1), with no results. I have tried FLATTEN, a file I've found in the Lisp library but it only flatten part of the entities. Same with CHANGE, I can select some entities and bring them back to elevation 0 but I can't pick the rest, Autocad respond with "cannot change elevation of entities with differing Z coordinates". Please help, I don't know what to try anymore. I can also upload the file, if you need so. I'm using v.10. -=Marco
#21806From: Dieter Schlaepfer [AdeskNov 24, 1991 11:50 PM
Marco, Try this on your original drawing. At the command prompt, type in UCS and press the Enter key twice. This will align the movable User Coordinate System (often used with 3D) with the fixed World Coordinate System. Next, enter the PLAN command. This will align your viewing direction so that your X-axis will once again point to the right and your Y-axis will point to the top of your drawing. If this doesn't work, please let me know and we can try some other things. Best wishes, Dieter
#21955From: Marco Garibaldi [EUR-I]Nov 25, 1991 8:06 PM
Dieter, thanks *very much* for your response. It's a great relief to see somebody out there is ready to help in case of need :). Your suggestion wasn't enough and I had to follow Tony's cure. I forgot to mention in my previuos msg. that my dwg was badly twisted, so it looked on the screen with its x-axis oriented at 270d *but* it also had negative values. Tony suggested to rotate the UCS view of 90d on the z-axis, that wasn't enough either but it put me on the right way. I had to rotate 90d more on the z-axis and 90d on x-axis; well, at least I think I did, I just fiddled more on the axis until I had it straight again. Boy, wasn't it lost in 3D space :). I'd really like to learn all this 3D stuff but there isn't much request yet (I'm a free-lance), and really have to admit that I loose myself in this 3D space. Thanks again, Marco – Milan, Italy
#21815From: Tony Tanzillo [LISP TM]Nov 25, 1991 2:06 AM
Marco – Several possiblities. First, you could have the view twisted to some value other than 0.0. If so, then just follow the instructions Dieter gave you, and that'll fix it. Second, you could have WBLOCK'd the drawing while the UCS was not set to the WCS, in which case the current UCS at the time you issued WBLOCK * will have become the new WCS in the drawing WBLOCK creates. You could have also arrived at the same result as this using INSERT, or BLOCK while not in the WCS. If your view isn't twisted, then you can rectify the problem by setting the UCS to whatever you want the new WCS to be and then just WBLOCK * the drawing to a new file. For example, if the old X-AXIS of your drawing is now 270 degrees, then you can fix it like so: Command: UCS WORLD Command: UCS Z 90 Then, issue WBLOCK *, and the new drawing should be correctly oriented. -TonyT.
#21956From: Marco Garibaldi [EUR-I]Nov 25, 1991 8:06 PM
Tony, thank you *so much*. You can't imagine how grateful I am. It's a great relief to see somebody out there is ready to help in case of need :). You put on the right way. I had to rotate more on the axis as the x-axis had a negative value. At first I was puzzled since moving the crosshairs on the screen changed only y coords, while x coords always showed as 0.00. After I fiddled a little more with the x and z axis things were all straight. Thanks again for your help, Ciao, Marco – Milan, Italy
#22291From: Marco Garibaldi [EUR-I]Nov 27, 1991 4:04 PM
Tony, I need your help again. My dwg. look alright on the screen but some entities still have different values on the z axis. Here what LIST says: LINE from point, X = 56.626 Y = 16.343 Z = 0.000 to point, X = 24.866 Y = 16.343 Z = 0.000 Extrusion direction relative to UCS: X = 0.000 Y = 0.018 Z = 1.000 Lenght = 31.760, Angle in X-Y Plane = 180d 0' 0" Delta X = -31.760, Delta Y = 0.000 Delta Z = 0.000 Another example: LINE from point, X = 49.096 Y = 7.493 Z = 0.000 <—- to point, X = 49.096 Y = 16.143 Z = -0.671 <—- look here !!! Extrusion direction relative to UCS: X = 0.000 Y = 0.018 Z = 1.000 In Current UCS, Lenght = 8.650, Angle in X-Y Plane = 90d0'0" 3D Lenght = 8.676, Angle in X-Y Plane = 355d 33' 44" Delta X = 0.000, Delta Y = 8.650 Delta Z = -0.671 LIST show some entities with different Z vertices, some with "Extrusion direction relative to UCS" and the rest with no reference to UCS. What can I do to bring these entities back to the original state ? Thanks, Marco