docs: v0.2.0 docs
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -156,8 +156,13 @@ class ImportVolumeDataDialog(bpy.types.Operator):
|
||||
subtype="FILE_PATH"
|
||||
) # type: ignore
|
||||
|
||||
container_name: bpy.props.StringProperty() # type: ignore
|
||||
layer_name: bpy.props.StringProperty() # type: ignore
|
||||
container_name: bpy.props.StringProperty(
|
||||
name="Container Name"
|
||||
) # type: ignore
|
||||
|
||||
layer_name: bpy.props.StringProperty(
|
||||
name="Layer Name",
|
||||
) # type: ignore
|
||||
|
||||
series_id: bpy.props.StringProperty() # type: ignore
|
||||
|
||||
@@ -535,7 +540,7 @@ class ImportVolumeDataDialog(bpy.types.Operator):
|
||||
return {'FINISHED'}
|
||||
|
||||
def invoke(self, context, event):
|
||||
context.window_manager.invoke_props_dialog(self, width=400)
|
||||
context.window_manager.invoke_props_dialog(self, width=500)
|
||||
return {'RUNNING_MODAL'}
|
||||
|
||||
def draw(self, context):
|
||||
|
||||
@@ -133,26 +133,26 @@ if bpy.app.version >= (4, 1, 0):
|
||||
]
|
||||
},
|
||||
{
|
||||
'label': 'Slicers',
|
||||
'label': 'Cutters',
|
||||
'icon': 'MOD_BEVEL',
|
||||
'items': [
|
||||
{
|
||||
'label': 'Apply Slicers',
|
||||
'label': 'Cut',
|
||||
'icon': 'MOD_BEVEL',
|
||||
'node_type': 'BioxelNodes_ApplySlicers',
|
||||
'node_type': 'BioxelNodes_Cut',
|
||||
'node_description': ''
|
||||
},
|
||||
"separator",
|
||||
{
|
||||
'label': 'Plane Slicer',
|
||||
'label': 'Plane Cutter',
|
||||
'icon': 'MOD_LATTICE',
|
||||
'node_type': 'BioxelNodes_PlaneSlicer',
|
||||
'node_type': 'BioxelNodes_PlaneCutter',
|
||||
'node_description': '',
|
||||
},
|
||||
{
|
||||
'label': 'Object Plane Slicer',
|
||||
'label': 'Plane Object Cutter',
|
||||
'icon': 'OUTLINER_OB_LATTICE',
|
||||
'node_type': 'BioxelNodes_ObjectPlaneSlicer',
|
||||
'node_type': 'BioxelNodes_PlaneObjectCutter',
|
||||
'node_description': '',
|
||||
}
|
||||
]
|
||||
@@ -282,26 +282,26 @@ else:
|
||||
]
|
||||
},
|
||||
{
|
||||
'label': 'Slicers',
|
||||
'label': 'Cutters',
|
||||
'icon': 'MOD_BEVEL',
|
||||
'items': [
|
||||
{
|
||||
'label': 'Apply Slicers',
|
||||
'label': 'Apply Cutters',
|
||||
'icon': 'MOD_BEVEL',
|
||||
'node_type': 'BioxelNodes_ApplySlicers',
|
||||
'node_type': 'BioxelNodes_ApplyCutters',
|
||||
'node_description': ''
|
||||
},
|
||||
"separator",
|
||||
{
|
||||
'label': 'Plane Slicer',
|
||||
'label': 'Plane Cutter',
|
||||
'icon': 'MOD_LATTICE',
|
||||
'node_type': 'BioxelNodes_PlaneSlicer',
|
||||
'node_type': 'BioxelNodes_PlaneCutter',
|
||||
'node_description': '',
|
||||
},
|
||||
{
|
||||
'label': 'Object Plane Slicer',
|
||||
'label': 'Plane Object Cutter',
|
||||
'icon': 'OUTLINER_OB_LATTICE',
|
||||
'node_type': 'BioxelNodes_ObjectPlaneSlicer',
|
||||
'node_type': 'BioxelNodes_PlaneObjectCutter',
|
||||
'node_description': '',
|
||||
}
|
||||
]
|
||||
|
||||
@@ -92,14 +92,14 @@ def hide_in_ray(obj):
|
||||
def get_container(current_obj):
|
||||
if current_obj:
|
||||
return current_obj if current_obj.get('bioxel_container') else None
|
||||
else:
|
||||
return None
|
||||
return None
|
||||
|
||||
|
||||
def get_layer(current_obj):
|
||||
if current_obj.get('bioxel_layer') and current_obj.parent:
|
||||
if current_obj.parent.get('bioxel_container'):
|
||||
return current_obj
|
||||
if current_obj:
|
||||
if current_obj.get('bioxel_layer') and current_obj.parent:
|
||||
if current_obj.parent.get('bioxel_container'):
|
||||
return current_obj
|
||||
return None
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user