-
-
Notifications
You must be signed in to change notification settings - Fork 804
Z value rules of assignment - mesh #10260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -811,36 +811,54 @@ default value. | |||||||||||
Rules of assignment | ||||||||||||
................... | ||||||||||||
|
||||||||||||
When **creating** a new vertex, its Z value definition may vary depending on | ||||||||||||
the active selection in the mesh layer and its location. | ||||||||||||
The following table displays the various combinations. | ||||||||||||
|
||||||||||||
.. table:: Matrix of Z value assignment to new vertex | ||||||||||||
|
||||||||||||
+---------------------------------------+-------------------------+-------------------------------+------------------------------------------+ | ||||||||||||
| Vertex creation | Are there selected | Source of assigned value | Assigned Z Value | | ||||||||||||
| | vertices in mesh layer? | | | | ||||||||||||
+=======================================+=========================+===============================+==========================================+ | ||||||||||||
| "Free" vertex, not connected to any | No | :guilabel:`Vertex Z value` | Default or user defined | | ||||||||||||
| face or edge of a face | | | | | ||||||||||||
+ + +-------------------------------+------------------------------------------+ | ||||||||||||
| | | :guilabel:`Advanced | :guilabel:`z` widget if in | | ||||||||||||
| | | Digitizing Panel` (if | |locked| :sup:`Locked` state | | ||||||||||||
| | | :guilabel:`z` widget is in | | | ||||||||||||
| | | |locked| :sup:`Locked` state) | | | ||||||||||||
+ +-------------------------+-------------------------------+------------------------------------------+ | ||||||||||||
| | Yes | :guilabel:`Vertex Z value` | Average of the selected vertices | | ||||||||||||
+---------------------------------------+-------------------------+-------------------------------+------------------------------------------+ | ||||||||||||
| Vertex on an edge | --- | Mesh layer | Interpolated from the edge's vertices | | ||||||||||||
+---------------------------------------+-------------------------+-------------------------------+------------------------------------------+ | ||||||||||||
| Vertex on a face | --- | Mesh layer | Interpolated from the face's vertices | | ||||||||||||
+---------------------------------------+-------------------------+-------------------------------+------------------------------------------+ | ||||||||||||
| Vertex snapped to a 2D vector feature | --- | :guilabel:`Vertex Z value` | Default or user defined | | ||||||||||||
+---------------------------------------+-------------------------+-------------------------------+------------------------------------------+ | ||||||||||||
| Vertex snapped to a 3D vector vertex | --- | Vector layer | Vertex | | ||||||||||||
+---------------------------------------+-------------------------+-------------------------------+------------------------------------------+ | ||||||||||||
| Vertex snapped to a 3D vector segment | --- | Vector layer | Interpolated along the vector segment | | ||||||||||||
+---------------------------------------+-------------------------+-------------------------------+------------------------------------------+ | ||||||||||||
.. _mesh_z_value_assignment: | ||||||||||||
|
||||||||||||
When digitizing mesh vertices, you can control how the Z value is assigned. | ||||||||||||
This is configured in the mesh digitizing preferences, with four available strategies: | ||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There is no mesh digitizing preferences entry, isn't it?
Suggested change
No number. This avoids the need to update the sentence (and its translations) if a strategy is added or removed |
||||||||||||
|
||||||||||||
+-------------------------------------+------------------------------------------------------------+ | ||||||||||||
| Strategy | Description | | ||||||||||||
+=====================================+============================================================+ | ||||||||||||
| **Always from project terrain** | Z value is always taken from the underlying terrain. | | ||||||||||||
+-------------------------------------+------------------------------------------------------------+ | ||||||||||||
Comment on lines
+822
to
+823
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actual label is "Project terrain", no always from
Suggested change
|
||||||||||||
| **Always from Z widget** | Z value is always taken from the :guilabel:`Z` widget | | ||||||||||||
+-------------------------------------+------------------------------------------------------------+ | ||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've tested this:
Suggested change
Note that the actual label is "Z widget", no mention of "always from" |
||||||||||||
| **Prefer mesh, then Z widget** | Z value is first taken from mesh; if not available, | | ||||||||||||
| | it falls back to the :guilabel:`Vertex Z value` widget. | | ||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we refer specifically to the :guilabel: |
||||||||||||
+-------------------------------------+------------------------------------------------------------+ | ||||||||||||
| **Prefer Z widget, then mesh** | Z value is first taken from the :guilabel:`Vertex Z value` | | ||||||||||||
| | widget; if not set, it falls back to mesh. | | ||||||||||||
Comment on lines
+829
to
+830
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Trying to use description as in the original PR description, and in existing table
Suggested change
|
||||||||||||
+-------------------------------------+------------------------------------------------------------+ | ||||||||||||
|
||||||||||||
.. note:: | ||||||||||||
|
||||||||||||
The following detailed logic describes the behavior of the | ||||||||||||
**“Prefer mesh, then Z widget”** strategy. | ||||||||||||
|
||||||||||||
+---------------------------------------+-------------------------+-------------------------------+------------------------------------------+ | ||||||||||||
| Vertex creation | Are there selected | Source of assigned value | Assigned Z Value | | ||||||||||||
| | vertices in mesh layer? | | | | ||||||||||||
+=======================================+=========================+===============================+==========================================+ | ||||||||||||
| "Free" vertex, not connected to any | No | :guilabel:`Vertex Z value` | Default or user defined | | ||||||||||||
| face or edge of a face | | | | | ||||||||||||
+ + +-------------------------------+------------------------------------------+ | ||||||||||||
| | | :guilabel:`Advanced | :guilabel:`z` widget if in | | ||||||||||||
| | | Digitizing Panel` (if | |locked| :sup:`Locked` state | | ||||||||||||
| | | :guilabel:`z` widget is in | | | ||||||||||||
| | | |locked| :sup:`Locked` state) | | | ||||||||||||
+ +-------------------------+-------------------------------+------------------------------------------+ | ||||||||||||
| | Yes | :guilabel:`Vertex Z value` | Average of the selected vertices | | ||||||||||||
+---------------------------------------+-------------------------+-------------------------------+------------------------------------------+ | ||||||||||||
Comment on lines
+850
to
+851
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Even with selected vertices, users can modify the Z widget value and use it.
Suggested change
|
||||||||||||
| Vertex on an edge | --- | Mesh layer | Interpolated from the edge's vertices | | ||||||||||||
+---------------------------------------+-------------------------+-------------------------------+------------------------------------------+ | ||||||||||||
| Vertex on a face | --- | Mesh layer | Interpolated from the face's vertices | | ||||||||||||
+---------------------------------------+-------------------------+-------------------------------+------------------------------------------+ | ||||||||||||
| Vertex snapped to a 2D vector feature | --- | :guilabel:`Vertex Z value` | Default or user defined | | ||||||||||||
+---------------------------------------+-------------------------+-------------------------------+------------------------------------------+ | ||||||||||||
| Vertex snapped to a 3D vector vertex | --- | Vector layer | Vertex | | ||||||||||||
+---------------------------------------+-------------------------+-------------------------------+------------------------------------------+ | ||||||||||||
| Vertex snapped to a 3D vector segment | --- | Vector layer | Interpolated along the vector segment | | ||||||||||||
+---------------------------------------+-------------------------+-------------------------------+------------------------------------------+ | ||||||||||||
|
||||||||||||
|
||||||||||||
.. note:: The :guilabel:`Vertex Z value` widget is deactivated if | ||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This displays a title for the table so it should not be removed (nor the indentation below). And one should be added to the strategy table.