-
Notifications
You must be signed in to change notification settings - Fork 235
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
fix #5118 Dual Mesh Node Extended Algorithm #5119
Conversation
fix #5118 - move DualMesh to old_nodes/dual_mesh.py - create SvDualMeshNodeMK2
- fix tests to use new node (Architecture/Curved_Hexagonal_Truss.json). No change schema - fix buld errors in console for node "generators_extended/polygon_grid.py" - add a few performance to dual_mesh by clean bmesh not recreate.
- some vars renamed
- little refactor variables
utils/sv_bmesh_utils.py
Outdated
for face in bm.faces: | ||
new_verts[face.index] = face.calc_center_median() | ||
def dual_mesh(bm, recalc_normals=True, keep_boundaries=False): | ||
from time import time_ns |
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.
is it still needed?
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 a little time
utils/sv_bmesh_utils.py
Outdated
# vert.link_edges (or faces in vert.link_faces) | ||
# is undefined, so we have to sort them somehow. | ||
# some definitions: | ||
# 1. source vertices, edges, faces - elements of cource mesh. Some vertices, edges and faces may be as single. |
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.
*source.
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.
fixed
…dges as Boundary. - update docs/nodes/modifier_make/dual_mesh.rst
bbc9e38
to
c0bf980
Compare
# Conflicts: # index.yaml # menus/full_by_data_type.yaml # menus/full_nortikin.yaml
fix #5118
test file:
Issue.DualMesh.Tests.003.blend.zip
Examples in test file: