Skip to content

Conversation

@jf---
Copy link
Contributor

@jf--- jf--- commented Nov 19, 2025

Introduces functionality for handling Frame objects in the notebook environment:

  • Adds a frame_to_threejs method to convert Frame objects to PyThreeJS geometries.
  • Registers Frame objects in the scene rendering pipeline.
  • Updates the geometry notebook and associated tests to include Frame rendering.
  • Comments out unused __all__ definitions to clean up the code.
  • fixed a type typo in line_to_threejs

This enhancement improves visualization capabilities by enabling the rendering of frames with distinct axes in 3D scenes.

Introduces functionality to visualize frames as 3D objects in the Notebook Viewer.

- Adds a `frame_to_threejs` conversion utility for transforming frames into PyThreeJS objects.
- Implements `ThreeFrameObject` for rendering frames in scenes, with axes visualized in red, green, and blue.
- Updates the registration process to include frame objects in the Notebook Viewer.
- Enhances the example notebook to demonstrate frame rendering capabilities.
- Fixes a type annotation issue in `line_to_threejs` and improves the `draw` method's return type annotations for consistency.

These changes enhance the visualization capabilities of the Notebook Viewer and improve type safety in the codebase.
@jf---
Copy link
Contributor Author

jf--- commented Dec 3, 2025

superseded by #5

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