Convert a 3d file to PDF with code
Copy link to clipboard
Copied
Hello,
I would like to create a program which converts 3d files to PDF 3D.
I am really flexible. It can be with any version of Adobe Acrobat program, and in any language.
The point is that I wouldn't need to open the 3d file with the Adobe Acrobat Reader, and save it as PDF.
All has to be Automatically!
Thank you!!!
Copy link to clipboard
Copied
Copy link to clipboard
Copied
I forgot to mention that it has to be free
Copy link to clipboard
Copied
You won't find anything that is worth using for free.
J-
Copy link to clipboard
Copied
I've managed to open a 3d file with Adobe Acrobat Reader using my program.
However, it only opens it, and doesn't convert it nor save it as a PDF file.
Is there any command that I can write, which saves a file as PDF?
Copy link to clipboard
Copied
If you want to save a 3D PDF you have to have Adobe Acrobat Pro DC.
It take a little work but is not that hard to do.
Copy link to clipboard
Copied
Thanks, but this guide shows how to do it manually, not automatically by a script.
Copy link to clipboard
Copied
Try out Meshlab. Save your file as an supported meshlab-file. And export it as u3D.
There is a bug concerning the IDTFConverter.exe. But you can fix it. Search the meshlab-Forum for IDTFConverter.exe.
Works fine, save money.
Copy link to clipboard
Copied
Thank you!
Is it possible to run Meshlab's converting abilities with a script behind the scenes?
And after I convert the model to U3D, how do I add it automatically to a PDF file?
Copy link to clipboard
Copied
"It can be with any version of Adobe Acrobat program, and in any language."
Acrobat 9 Pro Extended was able to convert 3D models to 3D PDF and there was a C++ SDK for doing that.
Tetra 4D sells updated version of the same converters, they were unbundled from Acrobat after ver. 9.
"I forgot to mention that it has to be free."
You may try DAZ 3D Studio, it can convert OBJ into U3D, that is one of the internal 3D PDF formats.
An U3D file can be included into PDF with any modern Acrobat (see BP72 link), since no conversion is required in this case.
If you feel really masochistic and want to implement yourself a completely FOSS solution without misusing MeshLab, I can dig up my unfinished effort to add 3D PDF export to AssImp.
Copy link to clipboard
Copied
"An U3D file can be included into PDF with any modern Acrobat (see BP72 link), since no conversion is required in this case."
What is BP72?
How can I import in to a PDF file a U3D model automatically, without needing to open the PDF file.
"If you feel really masochistic and want to implement yourself a completely FOSS solution without misusing MeshLab, I can dig up my unfinished effort to add 3D PDF export to AssImp."
Will I be able to run the 3D PDF export service with a script?
I guess I am a masochist...
I've developed some functions over the PDF javascript platform, that are executed with buttons.
Right now my need is a program which imports a 3d file (which is created by 3ds Max ) to a specific PDF file with a specific template, that performs Hide and Show actions on the model according to it's objects' names. It mustn't be manually.
So I don't think there is free program that does that. That's why I need to do it myself using javascript in Adobe PDF files.
Copy link to clipboard
Copied
I think the first question should be "What format file are you trying to convert to 3D PDF?" There are various ways to create a 3D PDF, but whether it requires buying an app or can be done for free depends on the source format. If you let us know the original 3D format, myself or someone else may be able to suggest a valid free workflow.
Copy link to clipboard
Copied
I am pretty flexible as long it can contain hierarchy and can be exported from 3ds Max.
Right now I am using obj files.

