包含功能性 3D pdf 文件

包含功能性 3D pdf 文件

我有一个 3D pdf 文件 (.pdf),我想将其包含在附录中(图 5)。使用 Adob​​e Reader 单独打开文件时,可以放大对象、旋转对象等。如果可能的话,我希望在最终 pdf 文件的附录中也能实现同样的功能。

我使用“Agisoft PhotoScan”软件​​制作了模型。在下面的代码中,我从他们的页面()中包含了一个类似的免费下载模型“sample01.pdf”。http://www.agisoft.com/forum/index.php?topic=191.0)。无广告意图,仅传达尽可能多的信息。

当我尝试将文件作为 pdf 包含时,页面无法正确显示模型:它是空白的,只有下面的软件签名(第 3 页)。我尝试了几种方法,但目前为止我找到的最佳方法是附录 B 中的“\attachfile{} 解决方案”。

此外,pdf 文件跳过了一页,如图所示(第 2-3 页)。这是我的第二优先关注的问题,但修复起来也很好。有人能帮忙吗?有可能吗,还是我必须以某种方式将单独的 3D pdf 文件与我的 latex 编译的 pdf 合并?非常感谢您的帮助 :)

\documentclass[a4paper,12pt,twoside]{book}
\usepackage[utf8]{inputenc} 
\usepackage{lipsum}
\usepackage[final]{pdfpages}
\usepackage{attachfile}

\begin{document}
\chapter{Introduction}
\lipsum[1]

\appendix
\let\cleardoublepage\clearpage %Remove blank page betwenen chap1 and Appx.A
\chapter{3D pdf file}
\includepdf{sample01.pdf}

\let\cleardoublepage\clearpage %Remove blank page between Appx.A and Appx.B
\chapter{Enclosed 3D pdf file}
I manage to attach the file with a pin which opens the file seperately in Adobe Reader: \attachfile{sample01.pdf} \\
However, I would rather integrate the file in Appendix A if possible.

\end{document}

在此处输入图片描述 在此处输入图片描述 在此处输入图片描述 在此处输入图片描述

我尝试在示例代码中包含以下 pdf 文件: 在此处输入图片描述

答案1

您需要嵌入原始 PRC 或 U3D 文件sample01.pdf,然后使用该包将其嵌入到您的文档中media9。提取 3D PRC 文件的说明如下:https://tex.stackexchange.com/a/52090。如果是U3D,只需在说明步骤中将PRC替换为U3D即可。

相关内容