AutoCAD .NET :: Rotate Ucs About Z-axis?

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


ADVERTISEMENT

AutoCAD 2010 :: Rotate UCS By Z-axis

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

AutoCad 3D :: Rotate UCS Around Z-Axis Only - Functionality Gone?

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

AutoCad 3D :: How To Rotate Hand Rail In 3D In Z Axis

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

AutoCAD 2013 :: Rotate UCS Around Z-axis Only - Functionality Gone?

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

AutoCAD 2010 :: How To Rotate Crosshair X Axis

Nov 8, 2012

How to rotate the X Axis in the Crosshair? See picture attached.

View 3 Replies View Related

AutoCAD Inventor :: Rotate New Workplane Along A Default Axis With API

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

AutoCAD Inventor :: Rotate Work Plane Around Axis

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

AutoCAD Inventor :: Create Wheel That Can Rotate About Horizontal Axis?

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

AutoCAD Inventor :: Grip Snap Rotate By Axis Malfunction?

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

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 View Related

AutoCAD Visual LISP / AutoLISP :: Rotate Block XY Plane But Also Z Axis

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

AutoCAD Inventor :: View Face - Rotate With Respect To Origin Axis

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

AutoCAD Inventor :: Cannot Rotate Part Round Main Assembly Axis

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

AutoCAD Visual LISP / AutoLISP :: Copy / Move And Rotate Block(s) About Y-axis

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

AutoCAD Inventor :: Get Disc (Coin) To Continuously Rotate 360 Degrees On Its Vertical Axis?

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

3ds Max Modeling :: How To Rotate 30 Degrees Along An Axis

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

3ds Max :: Rotate A Group Of Objects Along An Axis That Is Not X Y Or Z?

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

GIMP :: How To Rotate 2D Image About Y Axis

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

Paint Shop Pro :: Rotate Images In All Axis In X5?

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

AutoCAD Inventor :: Automatically Project X-axis / Z-axis Or Z-axis Onto Sketch Plane?

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

Maya Animation :: Spin Object - Rotate It On One Axis

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

Revit :: Create Light Fixture With A Head That Rotate In Two Axis

Nov 16, 2011

I am trying to create a light fixture with a head that can rotate in two axis so that the light can aim up or down and left or right.
 
I have been unable to create a light fixture that can rotate up and down as shown in the Revit help files.
 
Here is a resume of my two attempts at creating this and the reasons why they failed:
 
Embedded family solution: The embedded family will not rotate vertically even as a face based fixture hosted on a line reference. If you rotate the line reference in the horizontal axis, the hosted embedded fixture ignores the rotation and does not follow.
 
Unique family solution: The light source will not move even if it is locked to a reference line, it evokes an error.

View 9 Replies View Related

Photoshop Elements :: Rotate Multiple Layers On Their Own Individual Axis Not As A Group?

Jul 25, 2013

I have a floorplan of a building and am labeling exits of the building for evacuation routes.  Each exit label is on its own layer.  I need to show the floor plan from different perspectives/orientations and therefore need to rotate the exit labels in place on their own individual axis.  So far I have been going in and selecting the image (label) on each layer and rotating it 90 degrees and then repeating the process for the next label.  When I group the layers they all rotate on one axis and therefore are not near the exit they are supposed to be near.  Is there an easier (quicker) way to rotate the labels as I have to do this for four different perspective for each of four floor plans?

View 9 Replies View Related

AutoCAD Inventor :: Attach Axis System To Cylinder Axis

Mar 25, 2013

i try to make an animation. I create a cylinder and i want to rotate it by longitudinal axis. i click 'components', select the cylinder and after i click 'position' to select the axis that axis system appears in the right side of the cylinder not in the middle. If i continue whit this settings the cylinder will rotate by a circle not by his longitudinal axis. How can i move that axis sistem in the middle of the cylinder? I can drag it but can't place it exactly in the middle.

View 1 Replies View Related

AutoCad :: Extract Rotation Of Block Relative To Yz Axis And Xy Axis

Oct 7, 2013

Is there any way I can extract the rotation of a block relative to the yz axis and xy axis. I can extract the insertion point and xy rotation but not the yz and xz.

View 9 Replies View Related

3ds Max Animation :: How To Lock Z Axis Of Object With Upper Arms Z Axis

Jan 25, 2013

I'm rigging a shoulder pad to a biped and I'd like it to only rotate on one axis. Google hasn't been that useful, and I hope I don't need scripting for this kind of minor thing. I'm rather new to 3Ds Max Design but I'm learning fast and liking it so far!

I've attached what I want to effectively accomplish. I'm looking for a way to lock the z-axis of the object with the upper arm's z-axis.

EDIT: Reduced picture size.

View 3 Replies View Related

Photoshop :: Is There A Rotate Canvas Plugin For Cs2 That Works Like The Rotate Canvas In Sketchbook Pro

Aug 23, 2013

Is there a rotate canvas plugin for cs2 that works like the rotate canvas in sketchbook pro?

View 4 Replies View Related

AutoCad :: How To Lock X Y Or Z Axis

Apr 13, 2007

im using autocad 2008 but cant work out how to lock the x y or z axis, is there a simple way to do this?

previously i have used google sketchup and all you have to do in that program is press the arrow keys lol

View 9 Replies View Related

AutoCad :: How To Hide X / Y Axis

May 19, 2011

I am currently using old school ACAD 2002 and I can't get the x and y axis arrows to go away. How do I do that?

View 1 Replies View Related

AutoCad :: Cannot Add Dimensions On Z-axis

Mar 21, 2013

I'm currently making some drawings of a piping system for an oil rigg process system I made in Inventor. I was now supposed to draw an Isometric drawing of some pipes, but i don't think i knew what isometric meant so i made it in 3D. So i made a full xyz 3d drawing instead of drawing 3d on an xy axis. Still, i don't think there will be problems because i'm only supposed to take pictures of this and add it to a repport.

The problem i have is adding dimensions to the lines on the z-axis, they keeb gluing to the xy-axis. It's probably a stupid question, but I just can't seem figure it out. I added a picture of it. Now if i made an ISOmetric drawing i would not have had this problem, hope i don't have to start again.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved