2

Is there way to convert three.hs as U3D to 3D pdf?

I want to export assembly I have as three.js to 3d pdf based on tree structure (children of children).

Is it possible?

Something opposite to Convert Adobe 3D-pdf to WebGL?

gman
  • 100,619
  • 31
  • 269
  • 393
zelenooq
  • 137
  • 1
  • 1
  • 10
  • There are not so many [exporters](https://threejs.org/examples/?q=exporter) in Three.js. – prisoner849 Feb 06 '18 at 20:27
  • I'm not aware of any PDF library tools that are both free and directly support 3D. Also, I misunderstood what you have to start with. If you do not already have a U3D file or cannot create one, you will not be able to add it to a PDF. – joelgeraci Feb 07 '18 at 16:29

1 Answers1

2

We have lately done some experiments ObjExporter (amended to also export the container colors). By the same method you can also import STL Files, but then we have not found a way to transfer the colors.

The obj/stl file are then transformed to U3D files with Meshlab.

These U3D files then can be transformed with miktex/latex into 3D pdfs(see here). The system also can run on a server with some batch script.

hsc
  • 356
  • 2
  • 16
  • but arn't there some problems with textures? – zelenooq Jul 02 '18 at 10:27
  • The 3D (stl, obj) purely export the geometry. As you can see in this post ( https://blender.stackexchange.com/a/47950) for the colors and textures you would have to create an mtl (+ export the texture files) file in connection with the obj file, which is normally not done by the OBJExporter, therefore you would have to amend it in that respect. – hsc Jul 04 '18 at 05:07
  • Link is broken. – foobarbecue Apr 01 '19 at 17:13
  • I have followed the steps given in the link provided . I've reached to a certain place but I'm facing issue with this line == {\linewidth}{\linewidth}{dissabbiatore_meshlab.u3d}\\ . Any solution for this . any help would be greatly appreciated – Alok Walunj Jan 16 '23 at 15:33
  • @AlokWalunj May I ask what the corresponding error message of the TEX compiler is? – hsc Jan 17 '23 at 19:52
  • Thank you for all the steps you've provided for U3D pdf . First I've exported the 3D object to JLB format so I was able to export the 3D object with color. but, I was not able to get the color of the 3D object when exported from JLB to U3D pdf . any suggestions, any help would be greatly appreciated. – Alok Walunj Jan 24 '23 at 06:24