Repository navigation
Conversation
create_cogo_point takes the drawing's next point number from its create-points settings and advances it, and leaves the point without point or label style of its own so its point group draws it. point_creation_layer reads the layer those settings name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A tree written for a metric drawing gets the 2.5 mm marker the application gives a new metric drawing's point style, an imperial one the 0.1 in it had before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ex/civil-point-creation # Conflicts: # src/classes/civil/create/mod.rs
HakanSeven12
added a commit
that referenced
this pull request
Nov 24, 2026
# Conflicts: # src/classes/civil/create/mod.rs
Collaborator
|
Merged into main as 265cc68 (merge conflict in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
create_cogo_point(doc, position, description, layer)adds a COGO point the way the point creation commands do. The point takes the drawing's next point number. Without that setting it takes one above the highest number, and it skips any number already in use. The setting then moves on to the number after the new point's. The point gets no point or label style of its own (0 in the point database), so its point group's styles draw it.AeccCreatePoints). It is the long key0x01005408in the node's settings list (BL 0, B 1, BL count, count × keyafter the children). Only that value's bits change when it is rewritten; the rest of the node is kept as it is. A node without the setting (a tree this crate wrote) is left as it is.point_creation_layer(doc)returns the layer the create-points settings name: the soft pointer key0x0F005416, resolved through the node's references in the order of its reference keys. It returnsNonewhen no layer is named, in which case points go on the current layer.NO_ELEVATION(-1e20) is the stored z of a point made without an elevation.BLtext encoding read back by the bit reader.🤖 Generated with Claude Code