Merge pull request #4 from OmooLab/feature/dev

Feature/dev
This commit is contained in:
Ma Nan
2024-04-22 22:39:16 +08:00
committed by GitHub
10 changed files with 10 additions and 6 deletions

View File

@@ -2,6 +2,11 @@
# Bioxel Nodes (Blender Add-on)
![Static Badge](https://img.shields.io/badge/Blender-orange?style=for-the-badge&logo=blender&logoColor=white)
![GitHub License](https://img.shields.io/github/license/OmooLab/BioxelNodes?style=for-the-badge)
![GitHub Release](https://img.shields.io/github/v/release/OmooLab/BioxelNodes?style=for-the-badge)
![GitHub Repo stars](https://img.shields.io/github/stars/OmooLab/BioxelNodes?style=for-the-badge)
Bioxel Nodes is a Blender add-on for scientific volumetric data visualization. It using Blender's powerful Geometry Nodes | Cycles to process and render volumetric data.
Before us, there have been many tutorials and add-ons for importing volumetric data into Blender. However, we found that there were many details that were not addressed in place, some scientific facts were ignored, and the volume rendering was not pretty enough. With Bioxel Nodes, you can easily import the volumetric data into Blender, and more importantly, it can quickly make a beautiful realistic rendering of it.

View File

@@ -1 +0,0 @@
from .node_menu import CustomNodes

View File

@@ -0,0 +1 @@
from .menu import CustomNodes

View File

@@ -1,6 +1,6 @@
from pathlib import Path
from .custom_nodes import CustomNodes
from .customnodes import CustomNodes
import bpy

View File

@@ -1,23 +1,22 @@
import bpy
from pathlib import Path
from .external_package import ExternalPackagePreferences
from .externalpackage import ExternalPackagePreferences
class BioxelNodesPreferences(bpy.types.AddonPreferences, ExternalPackagePreferences):
bl_idname = __package__
cache_dir: bpy.props.StringProperty(
name="Python Log Directory",
subtype='DIR_PATH',
default=Path(Path.home(), '.bioxelnodes').as_posix()
) # type: ignore
def draw(self, context):
layout = self.layout
layout.label(text="Configuration")
layout.prop(self, 'cache_dir', text='Set Cache Directory')
# ExternalPackagePreferences Config
self.requirements_dir = Path(__file__).parent.as_posix()
super().draw(context)