CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 8026

CAD tip CAD tip # 12766:

   
Question CAD 
 %  platform  category 
Q - question

Lines with a single grip, incorrect osnaps, intersections, offsets, hatches - CheckLarge

A - answer AutoCAD (DWG) internally calculates with numbers stored as 64-bit double-precision data, which allow to interpret and display numbers with cca 15 digits (places). But if you locate your DWG drawing to very large coordinates, you spend this numerical capacity to represent mostly static parts of the coordinate values - e.g. a geodetic coordinate system starting at 1000000 units will consume about 6-7 digits of the total 15 digits to express just the more or less "static" value of meters or feets (left to decimal point) and only 8 digits will remain for the decimal value for computing precision. This will result to inaccurate calculations in more demanding geometric computational problems.

This inaccuracy can then manifest itself in various ways - no touch point of spline curves found, inaccurate intersection points, curve offsets, shifted osnap points, tracking, etc. It can also manifest itself in more unusual phenomena such as not finding a fill boundary for hatches or displaying short lines with a single grip only. The more demanding geometrical transformation is performed (e.g. in Civil 3D) and the more distant are the coordinates from [0,0,0], the more significant can be the inaccuracies.

A similar problem can arise when moving objects too far in the Z-axis. Compare the grips on the objects on the left (moved to Z=9.9E+12) and on the right (same objects, Z=0):

So we recommend in case of such problems to move (_MOVE) temporarily the content of your DWG drawing as close as possible to the absolute global origin (0 0). After you complete the calculation, you can move the content back. A mere change of the UCS will not help as the calculations are internally performed in the global coordinate system (GCS).

If you see a higher risk of occurrence of such DWGs, you can prepare an automatic warning. Drag the LSP file with our utility CheckLarge.LSP (see Download) onto the briefcase icon in the APPLOAD dialog and AutoCAD will warn you when opening a .DWG drawing with too large coordinates, which may cause complications.

ACADACLTMapCivilPlant
100% *  CAD 
14.10.2020    63162×   FAQ  

See also:
Tip 13006:Calculated property descriptions (tobogan slide from floor to floor)
Tip 12368:Gaps - how to find loose ends on lines in a DWG?
Tip 11295:Iterative Move, Scale and Rotate - till boundary touch.
Tip 9371:How to convert 3D DWF back to an editable CAD model?
Tip 8183:Convert surface (mesh) model to 3D solid body.


Back   All CAD Tips



Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   



Featuring:
Increase your productivity with our set of add-on functions for AutoCAD Civil 3D
CADstudio Civil Tools More info


Please use these tips at your own risk.
Arkance Systems is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist