-
Notifications
You must be signed in to change notification settings - Fork 4
coverage for all compas primitives #6
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
Conversation
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.
`%pip install -q compas_notebook` is problematic when working in dev mode and conflicts with `pip install -e .`
…ives - converters use angular resolution for circles/ellipses - vector rendered as arrow with cone head - plane shown as grid - curve/surface discretization (requires nurbs plugin for creation)
spherical and cylindrical surfaces work without plugin
|
@tomvanmele this supercedes PR #4 let me close that one |
tomvanmele
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
generally looks good. just a few notes...
|
@jf--- the removal of the all block triggers the ruff linter, and you will have to add an entry in the changelog for the checks to pass :) |
|
thx for the review @tomvanmele really cool let me get back to you |
|
@tomvanmele seems in pretty good shape now |
|
it really encourages bugs, since its so misaligned with did I mention I dislike it 😈🧐😜 can I suggest in |
|
the as for the PR. how about that? |
Removed unused imports for various scene object types.
|
green amazing thx @tomvanmele |
|
@jf--- should i cut a new release? |
|
yeah why not that's a nice idea... |


Summary
%pip install -q compas_notebookcell conflicting with dev mode (pip install -e .)Changes