Skip to content
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

"Populate mesh" node mk2 #5146

Merged
merged 10 commits into from
Oct 4, 2024
Merged

"Populate mesh" node mk2 #5146

merged 10 commits into from
Oct 4, 2024

Conversation

portnov
Copy link
Collaborator

@portnov portnov commented Sep 29, 2024

Refs #4434.
This introduces a new implementation of "Populate mesh" node, which should have all features of old "populate mesh" as well as many features of "populate solid" node.
This version may be a little slower than previous, but given the amount of features I believe this is acceptable.

  • ability to generate points inside mesh, on mesh surface or on mesh edges
  • ability to specify points distribution by scalar field
  • ability to control number of points per face / edge either proportionally to face area / edge length, and by manually specifying weights;
  • weights can be used as mask per face / per edge
  • ability to control distance between nearest points as minimum distance value, or by providing scalar field specifying free space radius around each point

Screenshot_20241001_010227
Screenshot_20241001_005658
Screenshot_20241001_005446
Screenshot_20241001_005258
Screenshot_20241001_005232

Preflight checklist

Put an x letter in each brackets when you're done this item:

  • Code changes complete.
  • Code documentation complete.
  • Documentation for users complete (or not required, if user never sees these changes).
  • Manual testing done.
  • Unit-tests implemented.
  • Ready for merge.

@portnov portnov marked this pull request as draft September 29, 2024 09:19
@portnov portnov force-pushed the populate_mesh_mk2 branch from 8189dd2 to d66dafe Compare October 4, 2024 16:08
@portnov portnov marked this pull request as ready for review October 4, 2024 16:12
@portnov portnov merged commit 25f65d3 into master Oct 4, 2024
2 checks passed
@portnov portnov deleted the populate_mesh_mk2 branch October 4, 2024 16:13
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.

1 participant