-
-
Notifications
You must be signed in to change notification settings - Fork 716
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
Explain how Z values are asssigned to mesh elements #7730
Conversation
+---------------------------------------+-------------------------+-------------------------------+------------------------------------------+ | ||
| Vertex on a face | --- | Mesh layer | Interpolated from the face vertices | | ||
+---------------------------------------+-------------------------+-------------------------------+------------------------------------------+ | ||
| Vertex snapped to a 2D vector feature | --- | --- | No value | |
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.
| Vertex snapped to a 2D vector feature | --- | --- | No value | | |
| Vertex snapped to a 2D vector feature | --- | --- | Default or user | |
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.
not in master but should fixed by qgis/QGIS#50406
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.
Should it be backported?
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.
The fix should be backported (I just added the label).
If you ask for the doc, maybe it should be backported once the fix will be effectively backported?
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.
I was asking for code but your reply made me realize that I didn't backport any editing changes to 3.22 docs. So done now at #7818 (allowing you to review the unreviewed bits I merged last week - I'll forward port your suggestions)
| Vertex on an unshared edge | No | :guilabel:`Vertex Z value` | Default or user defined | | ||
+ +-------------------------+ +------------------------------------------+ | ||
| | Yes | | Average of the selected vertices | | ||
+---------------------------------------+-------------------------+-------------------------------+------------------------------------------+ | ||
| Vertex on an edge shared by two faces | --- | Mesh layer | Interpolated from the faces' vertices | |
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.
| Vertex on an unshared edge | No | :guilabel:`Vertex Z value` | Default or user defined | | |
+ +-------------------------+ +------------------------------------------+ | |
| | Yes | | Average of the selected vertices | | |
+---------------------------------------+-------------------------+-------------------------------+------------------------------------------+ | |
| Vertex on an edge shared by two faces | --- | Mesh layer | Interpolated from the faces' vertices | | |
| Vertex on an edge shared by two faces | --- | Mesh layer | Interpolated from the edge' vertices | |
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.
Any reason to have removed the "vertex on unshared edge" rows?
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.
For vertex on edge inserted on an edge, the behavior is the same if the edge is shared or not by faces: the value is interpolated between the two vertices at the extremity of the edge.
So, better to remove also "shared by two faces" in line 711.
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.
I'm not that sure. See video where numbers represent vertex z value and what happens (new vertex takes value from widget). Peek is bugging here so can't record but if I select vertices before adding the new one, I get the average value assigned.
unsharedEdgeNoselection.mp4
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.
Indeed, may be a bug... I will look at...
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.
Thanks @vcloarec
Few questions below and also, is the table understandable or do you think of any better formatting?
| Vertex on an unshared edge | No | :guilabel:`Vertex Z value` | Default or user defined | | ||
+ +-------------------------+ +------------------------------------------+ | ||
| | Yes | | Average of the selected vertices | | ||
+---------------------------------------+-------------------------+-------------------------------+------------------------------------------+ | ||
| Vertex on an edge shared by two faces | --- | Mesh layer | Interpolated from the faces' vertices | |
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.
Any reason to have removed the "vertex on unshared edge" rows?
+---------------------------------------+-------------------------+-------------------------------+------------------------------------------+ | ||
| Vertex on a face | --- | Mesh layer | Interpolated from the face vertices | | ||
+---------------------------------------+-------------------------+-------------------------------+------------------------------------------+ | ||
| Vertex snapped to a 2D vector feature | --- | --- | No value | |
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.
Should it be backported?
refs #6883, refs qgis/QGIS#45140
Completes #7729