Closed pbl007 closed 10 months ago
Ah okay, could you try two things?
Scripting
tab after you try to load a tif and please post the error output that's given in the left bottom corner in this thread.Hi Oane, thanks for the quick reply. Here’s the output of the scripting tab:
bpy.ops.object.volume_import(filepath="/Users/pb/Library/CloudStorage/Dropbox/DATA2/FLICS_20231129/blender_volumes/x0y0z0/zstack_1024px_15hz_avg_120_frames_mag_1t_0.vdb", directory="/Users/pb/Library/CloudStorage/Dropbox/DATA2/FLICS_20231129/blender_volumes/x0y0z0", files=[{"name":"zstack_1024px_15hz_avg_120_frames_mag_1t_0.vdb", "name":"zstack_1024px_15hz_avg_120_frames_mag_1t_0.vdb"}], use_sequence_detection=True, align='WORLD', location=(0, 0, 0), scale=(1, 1, 1)) bpy.ops.mesh.primitive_cube_add(enter_editmode=False, align='WORLD', location=(10.24, 10.24, 0), scale=(1, 1, 1)) bpy.ops.object.modifier_add(type='NODES') Python: Traceback (most recent call last): File "/Users/pb/Library/Application Support/Blender/4.0/scripts/addons/tif_loader/ui.py", line 61, in execute load.load_tif(input_file = scn.path_tif, xy_scale=scn.xy_size, z_scale=scn.z_size, axes_order=scn.axes_order) File "/Users/pb/Library/Application Support/Blender/4.0/scripts/addons/tif_loader/load.py", line 181, in load_tif container = init_container(container, volumes, imgdata, tif, xy_scale, z_scale, axes_order, init_scale) File "/Users/pb/Library/Application Support/Blender/4.0/scripts/addons/tif_loader/load.py", line 262, in init_container crosshatch.node_tree = crosshatch_node_group() File "/Users/pb/Library/Application Support/Blender/4.0/scripts/addons/tif_loader/nodes/nodeCrosshatch.py", line 10, in crosshatch_node_group node_group.inputs.new('NodeSocketFloat', "size") AttributeError: 'GeometryNodeTree' object has no attribute 'inputs' bpy.ops.sculpt.sculptmode_toggle() bpy.ops.sculpt.sculptmode_toggle() bpy.context.space_data.context = 'SCENE' bpy.context.scene.xy_size = 1 bpy.ops.object.volume_import(filepath="/Users/pb/Library/CloudStorage/Dropbox/DATA2/FLICS_20231129/blender_volumes/x0y0z0/zstack_1024px_15hz_avg_120_frames_mag_1t_0.vdb", directory="/Users/pb/Library/CloudStorage/Dropbox/DATA2/FLICS_20231129/blender_volumes/x0y0z0", files=[{"name":"zstack_1024px_15hz_avg_120_frames_mag_1t_0.vdb", "name":"zstack_1024px_15hz_avg_120_frames_mag_1t_0.vdb"}], use_sequence_detection=True, align='WORLD', location=(0, 0, 0), scale=(1, 1, 1)) bpy.ops.mesh.primitive_cube_add(enter_editmode=False, align='WORLD', location=(10.24, 10.24, 0), scale=(1, 1, 1)) bpy.ops.object.modifier_add(type='NODES') Python: Traceback (most recent call last): File "/Users/pb/Library/Application Support/Blender/4.0/scripts/addons/tif_loader/ui.py", line 61, in execute load.load_tif(input_file = scn.path_tif, xy_scale=scn.xy_size, z_scale=scn.z_size, axes_order=scn.axes_order) File "/Users/pb/Library/Application Support/Blender/4.0/scripts/addons/tif_loader/load.py", line 181, in load_tif container = init_container(container, volumes, imgdata, tif, xy_scale, z_scale, axes_order, init_scale) File "/Users/pb/Library/Application Support/Blender/4.0/scripts/addons/tif_loader/load.py", line 266, in init_container axes_select.node_tree = axes_multiplexer_node_group() File "/Users/pb/Library/Application Support/Blender/4.0/scripts/addons/tif_loader/nodes/nodesBoolmultiplex.py", line 10, in axes_multiplexer_node_group node_group.inputs.new('NodeSocketBool', "frontface culling (clip axes in front of data)") AttributeError: 'GeometryNodeTree' object has no attribute 'inputs'
On Nov 17, 2023, at 09:42, Oane Gros @.***> wrote:
Ah okay, could you try two things?
— Reply to this email directly, view it on GitHubhttps://github.com/oanegros/tif2blender/issues/28#issuecomment-1815881116, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AALGGKMIHK2CDZFKQGU4PKTYE4IN7AVCNFSM6AAAAAA7OLJUWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJVHA4DCMJRGY. You are receiving this because you authored the thread.Message ID: @.***>
Ah right, I'm currently still working on supporting Blender 4.0! The current version is only compatible with 3.5-3.6 and i will put out a new release for Blender 4.0
On Nov 17, 2023, at 10:10, Oane Gros @.***> wrote:
Ah right, I'm currently still working on supporting Blender 4.0! The current version is only compatible with 3.5-3.6 and i will put out a new release for Blender 4.0
— Reply to this email directly, view it on GitHubhttps://github.com/oanegros/tif2blender/issues/28#issuecomment-1815911251, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AALGGKP2GMSTTVM47LR2QH3YE4LYFAVCNFSM6AAAAAA7OLJUWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJVHEYTCMRVGE. You are receiving this because you authored the thread.Message ID: @.***>
Hi. Just trying out to load some in vivo data from two photon microscopy (lower SNR than exM etc). The volume loads (zxy) but no nodes are visible in the shading or geometry editors (screenshot attached). Any clues? Thanks! P. ![Uploading tiff2blender_issue.png…]()