-
Notifications
You must be signed in to change notification settings - Fork 53
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
How to get the clicked axes in the batched_axes? #271
Comments
Thank you very much. I read the code, I think it is what I want, But I cannot test it, since when I run this branch, the code fail during the "Install prebuilt node". I think it is due to my internet connection, I am trying to solve it... |
B.T.W, I found the error during "Install prebuilt node" only happens on |
Unfortunately I'm juggling a few other things right now so merge/release might take a little while. There are also some details in that PR (like the hover outline effect) that I want to revisit.
This is because we include a pre-built version of the client in PyPI releases, which isn't present when you install from source. I'm not aware of any issues in the automatic client build code, so if you're able to narrow down the problem I'd be interested in more information! One other option you can take is to build manually, this involves cd'ing into |
Can you provide more information about the viser install and client install step? When I try it, it seems a long time cost to download and compile. |
After try sometimes, I finally success to install viser from source code:
I think the step 3 is a little confused and complex... |
Thanks for the info + sorry about the difficulty! Usually I just use an editable install |
Also @zjcs can I ask what OS you're on? Do you think this is related to your If you're in China is there any chance it's network related? |
Linux OS. It is due to the company network firewall, so |
I think these build result of |
Thanks @zjcs! The reason the PyPI install is smaller/faster is because we only include the built client in the released package: viser/.github/workflows/publish.yml Lines 30 to 37 in 783ea09
Also to clarify, my expectation if you do an editable install from I did just push a commit that will exclude |
Sorry to reply late. I re-install viser again today. Yeah, you are right, Now, Thanks very much for your timely help. One more thing, I want to clarify the steps of pip install from source code:
Finally, the node build result under the folder |
According to the recommand in the viser, add_batched_axes is a good choice to add multiple axes. These axes act as the children scene node, and the batched_axes act as a single parent scene node.
However, when I use it and add a event listener of it, how can I get the selected child axes, an axes in the add_batched_axes? It seems that the event is listening the parent scene node, and no selected child axes index return.
The text was updated successfully, but these errors were encountered: