AutoCAD .NET :: Rotate UCS About 90 Angle Counter Clockwise And Zoom
Apr 9, 2013
I have this
Matrix3d cur = ed.CurrentUserCoordinateSystem;
Vector3d x = new Vector3d(1, 0, 0);
Vector3d y = new Vector3d(0, 1, 0);
Point3d o = new Point3d(0, 0, 0);
[Code] .....
Code is rotating well my model, but it's zooming to bad point. I want to zoom to the point from previous view, so I'm transforming it by new UCS - unfortunately something is going wrong (it's not this point what I want).
When using 3D pattern, and specifying a negative angle for counter clockwise, with an angle less than 360 degrees ( eg, 90 degrees ) the pattern will be spread over 360 degrees anyway.
Also, the directions in the application are wrong. negative angles are for counterclockwise, not clockwise.
Workaround: Make all patterns clockwise, and reverse the direction of the axis around which it rotates. This will achieve the desired outcome.
How can i test a polyline if its clockwise or counterclockwise? I have a routine that gets the area of polylines then if clockwise,the area is positive and negative if not. But I dont want to get the area just to test if its clockwise or not.
I have some closed polyline in a rectangular area like below screen shot. I want numbering these polylines counter clockwise or clockwise by selecting a reference polyline. In the below screen shot , I have highlighted a polyline (red marked). So , first I select that polyline and ask to numbering other polylines in couter clockwise.
The result of my requirement should be like below screen shot. how to do that? sample code in VB
Deriving “counter clockwise” azimuth from “clockwise,I’m wondering if there is a technique to automatically derive the counter clockwise azimuth from the clockwise or vice versa.
I am trying to set up the bulge for a polyline, in order to set up the bulge currecty I need to know if the polyline was created clockwise or counterclockwise.
I'm using the liquify tool to fit a fake tattoo to a face, and I want to twist part of the tattoo to adjust for perspective. Unfortunately, the twirl tool in liquify is in fact a "Twirl Clockwise" tool- Counter Clockwise doesn't seem to be an option!
Is there a quick way to rotate an object to match an angle without knowing what the angle is? I am using AutoCAD 2011 now. I was using 2007 and I had an add on command the would rotate an object using a base point and picking the two lines that make up the angle, and it would match the angle you wanted. I can not get that command to load in 2011.
I'm making this diagram of the load condition acting on tunnels to explain a Japanese set of equations that are used for the structural analysis for tunnels:
load condition for EEM.jpg
But, there is one problem I have. I'm trying to set up the text for the dimension between the water table and the tunnel "Ha" to look horizontal.
However, if I click on the properties box and write 90 in the rotation box right next to where it says "text rotation," the dimension text does not rotate 90 degrees; if instead I try to rotate it 180° then it only rotates 90° (and in the opposite direction) instead of 180°. It doesn't matter how many degrees I choose, it won't rotate my dimension "Ha" to desired angle to make it look horizontal.
OK I know it's hard to explain my problem with just writing, so I've posted a few pictures:
In this one, the dimension is at 0°; I've only opened the properties box to attempt and rotate it: no rotation.jpg
Now I write 90 in properties box but the dimension text does not rotate at all; it remains at 0 as it is shown in the following image: 90 & no rotation.jpg
Next I try to rotate 180, just to see what happens; and it does rotate (only 90 degrees!): 180 rotates 90.jpg
I finally try to rotate the text 270 just to see if it rotates to desired angle and it does rotate (180 degrees from original position). As shown below:
270 last try.jpg
It doesn't matter how many degrees I choose, I cannot make it look horizontal.
How can I set up my dimension text "Ha" to look horizontal?
I'm looking for a lisp routine that allow me to select a text object that is rotated to anything other than zero, and it will change the text object to zero rotation and while still in the command allow me to place the text object on the screen.
I have a routine that is similiar called RT180 but it just rotates whatever text object you select 180 degrees from its current rotation, but I can not figure out how to modify it to rotate to zero rotation angle. What I like about RT180 is that you select your text it rotates it on the spot and then lets you pick a spot to place it.
Is it possible to rotate a viewport to an angle other than 90 degrees. I am trying to rotate a viewport 11 degrees counter clockwise. I cannot rotate the model.
In Graphics Editing software like Photoshop you can rotate an image ever so slightly to the left or to the right. I'm trying to super-impose a png of a head onto something and I would like to match the angle of the original head.
I'd like to orient a picture of a book so that it's on a 45 degree angle and then "cut out" the area around the "book" to that when you view the picture is looks like a book on a 45 degree angle with no area around it. I'm sure GIMP can do that but the question is whether I can put that same photo on a website and have it look like it's a book on a45 degree angle.
How do I rotate an object in Illustrator without chaging the angle of my drop shadow? I have a design that I want to place 2 up on a page and then print. When turn and stack them the shadow has changed its angel in relation to the artwork. I don't see where to lock the drop shadow to the object. Or is it secified a different way?
I've noticed when you tilt things using Rotate/Zoom the edges and some finer details can get quite jaggy.Pretty much like in Shape3D unless you check the AA option and raise the level up to 4/5. Then all the creases are ironed out and detail is kept Is it even possible to put an AA option into Rotate/ Zoom ?
I want to rotate object along circle with special step angle. If i choose TRANSFORM i don't type special angle, but i can choose pivot point. I don't know how name this point, i name this pivot point, the point concerning which object rotates. And if i choose TRANSFORM OPTION i can type special angle, but i can't choose pivot point. More precisely, i don't know how do that. I choose object, then transform, set pivot and then open pivot option, type angle but object rotate around own pivot!!!
Is there a way (plugin and or method) to rotate/zoom a layer without anti aliasing being applied?I'm working with sprites and anti aliasing is a pain to remove.
I have a Wacom Bamboo Capture, I'm on a Mac OSX 10.8.3, and I'm using GIMP 2.8.4.
The pen and tablet seem to work together fine, with pressure sensitivity and all, but when I attempt to use the gesture functions (such as rotation) GIMP doesn't respond.
I know the problem isn't with the hardware because the little "rotate icon" pops up when I do the gesture, it's just the way it is communicating with GIMP that is the problem.
I just spent thousands of dollars on a new cintiq 22hd touch and now people are telling me that touch zoom and rotate are not supported in photoshop when running it with a windows platform (only works with MACS)???!!! are you serious???!!! I just tested this out and its TRUE!!! You can pan with touch but not zoom or rotate. The zoom and rotate functions work in all my other programs BUT NOT PHOTOSHOP. I even have the latest version of photoshop (CC), latest patch and all and nope! no multitouch support!
I dont know who im more pissed with WACOM or ADOBE. Wacom's touch advertising was supposed to be their selling point! if you cant even use it with the most popular graphics program...err what's the point?And Adobe should have provided support like what...AGES AGO...the touch tablets and cintiqs have been out for almost a year now!
HOW IS IT POSSIBLE THAT WE LIVE IN 2013 and the best graphic hardware IS NOT COMPATIBLE with THE BEST GRAPHIC SOFTWARE on an OS (windows) that like over 50% of the population use?
I have a property line that is N 36d19'52" E but needs to be N 12d52'18" E. The obvious and calculated rotation angle would be 23d27'34" but when I rotate the line by the calculated angle it doesn't rotate to the right angle. It's off by 0d11'10"!? When I draw a line by bearing at N12d52'18" E and inquiry the angle between the property line and the drawn line the angle difference is in fact 23d27'34".
Let's say I am inserting a square block into a dwg and want to get it parallel to an existing angled line. Do I have to read the angle of the line and insert the block to that angle or is there a quicker way?
how to convert "real world" angles of elliptical arcs into those shown in a dxf file?
Say that I have drawn an elliptical arc with its start angle on 210 degrees and an end angle of 324 degrees. The values in a DXF file, for an elliptical arc, have something to do with the contant "PI" (3.14159). I know that a full circle is 2*Pi but how to do this with elliptical arcs!!
When I open any image, photoshop rotates the image 90 clockwise by itself. All the other programs (even windows imageview) dont do that. Only photoshop does that. I can open the photo in any other application and they are fine, but when I open them in Photoshop CS5, they get rotated.
I have an avatar which is positioned correctly in PS & in Preview. When I insert that in my Avatar on this forum, it is rotated 90 deg clockwise! ? When I rotate it in PS and load as an avatar, it appears the way it is rotated. ? Very perplexing.
I have an image, and I want to add some text along a curved path beneath it. Imagine the motto beneath a coat of arms, or a product or company name beneath a logo.
Now, I tried using the text tool to add the text along a path, and I think that I now understand how that works.
Now it turns out that there is a feature missing that I would like to see, which is that text justification should make the text conform to the ends or centre of the path... by this, I mean that if I draw a path and the text is too short to fill the whole of the path, I should be able to centre the text along the path.
The way around this that came to mind is that if the path is a circle then I can place my text starting anywhere, and then rotate that layer to centre the text beneath the image.
So I make a circle selection, and convert the selection to a path... but the path seems to start at the top of the circle (I don't now what you want to call it: 0°, 12 o'clock, top dead centre, North?) and go clockwise... meaning that if I rotate my text to be below the image it will be upside down.
My work-round is to create a temporary layer and draw a circle on it, then use that as a guide to create a path along part of the circle in an anti-clockwise direction.
But I thought that there might be a mechanism for easily swapping the start and end positions of a path,another, better way if placing text below an image,a way of centring text along a path.
I am working on getting some settings done, moving from 2008 to 2012. How do you set the Middle Mouse Button (wheel) to either Zoom All or Zoom Extents when you double click it? I thought it was set in the Main CUI file.
My keyboard has a zoom key with + and - selections. I use to use this key in drawings to zoom in and out when in the AutoCAD application when we had Windows XP. Now that I have Windows 7 I can't do this. I can't find out how to assign this key on the Microsoft Keyboard interactive software either. I have the other keys assigned as desired.
Can I still use my keyboard zoom key to zoom in and out in drawings? If so, how do I set this up in AutoCAD, or do I need to do this through a Microsoft keyboard application?