mirror of
https://github.com/storytold/cadcraft.git
synced 2026-10-24 10:56:51 -06:00
ID always printed Z = 0, DIST's Delta Z and angle from the XY plane were 0, and LIST printed Z = 0 for lines, circles, arcs and polyline vertices, though the drawing kept every Z: a topographic drawing's levels could not be read in CADCraft. Points reach these commands in 2D, so the Z is that of what is drawn at the point, as AutoCAD reports a snapped point's: the object a pick finds there (a point, a 3D line or 3D polyline interpolated, a polyline's elevation, down Z for a mirrored one, a circle, arc, text, block or the plane of a 3D face), else the current elevation (ELEVATION). A Z given with a JSON point wins. DIST gives the 3D distance, Delta Z and the angle from the XY plane; LIST the Z of lines, circles, arcs and text, a line's 3D length and deltas, and a polyline's elevation. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>