3D Slicer linked to Blender

I want to know how to make 3dslicer and blender connect and interact in real time. For example: if I drag any view in 3dslicer, the three view planes in blender will also move accordingly. The model in blender can also be synchronized to 3dslicer.
I’m a novice and my English is not very good. Hope to get an answer. Thanks

1 Like

See this topic for some work on this:

How do you know envision using Blender with Slicer? For what purpose? What features of Blender you miss when you work in Slicer?

1 Like

Thank you for your reply. I recently came to know that blender and 3dslicer can be used together. I am an engineering major, and I have a good understanding of industrial 3D software and medical 3D software such as mimics, and I can use them proficiently for creation.
I am currently working in the medical industry, and I can see more possibilities from these two software, 3dslicer’s medical 3D reconstruction and blender’s open creation, which can bring many innovations in dentistry and orthopedics, for example.
I also saw the link you sent about openplan. First of all, his GitHub link is invalid, and I can’t find it (or it may not be opened because of my region). Secondly, there is a GitHub link of linkSlicerBlender in the comment area of this link. I also tried it. There is no related function command button in my blender.
I am focusing on blenderfordental recently, for me, I can use it to do many things, not only the digital design of dental care

It’s great that you are working on this @yun_zou , and I agree there is great potential. In my experience most of the links between Slicer and Blender have been very experimental, and may not have been maintained for easy use so you may need to study closely and fill in some missing pieces. If you can find a way to make the connection robust and easy to use I think a lot of people will benefit. It would be good to pick a specific task and try working through the detail. As suggestion perhaps high quality Blender rendering or animation of models generated in Slicer would be a very useful utility.

I use Blender for animations and print-resolution renderings. Right now my workflow is to segment, create models, export as PLY, import to blender, surface, and render. I’ve thought that the segment → blender step is currently a bottleneck (for me, at least); it would be nice to have some way of passing models easily to Blender.

Just a thought.

SlicerOpenAnatomy extension can export segmentation to files (OBJ or glTF) in bulk, with some additional post-processing, by a single click.

If there are any extras step that you usually perform (reorientation, scaling, coloring, …?) when you export then those could be added to the exporter as optional processing. Even starting Blender and loading the exported models could be an optional step in the end. Blender can accept a Python script that it runs at startup, so if the import is not trivial (it require many clicks) then even that can be fully automated.

You probably only need a sophisticated link if you want real-time updates in Blender (e.g., updating already loaded models or transforms continuously) or you want two-way synchronization between Slicer and Blender. However, there are very few people who are familiar with both Blender and Slicer, so it could be hard to justify the investment into developing and maintaining such a link.

Is there any particular reason for the emphasis on OBJ over PLY? I’ve found OBJ files a lot harder to work with.

the github repo has been updated and made publicly available, enjoy this open source tech and feel free to learn and build upon it
much was learned in the process and I hope it will serve as a good source of knowledge for everyone

1 Like

I agree that PLY file format is better, but more people ask for OBJ. I think it is because OBJ file format is used more commonly for gaming, therefore game engines, such as Unity support it better. People who implement medical applications using gaming engines usually want OBJ.