Skip to content

Civil points: Miscellaneous create-point commands - #3607

Merged
HakanSeven12 merged 2 commits into
HakanSeven12:mainfrom
ramox81:codex/civil-points-misc
Nov 24, 2026
Merged

HakanSeven12 merged 2 commits into
HakanSeven12:mainfrom
ramox81:codex/civil-points-misc

Conversation

@ramox81

@ramox81 ramox81 commented Nov 24, 2026

Copy link
Copy Markdown
Contributor
  1. Create Points > Miscellaneous: every entry except Manual now runs a command instead of answering "not yet implemented" (points_menu::is_pending).
  2. Northing/Easting, Bearing, Azimuth, Angle and Deflection start CREATEPOINTMANUAL in their direction mode; the same modes are available at the manual location prompt by typing 'NE, 'PBD, 'ZD, 'AD and 'DD.
  3. Northing/Easting asks >>>>Enter northing <n>: and >>>>Enter easting <e>: offering the last values with three decimals; a non-number answers Requires numeric value. and asks again.
  4. Bearing asks a starting point, then >>Specify quadrant (1-4): after the quadrant legend, a spaced degrees-minutes-seconds bearing (0–90) and a distance; quadrant 2, 3 and 4 turn the bearing to 180−b, 180+b and 360−b from north. A wrong quadrant answers Invalid quadrant. Please try again with the legend again.
  5. Azimuth asks a starting point, a spaced degrees-minutes-seconds azimuth from north (clockwise) and a distance.
  6. Angle and Deflection take a line (or Points: a starting and an ending point) and an angle and distance; Angle turns from the start→end direction, Deflection from the line's extension past the start; both clockwise, Counter-clockwise / Clockwise toggles the sense.
  7. In every direction mode the next point starts from the last one written (Bearing asks the quadrant again, Azimuth the azimuth, Angle and Deflection the next ending point); Enter at the mode's first prompt or Esc returns to the location prompt with Resuming CREATEPOINTMANUAL command.; the unit line is shown again before each direction prompt.
  8. Station/Offset Object: Select an arc, line, polyline, lot line, or feature line:, Starting station <0.000>:, then Specify a desired station <s>: and Specify an offset <o>: repeat for further points offering the last values; stations run from the object's end nearest the pick (the end on a tie), a positive offset lies right of the direction of travel and stations beyond the ends continue along the end directions. Esc goes back one prompt: desired station → starting station → object.
  9. Along Line/Curve: after the object, Specify a distance: repeats, each distance measured from the end nearest the pick; Esc returns to the object prompt.
  10. On Line/Curve: the picked object's two ends become points.
  11. Automatic: Select arcs, lines, lot lines, or feature lines: gathers lines and arcs until Enter; a line gives its start and end, an arc its end, start and centre, objects in drawing order.
  12. Divide Object: Enter the number of segments <1>: and Specify an offset <0.000>: place segments + 1 points from the end nearest the pick to the other end.
  13. Measure Object: Starting station <0.000>: (the station of the end nearest the pick), Ending station <start + length>:, Specify an offset <0.000>: and Enter an interval <10.000>: place a point at every interval from the starting station up to the ending one.
  14. Polyline Vertices - Manual asks Default Elevation <.>: first (Enter or . gives 0), then Select a polyline object:; Polyline Vertices - Automatic asks the polyline directly and gives each point the polyline's elevation (a 3D polyline's vertex Z). Both ask only a description per vertex and return to the polyline prompt.
  15. Resection: three known points (Specify first (backsight or reference) point:, Specify second point:, Specify third point:) and the clockwise angles from the first to the second and to the third (<last> (d)) give the station point. A straight angle to either point answers Resection point is unsolvable with Points 1 and 2 are colinear. / Points 1 and 3 are colinear., and angles no station satisfies answer it with A solution does not exist.; the command then asks the first point again.
  16. Geodetic Direct answers Coordinate transformations must be enabled for this command. and ends, the drawing having no coordinate transformation settings.
  17. Every object-based point asks Enter a point description <last>: and (except polyline vertices) Specify a point elevation <.>: as the manual command does, writes no N/E line, and the whole run is one undo step labelled with its own command name.
  18. The manual command's point result carries whether to write the N/E line and an optional line to show after the point (the next direction prompt's unit line).
  19. New prompts and messages are in the catalog (civil-cmd group) with Turkish translations; the other languages carry the English text.

🤖 Generated with Claude Code

ramox81 and others added 2 commits November 24, 2026 22:16
Northing/Easting, Bearing, Azimuth, Angle and Deflection run the manual
command in their direction mode; Station/Offset Object, Automatic, Along
and On Line/Curve, Divide and Measure Object, Polyline Vertices manual and
automatic and Resection place points from objects as measured; Geodetic
Direct asks for coordinate transformations the drawing does not set.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@travisjhughes

Copy link
Copy Markdown
Contributor

FYI. The health check (non-blocking) returns:
Warning: unwrap/expect/panic! in production code; prefer returning an error

@HakanSeven12
HakanSeven12 merged commit 44658c0 into HakanSeven12:main Nov 24, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants