Operating system: Windows 10
Slicer version: 4.11
Expected behavior:
Actual behavior:
I got two requests today from one of the cardiologists.
One was if I can cut the heart into two halves and then keep them both into display monitor as on top of each other. This way when we print those models we can have two halves. Question: When i cut using scissor, that part is gone and i am left with remaining part. How to fix that.
Second question was if I can export 3D files to be viewed in PDF (it’s a kind of 3d PDF viewer, where you can zoom, rotate and pan models: He showed me an example from 3D matic PDF: I think it’s MIMICS software.
There are so many alternatives to view 3D models that I’m not sure if PDF3D is worth the trouble (PDF3D is not easy to create and it is not usable for anything else than viewing in a PDF viewer - no 3D printable, not editable, not importable to any software).
There are many STL and OBJ viewers on all platforms.
You can save STL and OBJ files in Word documents and Powerpoint slides and you can view/rotate them around.
If sometimes you do need PDF3D then you can use a converter such as https://www.pdf3d.com/
If many users requested direct 3D PDF export then we could add u3d file export to Slicer, which can be embedded into PDF documents (for developers: u3d library, more info).
Thanks Andras.
Also when I export files as OBJ or STL, they lose their colour as well as all the labels. Is their way the label remains as then it is easy to view by others.
There is no standard way of storing color in STL (some software use some workarounds that we could easily adopt, but this has not been a commonly requested feature).
We are working with OpenAnatomy people to define an open, standard format for storing annotated models and add support for that in Slicer. We expect to have exporter/importer in Slicer in a couple of months. There is already an OpenAnatomy web viewer (see their website).
I still don’t understand the need for PDF3D. It is an old format that essentially failed (did not become popular). It is not easy to create and it is not usable for anything else than viewing in a PDF viewer - not 3D printable, not editable, not importable into any software. Is there any platform or environment or application where PDF3D is better than other widely used mesh formats?
In my particular case, it´s to generate reports to share. PDF viewer is something almost everyone have in every digital device under any OS. That´s the only porpose, but if you say PDF 3D view doesn´t work properly…
Thanks.
PDF3D works, it has just become largely irrrelevant.
You can drop 3D models in standard file format (STL, OBJ, …) into Word or PowerPoint. Anybody can open the file and rotate the model around.
Web browsers on your PC, tablet, phone, etc. have become so powerful that you don’t need apps for displaying objects in standard 3D file formats. There are lots of online viewers that just needs a URL of your model file and they can show it in your browser.
How to export a model from Slicer and create a link for viewing it in a web browser:
Export segmentation to OBJ format using OpenAnatomy Exporter module (provided by SlicerOpenAnatomy extension)
put them in a folder that has the same name as the .obj file and zip it
I’ve added an “Image export” section in OpenAnatomy Exporter module (in SlicerOpenAnatomy). It’ll be available in tomorrow’s Slicer Preview Release.
Until then, you can export by typing this into the Python interactor (replace node name and output location):
Development and licensing cost of a custom software implementation would cost several thousands of dollars, so if you really must create PDF3D files then it is much less expensive and less risky to buy a converter that can create PDF3D file from common mesh file formats that Slicer can write.
Thanks for the answers. The great part of 3D PDF is the file size. 5MB is enough to share a complete exam. We can send it from whatsapp and open on the cellphone. Does anyone have a similar simple tool?
The whole topic is about describing various alternatives. They are all slightly different than the workflow that you described but they have many advantages over 3D pdf. For example: the pdf viewer cannot display 3D volumes as your browser can do - see above. The PDF viewer can display meshes, but how would you go about 3D printing or editing that mesh?
If you describe your overall goal, what kind of data to share (image, mesh, segmentation, etc), for what purpose (e.g., quality check before 3D printing, verification of implant size and placement, etc.) then we can think about a much better solution than the dead end 3D PDF.