Skip to content
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

[Tracker] Prune w/blroots #8

Open
6 tasks
so-rose opened this issue Feb 23, 2025 · 0 comments
Open
6 tasks

[Tracker] Prune w/blroots #8

so-rose opened this issue Feb 23, 2025 · 0 comments
Labels
architecture Related to big-picture internal design of the project. enhancement A smaller piece of new functionality, strongly related to existing features. tracker Aggregating tracking for other Issues. upstream Related to an upstream repository.
Milestone

Comments

@so-rose
Copy link
Collaborator

so-rose commented Feb 23, 2025

To keep sane, I'm making a library that simplifies and modularizes many of the repetitive things I've done over the past 60,000-or-so lines of Blender addon code (so far the library is only available at https://git.sofus.io/so-rose/blroots). It will soon have an initial alpha release, and the plan is to let bpy_jupyter be the first "real" test-bunny for this.

Why is this good for bpy_jupyter? In short, extreme simplifications for more expressive logic. In particular, all the non-special things about bpy_jupyter as a Blender extension are planned to be mindfully pruned.

This Issue tracks the implementation of this refactor, which will extend over the following specific changes:

  • bpy_jupyter.utils.*: Removed entirely; everything is integrated in blroots.
  • bpy_jupyter.registration: Removed; integrated in blroots.
  • bpy_jupyter.services.init_settings: Removed; integrated in blroots.
  • bpy_jupyter.contracts.*: Contracted down to a single file containing OperatorType and PanelType; the rest is integrated in blroots.
  • bpy_jupyter.__init__: Contracted greatly, due to sensible standardization of registration pipeline.
  • bpy_jupyter.preferences: The property descriptors from blroots.bl_prop contract this greatly.

What's left? Ideally, "thin logic" around what actually matters: The service and UI that helps one run a Jupyter notebook kernel in Blender.

@so-rose so-rose added architecture Related to big-picture internal design of the project. enhancement A smaller piece of new functionality, strongly related to existing features. upstream Related to an upstream repository. labels Feb 23, 2025
@so-rose so-rose added this to the 0.3.0 milestone Feb 23, 2025
@so-rose so-rose added the tracker Aggregating tracking for other Issues. label Feb 23, 2025
@so-rose so-rose changed the title Refactor w/blroots [Tracker] Prune w/blroots Feb 23, 2025
@so-rose so-rose pinned this issue Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture Related to big-picture internal design of the project. enhancement A smaller piece of new functionality, strongly related to existing features. tracker Aggregating tracking for other Issues. upstream Related to an upstream repository.
Projects
None yet
Development

No branches or pull requests

1 participant