nmwsharp / nmwsharp/polyscope

Enhance mouse click return

Open
#147 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Python
Dominant language
C++
Stars
2.2k
Forks
242
Avg merge
11m
Merged PRs (30d)
1

Description

Currently polyscope.get_selection() in python only returns the face/cell you clicked on. It would be super useful for animation and interaction if we could additionally get just a little more info like the position on the mesh of our click!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Python polyscope.get_selection() entry point and trace how mouse picking reaches the C++ viewer. Determine how the click position should be represented and returned alongside the selected face or cell; no file or test is named in the issue, so completion should be checked against the selection API behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
api, computer-graphics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.