Skip to content

feat: XR viewer#18

Merged
iisakkirotko merged 6 commits intomasterfrom
feat-xr-viewer
Jan 29, 2025
Merged

feat: XR viewer#18
iisakkirotko merged 6 commits intomasterfrom
feat-xr-viewer

Conversation

@iisakkirotko
Copy link
Collaborator

@iisakkirotko iisakkirotko commented Jan 15, 2025

One more issue I can think of:

TODO:

  • If data that can't be visualized by the viewer is selected (like dates, strings, etc), the viewer fails and won't recover

@iisakkirotko iisakkirotko force-pushed the feat-xr-viewer branch 2 times, most recently from ea0c141 to d40a3a0 Compare January 16, 2025 10:52
Copy link
Contributor

@maartenbreddels maartenbreddels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's discuss the props/traits comment.
Also, would be good to suggest using ngrok because that might be easier than caddy and does not require you to be on the same network.

def __init__(self, children=[]):
super().__init__(
_type="meshPhongMaterial",
props=dict(color=self.color, opacity=self.opacity, transparent=True),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to add this, we either use the trait, but then we need to also support the setColor on the js side:
https://github.com/widgetti/ipyreact/?tab=readme-ov-file#summary

Or, we

Suggested change
props=dict(color=self.color, opacity=self.opacity, transparent=True),

Co-authored-by: Maarten Breddels <maartenbreddels@gmail.com>
@iisakkirotko iisakkirotko merged commit c8e180f into master Jan 29, 2025
8 checks passed
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.

2 participants

Comments