AutoCAD 2010 :: Align Or Rotate Objects Parallel To X Axis?
Dec 19, 2013
Lisp routine or macro that will either rotate or align selected objects so they are parallel to an axis on the current UCS?
Specifically, when placing mtext to label an object. I typically align my ucs to the object then create the text so it is parallel to the object. It would be great if I could create the text with a rotation of 0, align my ucs to the object to be labeled and then with a single click, select the text making it parallel to the X axis.
View 5 Replies
ADVERTISEMENT
Jul 8, 2013
My part is at an arbitrary angle relative to one of the planes and i cannot align the view in a drawing to be horizontal.I try to make a view, in the part file, in which the model will be horizontal, but there isn't any precise input for views.
I used the Look At tool to look at one face and all i need now is to rotate the view 90 degrees round one axis, but when i touch the line of the compass in the Constrained Orbit command the view jumps back to some position.
View 2 Replies
View Related
Jun 27, 2012
The behavior in AutoCAD 2012 has changed with regard to the UCS command. I am trying to rotate my UCS along the Z-axis.
In 2011, I could enter UCS [enter] Z [enter] then select 2 points on *any* line using END point osnaps to have the ucs rotate along the Z-axis at the angle of the selected line.
Now in 2012 when I enter UCS [enter] Z [enter], a rubber-band line displays anchored from a pre-selected point which appears to be the drawing origin, usually 0,0,0. I am only allowed to select a single point, which results in the UCS NOT rotating to match the line as before.
I am aware that I could now use the OBject option, and then select one end of the line. This is fine except it does not work if I select a line that is part of an attached xref. With the old method in 2011, I could select 2 points of *any* line.
I am also aware that I could "type" in a value in both cases above but that option is too time-consuming and error-prone. Are there any legacy options available for the UCS command to make it work as before? Or is there a way to override the UCS-Z command option to not pre-select the first point at the drawing origin?
View 6 Replies
View Related
Dec 23, 2011
I'm trying to rotate a group of objects along an axis that is not x y or z. The objects are imported from Rhino. I also import a line representing that rotation axis. How do I set that line to be my axis?
View 1 Replies
View Related
Nov 8, 2012
How to rotate the X Axis in the Crosshair? See picture attached.
View 3 Replies
View Related
Feb 22, 2013
I'm looking for comments here- Was this a "bug" in AutoCAD 2013 or what?
I teach AutoCAD to high school kids via "cyber school" and one of my students was sending me drawings on which the SNAP was NOT "snapping" parallel to the X axis and the GRID was not present at all-
Here's what I discovered (This is what I wrote to the student):
Your software is AUTOCAD DESIGN SUITE Ultimate 2013 (Student Version)
Your LIMITS are correctly set to 0,0 and 12,9
GRID and SNAP are both set to .25
The problem:
1. The GRID does NOT display no matter what settings are chosen under the GRID command or within the Drafting Settings dialog box on the Grid and Snap tab.
2. The SNAP function does not create VERTICAL and HORIZONTAL lines.
(The SNAP function is not alignning with the X and Y axes.)
When I opened your latest drawing (9.1) and drew a 12 by 9 rectangle using coordinate input (L <enter> 0,0<enter> 12,0<enter> 12,9<enter> 0,9<enter> c<enter>), the resulting rectangle was a bit “off-SNAP”.
That shouldn’t happen.
I Googled “AUTOCAD GRID OFF” and any other combination I could think off.
Though I was able to read dozens of queries about various SNAP and GRID issues, NONE that I found addressed this issue.
I confirmed that SNAP was on and started the LINE command.
As I moved the mouse I watched the coordinates displayed next to the crosshairs.
As I “snapped” from point to point the coordinates SHOULD have always displayed increments of ¼ (.25, .75, 1.0, 1.25, etc) but they did NOT.
As I moved away from the origin (0,0) the ever-growing error could be seen in the coordinate display at the crosshairs.
It was as if the SNAP function was NOT following a “perfect” vertical/horizontal orientation as it moved.
To confirm that I drew a line using coordinates: 0,9 as the start point and 12,9 as the next point.
I restarted the line command and “picked” a start point guided by “snap” that was “close” to the first start point (It wasn’t perfectly on the first line’s start point due the anomaly mentioned in my first paragraph.) and then picked a second point that was “close” to the first line’s endpoint.
The 2 lines were not parallel.
The line drawn with SNAP to dictate its start and endpoints was simply not “horizontal”.
The “Y” coordinate of the start and end points on that line were slightly different.
Somehow the SNAP function was not “snapping” in alignment with the X and Y axes.
After experimenting with settings I found a solution.
But why the solution worked I DO NOT KNOW.
It isn’t “LOGICAL”.
As I typed the command SNAP I saw that command “suggestions” were displayed next to the crosshairs.
I selected these snap options one at a time and through this experimentation I stumbled onto the solution.
The command which “worked” was a command called SNAPANG. In 30 years of working in AutoCAD, both 2D and 3D, I have never used the command SNAPANG.
However, nothing ventured, nothing gained:
I typed the command SNAPANG <enter> then typed 1 <enter>.
Nothing changed.
I reentered the command SNAPANG and then entered the previous value 0 (zero) thinking that I was restoring it to its previous setting and suddenly the GRID appeared and the SNAP followed with perfect alignment with the GRID and in perfect alignment with the X and Y axes. As I entered the LINE command and watched the coordinates displayed at the crosshairs they were now in perfect increments of .25.
As I said initially, since the two command-driven settings that I entered should have simply reversed one another, I have gone into this great detail because I will send this on to AutoCAD’s support people and see if they have any comment. It must be a “bug” in the new version of AutoCAD.
View 5 Replies
View Related
Jul 6, 2012
I'm trying to Align the Z Axis with 2 points, that works but I'm 90deg off around the Z Axis.
Shared Function UCSAlignZaxix(ByVal Point1 As Point3d, ByVal Point2 As Point3d) As Matrix3d
Try
Dim ZAxis As Vector3d = Point1.GetVectorTo(Point2).GetNormal
Dim yAxis As Vector3d = ZAxis.GetPerpendicularVector.GetNormal
Dim xAxis As Vector3d = yAxis.CrossProduct(ZAxis).GetNormal
Dim NewMatrix3d As Matrix3d = Matrix3d.AlignCoordinateSystem(Point3d.Origin, Vector3d.XAxis, Vector3d.YAxis, Vector3d.ZAxis, Point1, xAxis, yAxis, ZAxis)
Return NewMatrix3d
Catch
Return Nothing
End Try
End Function
View 1 Replies
View Related
Nov 22, 2011
I have a block that has a portion that needs to rotate up to 90 degrees. The problem is that it has parallel lines that create a bowtie when rotating. I've tried everything with constraints to get this block to work, but I just can't keep it from creating a bowtie when rotating.
View 7 Replies
View Related
Sep 15, 2011
How does one accurately rotate the view so that view in paper space is parallel and perpendicular to the border sheet without guessing the angle?
View 3 Replies
View Related
Mar 22, 2012
when you have a 3D-object, with a specific origin, i would like to know how it is positioned in space, X, Y, and Z coordinates, but also A, B, and C (like Tilt, Roll, Pitch), where A is rotation Angle around Z-axis, B around Y-axis, and C around X-axis. I am using this for a kuka robot
i can change the position of the UCS, but don't know how to only rotate the ucs about the Z-axis
'--- Set origin of UCS icon
acUCSTblRec.Origin = Psource(0)
acUCSTblRec.XAxis = Psource(0).GetVectorTo(Psource(1))
acUCSTblRec.YAxis = acUCSTblRec.XAxis.GetPerpendicularVector
View 2 Replies
View Related
Dec 5, 2013
This week I upgraded from 2011 to 2014 and have noticed a major change in rotating the UCS around only the Z-axis.
Looking at the image below (the blue box is just to represent the relationship between the pipes):
I want to, as a simple example, rotate the UCS around the Z-axis from the end of one pipe to the end of the other. In 2011 UCS, Z would allow me to select the end of one pipe and the end of the other and rotate to the angle of the red line shown.
In 2014 UCS, Z rotates the UCS from some unrelated point.
In 2014 UCS then selecting the two ends rotates the UCS X-axis to the direct line between the two.
In a working scenario the end of the two pipes would be in vastly different positions. Drawing a line between them, flattening it then using UCS, E on the flattened line give the functionality I want, but is a very slow way of doing it.
In 2011 if I wanted to rotate the UCS around the Z-axis I would type UCS, Z then select 2 points and the UCS would rotate around the Z-axis but the X & Y axis would remain as it was. This is no longer the case in 2014, how do I do this now?
View 4 Replies
View Related
Jan 18, 2013
DSCF9856.jpg
Hand rail.dwg.
I have tried to rotate this railing in 3D so that it looks like this photo but I can't. I've tried several different things with the UCS but clearly I don't know what I'm doing. So I'm turning to the CAD community that does. I can draw the hand rail no problem. But the drawing always leaves the finished hand rail in the X,Y plane. I need to rotate it in the Z axis (I think). Here is the orientation I want the railing to look once it's drawn. I need a step by step procedure so I can learn how to do this the correct way for future reference.
View 9 Replies
View Related
Dec 4, 2013
This week I upgraded from 2011 to 2014 and have noticed a major change in rotating the UCS around only the Z-axis.
Looking at the attached image (the blue box is just to represent the relationship between the pipes):
I want to, as a simple example, rotate the UCS around the Z-axis from the end of one pipe to the end of the other.
In 2011 UCS, Z would allow me to select the end of one pipe and the end of the other and rotate to the angle of the red line shown.
In 2014 UCS, Z rotates the UCS from some unrelated point.
In 2014 UCS then selecting the two ends rotates the UCS X-axis to the direct line between the two.
In a working scenario the end of the two pipes would be in vastly different positions. Drawing a line between them, flattening it then using UCS, E on the flattened line give the functionality I want, but is a very slow way of doing it.
there is no way of selecting 2 points for a Z-axis rotation.
TL;DR
In 2011 if I wanted to rotate the UCS around the Z-axis I would type UCS, Z then select 2 points and the UCS would rotate around the Z-axis but the X & Y axis would remain as it was. This is no longer the case in 2014, how do I do this now?
View 1 Replies
View Related
Nov 5, 2011
How do you create a new Workplane from a Defualt Plane and rotate it along a default Axis?I am new to API and trying to create workplanes and rotate them along a Axis.
Im trying to use "AddByPlaneAndOffset" is this the right method?
View 8 Replies
View Related
May 31, 2013
how to rotate a work plane around a circular axis ? I have a work plane on the end of a tube, I need the work plane set at an angle.
View 1 Replies
View Related
Oct 11, 2012
mvsetup gives this error, i want to align and rotate my object in a viewport....
The file mvsetup (.lsp/.exe./.arx) was not found in your search path. check the installation of the support files and try again.nil
View 1 Replies
View Related
Dec 2, 2011
I am trying to create a wheel that can be rotate about the horizontal axis. It should have a hole for axle to fit through. However, when I try to do this it will not let me select the horizontal axis to rotate about. I also tried to rotate about a center line that I created but it wouldn't do that either..
Windows 7 64-bit (Service Pack 1)
3.40 GHz Quad Core processor w/ Hyperthreading
8GB Ram
ATI Radeon HD 6450 1GB Ram
View 9 Replies
View Related
Nov 16, 2011
I'm trying to rotate a piece in an assembly by a selected axis to a precise angle, but the program just won't let me. I get to rotate it around with my mouse, but it only lets me change the angles at 5 degrees minimum. I try to type in a precise angle into the box, but it only lets me type in 1 character. Below is a screenshot of what I mean (I'm using Inventor 2011).
[URL]....
It either only lets me put in the first digit or won't let me manually change the value at all. What is up with this? The tutorials clearly says I can put in a arbitrary value.
View 7 Replies
View Related
Dec 14, 2011
I've read all I could on snaps, video tutorials, changed every setting.
the only time anything snaps is when I'm creating an object in which case I get a box and the object snaps to other objects, bounding boxes end points, etc.. (useless stuff) but it doesn't work at all otherwise, it does absolutely NOTHING while selecting an object or edible poly/mesh object vertices, etc..
I JUST WANT TO ALIGN A VERTEX TO ANOTHER VERTEX.
I've seen videos of people just dragging the axis to another vertex and that vertex automatically aligning to it... why the heck can't that work for me? I don't even get a line, nothing that looks like any tutorials out there. Everything behaves the exact same way as without snaps. you can't even tell the difference moving things around except there is a little circle at the center of the gizmo. I even checked every box in the snaps settings. It makes me want to throw the computer out the window that it takes 3 hours and still nothing works.
Ultimately I just want to select a grid of vertices and align them in a planar xy axis at the same z value as a single of my choice... why is this so impossible?
View 9 Replies
View Related
Nov 2, 2012
Any routine (perhaps a lisp) to move, rotate and align text with one swift command?
Something like this video below.
View 9 Replies
View Related
Jul 3, 2012
I'm inserting blocks with lisp using the following code.
(defun C:test()(setq MYPOINT (getpoint "
Select an insertion point"));(command "_-xref" "attach" "C:/ICT/GEBERIT/XREFS/650-270-00-1.dwg" "_Scale" "1" MYPOINT)(command "insert" "C:/ICT/GEBERIT/XREFS/650-270-00-1.dwg" MYPOINT "" ""))
The lisp however only allows me to rotate in the x-y plane but I also want to rotate it in the z-axis hoe can I do this?
I also tryed to combine a 3d rotate to the code, as follows but to no success...
(defun C:test() (setq MYPOINT (getpoint "
Select an insertion point"));(command "_-xref" "attach" "C:/ICT/GEBERIT/XREFS/650-270-00-1.dwg" "_Scale" "1" MYPOINT)(command "insert" "C:/ICT/GEBERIT/XREFS/650-270-00-1.dwg" MYPOINT "" "");Rotates the item in the z axis...(setq MYANGLE (getstring "
Specify rotation angle for the Z-axis "))(command "_Rotate3D "_x" "LAST" "" "last" MYANGLE ))
View 3 Replies
View Related
Jun 2, 2013
is there a way to tell Inventor to align the view to be perpendicular to the Origin axes when View Face or Sketch on face is selected?
It is most disturbing to have to work with the view cube once in the Sketch just to have it make sense?
This is in Inventor Pro 2012.
View 3 Replies
View Related
Sep 28, 2013
Although the part, marked in blue in the picture, has, to my opinion, degrees of freedom, i cannot rotate it round the main assembly axis, the Z axis.
Maybe it's connected to the 2 holes underneeth it, which i projected?
Or maybe because of the axis i made through the M24 thread?
View 1 Replies
View Related
Jul 31, 2012
I found a program which rotates selected block(s) about thier insertion point. I modified it to rotate each of the block(s) about the y-axis. Works great. Now, I would like to change it so that it rotates a copy of each block about the y-axis and leaves the origial block in place. Its kind of like the mirror command exept it is rotating the new block(s) to the other side instead of flipping them. I want to keep all or the parameters of the block(s) the same as each original. I am using AutoCAD 2010. MOCORO is not recognized as a command. The new features workshop says to use the new command AMCOPYRM, which is not recognized either. Go figure.
(defun RotateDuplication (/ CN ENT theObjects SS)
(vl-load-com)
(setq SS (ssget (list (cons 0 "INSERT"))))
(repeat (setq CN (sslength SS))
(setq CN (1- CN)
ENT (ssname SS CN)
[Code] ......
View 1 Replies
View Related
Jun 18, 2013
I am trying to get a disc (Coin) to continuously rotate 360 degrees on its vertical axis.
View 5 Replies
View Related
Feb 24, 2012
I am trying to rotate 30 degrees along an axis.
In Rhino, it is simply using Rotate3D -> pick your axis of rotation -> type degrees -> enter
In Max, how do I pick an axis rather than world XYZ?
I'll upload pictures for details
View 2 Replies
View Related
Jun 27, 2012
Is there a way in gimp to rotate a 2D image (e.g. BMW%20M3%20-%202002%20-%2003.jpg) about the Y Axis? I tried GMIC but that rotates the layer in 3D. I would like to create a view of the front of the car or any any in between.
View 6 Replies
View Related
Oct 21, 2011
Some time ago i used express tools to save my sysvar settings and now when i read the old settings back in, i'm put in 3D parallel project mode. I know this because i have the background color for this mode set to something other than the background color for 2D model space. But now i can't get out of 3d parallel projection mode.
View 3 Replies
View Related
Nov 24, 2012
Is it possible to rotate images in all axis in PSPx5? If not, any tip to a program doing so working with PSPX5?
View 2 Replies
View Related
Aug 25, 2010
Is it possible to automatically project the x-axis, z-axis or z-axis onto the sketch plane?
I.e. every time you open a new sketch the corresponding lateral and vertical axis will be projected onto the sketch.
View 9 Replies
View Related
Oct 26, 2010
If there is a quick easy way to spin an object, rotate it on one axis through the 360 degrees a number of times.
View 2 Replies
View Related