Select Similar Node #102903

Open
opened 2022-12-01 20:43:17 +01:00 by Hans Goudey · 6 comments
Member

As a generalization of D16227, it might be helpful to have a "Select Similar" node.

The node could look like this:
{F13984482 size=full}

  • The selection input is the initial selection to start from.
  • The "Value" field input is used to find which areas are similar.
  • The selection output is true wherever the value field matched any of the values in the input selection.

Open questions:

  • Does this generalize to other "Value" data types?
  • If so, should we try to avoid replicating all the options of the compare node here?
  • If not, is the node still useful enough?
As a generalization of [D16227](https://archive.blender.org/developer/D16227), it might be helpful to have a "Select Similar" node. The node could look like this: {[F13984482](https://archive.blender.org/developer/F13984482/image.png) size=full} - The selection input is the initial selection to start from. - The "Value" field input is used to find which areas are similar. - The selection output is true wherever the value field matched any of the values in the input selection. Open questions: - Does this generalize to other "Value" data types? - If so, should we try to avoid replicating all the options of the compare node here? - If not, is the node still useful enough?
Author
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Author
Member

Added subscriber: @HooglyBoogly

Added subscriber: @HooglyBoogly

Added subscriber: @mod_moder

Added subscriber: @mod_moder

I think it makes sense to give more control over the product of the group sets so that we can multiply a random island group by the island number to get a unique group ID in the island space.

I think it makes sense to give more control over the product of the group sets so that we can multiply a random island group by the island number to get a unique group ID in the island space.

Added subscriber: @JacobMerrill-1

Added subscriber: @JacobMerrill-1

py mocup

connectMap = {}
for edge in mesh.edges:
    vertices = edge.vertices
    if vertices[0] not in connectMap:
        connectMap[vertices[0]] = [vertices[1]]
    else:
        connectMap[vertices[0]].append(vertices[1])

    if vertices[1] not in connectMap:
        connectMap[vertices[1]] = [ vertices[0] ]
    else:
        connectMap[vertices[1].append(vertices[0])

I use connection maps like this for A* and for other stuff
to store what vertex are connected by an edge, or what faces are connected to a face with an edge too.

this would be used with a input index to then select the vertex
(I can't code c++ that well yet to help there)

py mocup ``` connectMap = {} for edge in mesh.edges: vertices = edge.vertices if vertices[0] not in connectMap: connectMap[vertices[0]] = [vertices[1]] else: connectMap[vertices[0]].append(vertices[1]) if vertices[1] not in connectMap: connectMap[vertices[1]] = [ vertices[0] ] else: connectMap[vertices[1].append(vertices[0]) ``` I use connection maps like this for A* and for other stuff to store what vertex are connected by an edge, or what faces are connected to a face with an edge too. this would be used with a input index to then select the vertex (I can't code c++ that well yet to help there)
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#102903
No description provided.