AutoCAD VB :: Calculating 4th Point Of A Square
Sep 12, 2012
i have 3 known points, and i know they are 3 of the 4 corners of a square, how do i calculate the 4th? these points are on a skewed square, where the square has been rotated in the x axis and then rotated in the z axis. It must be simple geometry, but i cant see it.
View 4 Replies
ADVERTISEMENT
Mar 28, 2012
For example, I have a 10cmx10cm grid with lines every 1cm. I want to turn this square into a triangle by reducing the length of the top edge to a single point. The final image should show the vertical lines reaching up towards the top centre, while still leaving the horizontal lines 1cm apart.
Using DISTORT will push the vertical lines up towards the top, producing uneven spaces between the lines. How do I avoid this? know it would be easy to recreate the desired triangular grid from scratch, but this is just an example of my problem. I need to apply the solution to graphics which cannot be reproduced again - i.e. bitmaps.
View 3 Replies
View Related
Feb 16, 2010
How I can update my diesel expression to display the area in square feet not square inches. See expression below.
^C^Cattdia;0;_-insert;AREABLK;1;1;0;$M=$(getvar,AREA);attdia;1
View 9 Replies
View Related
Mar 22, 2013
I used the free select tool to free select an area of an image that is not a square (odd shape), how do I make that selection a perfect square if pasted to new image or new layer??? rectangular would be fine too...
View 14 Replies
View Related
Aug 19, 2013
how to Translate WCS coordinates to PSDCS? where can find the C# code?
View 2 Replies
View Related
Jun 3, 2011
A question regarding converting angles between co-ordinate systems in AutoCAD .NET.
Im creating my first little utility to form selected block attribute references into a nice neat list. The current version takes a selection of blocks and a list insert location and then moves the attribute references to the location and rotates them to WCS angle of 0.
I now want to expand the program to make it a little more flexible and allow you to form the list parallel to the currently selected UCS x axis (the i.e. and angle of 0 in relation to current ucs's).
I have managed bumble my way through and transform the attribute positions correctly to form a list relative to the current UCS but am strugling on how to work out in code what the equivlanent WCS angle value would be.
I have done some calcs using .net framework to calculate an angle between two vectors (see code extract below). But this introduces a small error into the angles (i.e. if my ucs is set rotated 45 degrees around the zed and i use the below maths, the resulatant angle is 45.0000002 when read in acad afterwards).
Matrix3d ucsCur = ed.CurrentUserCoordinateSystem;
CoordinateSystem3d cs = ucsCur.CoordinateSystem3d;
// the below seems to work by calugulating the angle between two vetrex using .net maths class but this introduce a small accuracy error. Is there a better way?
Double rotAngle = Math.Acos((1 * cs.Xaxis.X) + (0 * cs.Xaxis.Y) + (0 * cs.Xaxis.Z));
//set the attribute reference rotation to the calculated WCS radian rotation value "rotAngle"
attRef.Rotation = rotAngle;
Im sure there is a better way built into the managed autocad wrapper using a tranform matix and the ucs vertex information but dont really know how to go about it. Any links explaining how to work with the UCS in .net.
View 3 Replies
View Related
Nov 1, 2012
Any good tips when it comes to calculating the area of a floor plan? You are supposed to start measuring from the outermost part of the walls, but when I do that I run into trouble with the porch on the bottom of the drawing and the room on top left.
The problems are basically that the porch is not supposed to be included in the total area, and in the room on the top I end up measuring a small area twice if I start my measuring from the outermost part of the walls. This is not very well explained but I've drawn two red lines on the drawing to try to show where the problem areas are.
View 5 Replies
View Related
Dec 23, 2013
I am currently still using AutoCAD version 2006. I have two lines with different Z coordinates. Is there a way to calculate volume in a basin?
View 3 Replies
View Related
Jul 15, 2012
When I am trying to calculate area, i got wrong answer. At very first i thought it calculates area with inches (iam in metric sys), but then i checked options and its answer should be in mm, but I am getting wrong answer. In my object (which is rectangular) there's many other things, like hatch, buildings and so on. Maybe this can abstract for direct answer, because when i draw just a simple square or rectangle.
View 9 Replies
View Related
Jul 26, 2013
A fundamental question that comes across regularly is calculating values for offset distances, move, radii, etc. If I want to calculate a value of .5 the interface does not accept 1/2 as a valid entry.
View 7 Replies
View Related
Mar 5, 2008
Lisp for calculating the sum of blocks? So if I was to create a block to represent trees in plan for example, I could automatically tally the number of trees.
View 9 Replies
View Related
Nov 20, 2013
My background is actually in Microstation (mainly 2D). I was asked if I could calculate the cut and fill between two topo surfaces. Unfortunately, I don't have the files yet but I will eventually receive them. When I do, what would be the correct method to achieve this task?
View 3 Replies
View Related
Nov 20, 2013
We have a good size channel and the section for the channel varies quite a bit. We want to find the volume excavated in the channel between 2 elevations (it is the area of sand per the goetech report)? A template was not used to create the channel surface, breaklines and gradings were used.
View 9 Replies
View Related
Sep 12, 2005
How I can calculate my area for different slope regions?
View 7 Replies
View Related
Apr 11, 2012
I want to know if it is possible to calculate the water displacement volume of an assembly if it were immersed in water.
In other words, I want to create a file in which ALL hollow spaces inside structural members, valves, pipework etc are assumed to be solid so that when that assembly is dropped in water, the total volume of water being displaced will be equal to the iProperty value for volume. I know its possible to hole patch when creating a shrinkwrap, but this is only effective for 'circular' hollow spaces and does not fill obscure or rectangular shaped empty volumes.
View 8 Replies
View Related
Nov 14, 2012
I would like to find the actual weight of a part in pounds.
I have attached one of the parts I would like to know the total pounds or ounces for. I’m using a specific material that I set in the Physical tab of iProperties.
Version = Inventor Pro 2009
View 4 Replies
View Related
Oct 31, 2012
I have a building like this and it has a lot of windows.
I know how to calculate an individual window area by using 'area' or 'ls' command. But this is just partial drawing and the whole building has hundreds of windows and it will take forever to calculate one by one and add them together to get the total area. Is there any way to get the whole area easily?
windows are just rectangles (and solid hatch inside the rectangle).
View 9 Replies
View Related
May 16, 2013
Any quick way of calculating average Parcel Area? I used to export to LandXML and do an area report in CSV. That doesn't seem to be working for me when I export out of C3D 2012.
The workaround I found was to select all the parcels in Prospector, copy to clip board, paste in excel, find and replace "_Sq. Ft._" with 0, then do the average.
View 1 Replies
View Related
Apr 16, 2012
When using the rectangular tool how do i calculate equal distances between each Fin.The picture shows 11 Fins but they are not equal distances between each Fin which causes the Fins to be higher on the right side.Which formula / calculation do i need to use in Rectangle Tool to produce equal distances between each fin and therefore the 1st and 11th fin are in the same position on each side of the cylinder.Using Inventor 2012
View 9 Replies
View Related
Sep 12, 2009
I want to calculate aurface area of iparts automatically. there are about 100 ipatrs and i want to find surface area of each ipart. is there any way that i just click the desired surface and its area is written in some file so that i can just go to the next ipart click the desired surface and its area is written automatically on some file.
Is there some option in inventor to define macro for it coz i hav no knowledge of defining macros.
View 9 Replies
View Related
Nov 11, 2013
I am electrical engineer and I have little experience with autocad . How can I calculate the number of acertain block in a 2D plan , such as the number of electrical socket in abig plan with autocad 2010
View 2 Replies
View Related
Nov 11, 2012
How to calculate the three-dimensional surface area of a revolved arch (such as attached file) by autocad 2007? such as an irregular dome.
Which software can do the job? Autocad or Matlab software or .....
View 9 Replies
View Related
Sep 19, 2013
I've been learning civil3d for some time now and I really want to understand how the program calculates volumes from road corridors.
When the top code is used to create surface from a road corridor, the created surface coincides with the top of the road pavement (binder/wearing course), which is not part of earthworks.
How can I create a surface at the formation level so as to compute actual earthworks?
View 5 Replies
View Related
Aug 12, 2013
I am looking to calculate the volume of an existing berm from a TIN surface. I have read through some of the Civil 3D tutorials, and realize that I will need to have two surfaces (base and comparison), but need to figure out how to create the comparison surface.
View 9 Replies
View Related
Jan 24, 2013
I am designing a piazza that most types of vehicles need to circumnavigate. On a scaled location plan, I would like to draw the scaled turning circles of cars and lorries - especially emergency vehicles.
I have the Metric Handbook beside me which has typical 90 degree turns drawn but it is not obvious how they were drawn in the first place.
I have all the vehicle dimensions that I need, I just need to know how to calculate and draw the geometry.
View 5 Replies
View Related
May 9, 2013
I have been provided a file with a surface, however I have not been provided with the point files referenced to define the surface. As a result, when I try to calculate the quantities in the volume dashboard using a volume surface, I get the error that the surface is out of date. Is there a way to calculate volumes with an out of date surface?
I am trying to calculate the amount of material required to be cut when creating a flat bottom ditch.
View 4 Replies
View Related
Jun 9, 2013
I have create my surfaces and now need a volume between to two surfaces. I created the surface by using the Surface/Create TIN Surface tool for both my OG and the surface after material has been imported. I have gone to the volume dashboard and it will not let me add existing surface. How do I calculate the volume?
View 3 Replies
View Related
May 30, 2011
How to drawing a Pi that used in calculating area, circumference of a circle, in AutoCAD as a technical drawing?
Is there available any book I could find some info regarding Pi in technical drawing?
View 4 Replies
View Related
Jan 18, 2009
When I use the square selection tool, the selection edges are rounded rather than square. I can't remember how to rset this.
How do you make the edges square by default?
View 1 Replies
View Related
Sep 2, 2013
ilogic is calculating tan/sin/cos/aTan/aCos/aSin incorrectly. E.g.
MessageBox.Show(Atan(35))
Answer = 0.4738... when it should be 0.7002....
View 5 Replies
View Related
May 7, 2013
In Land Desktop using the Hydrology tools, we could get capacities for rectangular pipes based on slope, size, etc.
I have tried using the Hydraflow Express tools for this, but cannot figure out how to use them for a RECTANGULAR pipe (i.e. 10x4) box. Saw the circular option, but couldn't change where it says circular.
This is not a culvert analysis because we have inlets, multiple slopes, etc. It is part of an entire system.
I use these tools to layout the system before I want to put it into the analyses software we are using.
View 1 Replies
View Related