3D打印新冲击:3MF格式
三维模型的通用格式

三维模型的通用格式
以下是一些常见的三维模型通用格式:
1. STL(Stereolithography):这是一种用于快速原型制造和3D 打印的常见格式。
STL 格式描述了三维模型的三角面片几何形状。
2. OBJ(Object):OBJ 是一种广泛使用的三维模型格式,支持几何、纹理和材质信息。
它在许多3D 软件中被广泛支持。
3. FBX(Filmbox):FBX 是一种通用的三维模型交换格式,支持多种三维应用程序之间的模型导入和导出。
它常用于游戏开发和动画制作。
4. 3DS(3D Studio):3DS 是一种早期的三维模型格式,由3D Studio 软件使用。
它包含了模型的几何、纹理和动画信息。
5. DAE(Collada):DAE 是一种开放的三维模型格式,用于在不同的3D 应用程序之间交换模型数据。
它支持几何、动画、材质和纹理。
6. glTF(Graphics Language Transmission Format):glTF 是一种新兴的跨平台三维模型格式,旨在提供高效、简洁和可扩展的模型表示。
7. USD(Universal Scene Description):USD 是一种由Pixar 开发的开放标准三维模型格式,用于在不同的应用程序和团队之间共享和协作。
8. BLEND:BLEND 是Blender 软件使用的原生格式,它可以保存模型、纹理、动画和场景信息。
3D打印技术中常见的文件格式

3D打印技术中常见的文件格式在现代技术的快速发展下,3D打印技术已经逐渐成为一种重要的制造方式。
它能够通过逐层堆积材料来建立物体的三维结构,为各行各业提供了全新的创作和生产方式。
然而,要将对象成功地转化为具体的实体,需要采用适当的文件格式。
在本文中,我将介绍三种常见的3D打印文件格式,包括STL、OBJ和AMF,以及它们各自的特点和用途。
首先,STL(Standard Tessellation Language)是最常见的3D打印文件格式之一。
它是一种简单而有效的格式,广泛应用于从个人爱好者到专业制造商的各个领域。
STL文件使用三角形面片来描述物体的外表面。
这意味着物体的形状将被离散化并近似成一系列小三角面片。
由于其简单性,STL文件格式易于生成和编辑,并且可以与绝大多数3D打印机兼容。
然而,STL文件没有存储信息的能力,因此无法表达颜色、纹理或其他更复杂的几何特征。
其次,OBJ(Wavefront OBJ)是另一种常见的3D打印文件格式。
与STL相比,OBJ格式具有更多的功能和灵活性。
除了含有三角形面片,OBJ文件还可以包含顶点、法线、纹理坐标等一系列附加信息。
这使得OBJ文件更适合存储和传输复杂的物体几何属性。
OBJ格式通常用于数字艺术、建筑设计和影视制作等领域,因为它能够完整地保存对象的形状、纹理和材质信息。
然而,由于OBJ文件的复杂性,一些3D打印机可能无法直接读取它们,因此在使用之前可能需要将其转换为其他格式。
最后,AMF(Additive Manufacturing File)是一种相对较新的3D打印文件格式。
与STL和OBJ不同,AMF文件被设计用于完全表达3D打印过程中的所有信息和属性。
它可以捕捉到物体的形状、颜色、纹理、材质、密度等多个方面。
此外,AMF文件还可以包含构建支撑结构、打印参数等其他相关信息。
这种全面的文件格式使得AMF在工业级3D打印和生产领域中得到广泛应用。
不过,由于AMF格式的复杂性,它并不被所有3D打印机所支持。
熔融堆积式3d打印原理

熔融堆积式3d打印原理熔融堆积式3D打印(Fused Deposition Modeling, FDM),是一种常见的3D打印技术,是通过将液态热塑性材料加热到其熔点以上,然后挤出到模型上来建立模型的过程。
本文将详细介绍熔融堆积式3D打印的原理。
熔融堆积式3D打印是一种逐层逐行制造三维物品的工艺,其分为三个基本步骤:1)准备设计好的CAD模型;2)将模型转换成3D打印机可以理解的格式;3)通过熔融堆积式3D打印机将CAD模型变成物理实体。
(1)热塑性材料的运用在熔融堆积式3D打印过程中,需要使用合适的热塑性材料。
这些材料在高温下具有流动性,同时也具有良好的机械性能。
此外,这些材料也应该具有一定的黏度和流动特性,这样他们才能够在3D打印机中成功地挤出。
在3D打印机的喷嘴中,捣料料片通过热拔伸,得以挤出并在模型表面上沉积。
(2)喷嘴模组的运用喷嘴模组负责将热塑性材料从料仓中取出,然后通过加热和挤压,将其从尖端喷出,一步步地建立模型形状。
当热塑性材料挤出喷嘴的时候,它还必须从喷嘴尖端进入3D打印机的建模区域。
在这一过程中,喷嘴模组可以根据计算机项目来控制挤料速度、喷嘴的方向和位置,以确保材料正确地沉积在模型上。
(3)模型设计与建模模型设计与建模是熔融堆积式3D打印过程中最关键的一环。
在这一过程中,需要通过计算机辅助设计(CAD)软件创建3D模型。
在3D模型设计完成后,需要将其导出成STL,OBJ或3MF文件格式。
这是由于3D打印机不能直接打印CAD文件。
相反,需要将其转换成一种标准格式,以便3D打印机能够识别和处理。
(4)模型输出与加工模型输出与加工是熔融堆积式3D打印的最后一步。
一旦3D模型被创建,必须将其传输到3D打印机中进行处理。
在此期间,计算机输入要指定打印机使用的参数,并检查3D打印机的状态以确保一切正常运作。
一旦所有参数设置完成并确认无误,熔融堆积式3D打印机将自动开始建造模型。
熔融堆积式3D打印技术最大的优势在于能够实现快速的原型制作和定制化生产。
Ultimaker S5 安装和使用手册说明书

Ultimaker S5安装和使用手册原始手册 v1.820182免责声明请仔细阅读并理解本安装和使用手册的内容。
如果未阅读本手册,可能会导致人身伤害、打印效果低劣或 Ultimaker S5 受损。
务必确保使用本 3D 打印机的所有人都知道并理解本手册的内容,以便能够充分利用 Ultimaker S5。
由于设备的装配、搬运、存放、使用或处置*条件或方法不受我们控制,也可能不在我们的知晓范围内 因此对于因装配、搬运、存放、使用或处置本产品*产生的,或以任何方式与之相关的损失、人身伤害、设备损坏或费用,我们概不负责,并明确否定此类责任。
本文档中的信息来自于可靠的来源。
但是,这些信息在准确性方面并没有任何明示或隐含的保证。
Ultimaker S5 的预期用途Ultimaker 3D 打印机专为利用 Ultimaker 材料实现熔丝制造而设计和建造,用于商业/业务环境。
Ultimaker 3D 打印机集精确性和速度于一体,是制作概念模型、功能样件和进行小规模生产的理想机器。
虽然我们在使用 Ultimaker Cura 打印 3D 模型方面已经达到很高标准,但用户依然有责任确认并验证打印对象的应用是否符合预期用途,对于严格管制领域(医疗器械和航空)的应用,这一点尤为重要。
虽然Ultimaker采用开放式材料平台,但 Ultimaker 材料匹配打印机能够取得最佳打印效果,并且,我们已努力确保材料属性与机器设置匹配。
* 我们遵循 WEEE 指令。
版权所有 © 2018 Ultimaker。
全球范围内保留所有权利。
本语言版本的手册由制造商验证(原始手册)。
未经 Ultimaker 事先书面许可,本手册的任何部分,包括图片,都不得以打印、复印、微缩拍摄或任何其他方式复制和/或公布。
免责声明 2前言 4认证 5安全与合规 61.1 安全信息 71.2 危险 8简介 92.1 Ultimaker S5 的主要组件 102.2 规格 11拆箱 123.1 拆箱 133.2 安装硬件配件 15首次使用设置 174.1 打印平台板选择 184.2 PrintCore 安装 194.3 装填材料 204.4 网络安装和固件更新 224.5 安装 Ultimaker Cura 23操作 245.1 触摸屏 255.2 材料 265.3 利用 Ultimaker Cura 准备打印成品 285.4 开始打印 305.5 取下打印成品 325.6 卸下支撑材料 335.7 更改打印机配置 355.8 校准 36维护 396.1 更新固件 406.2 材料搬运和存放 416.3 维护计划 426.4 清洁打印机 436.5 轴润滑 476.6 检查轴隙 486.7 检查短皮带的张力 496.8 检查打印头前风扇中是否有残渣 506.9 检查喷嘴盖的质量 516.10 润滑 Z 电机的导向螺丝 536.11 清洁进料装置 546.12 清洁 PrintCore 556.13 润滑进料装置齿轮 586.14 更换鲍登管 596.15 清洁系统风扇 616.16 润滑铰链 62故障排除 637.1 错误消息 647.2 PrintCore 故障排除 657.3 打印质量问题 66本文档是 Ultimaker S5 的安装和使用手册。
三维模型格式种类介绍

三维模型格式种类介绍三维模型是计算机图形学和计算机辅助设计(CAD)中的重要组成部分。
有许多不同的三维模型文件格式,每种格式都有其自己的特点和用途。
以下是一些常见的三维模型文件格式:1. STL(Stereolithography):- STL 是一种简单的三角面片表示法,广泛用于3D打印和计算机辅助设计(CAD)领域。
它可以表示表面几何信息,但不包含颜色、纹理等其他属性。
2. OBJ(Wavefront .obj):-OBJ 格式是一种广泛用于三维建模软件之间交换数据的文本文件格式。
它支持几何形状、纹理、材质和光照等信息。
3. FBX(Autodesk Filmbox):-FBX 是一种由Autodesk开发的二进制文件格式,支持包括几何、动画、材质等在内的多种信息。
它常用于在不同的3D建模和动画软件之间进行数据交换。
4. Collada(.dae):- Collada 是一种开放的、XML基础的文件格式,支持包括几何、动画、材质、相机和灯光在内的多种信息。
它通常用于在不同应用程序之间传递3D数据。
5. PLY(Polygon File Format):- PLY 是一种灵活的文件格式,可以存储几何和颜色信息。
它支持点、线和多边形,并允许用户自定义属性。
6. 3DS(3D Studio):-3DS 是Autodesk 3ds Max软件使用的文件格式,支持几何、材质、灯光等信息。
它是一种二进制格式。
7. DXF(Drawing Exchange Format):- DXF 是一种由Autodesk开发的文件格式,最初设计用于在AutoCAD之间交换绘图数据。
它支持2D和3D数据。
8. AMF(Additive Manufacturing File Format):- AMF 是一种用于描述增材制造(如3D打印)数据的格式。
它可以包含几何、颜色和材料信息。
这只是一小部分三维模型文件格式,每种格式都有其优势和适用场景。
如何选择适合3D打印的模型文件格式

如何选择适合3D打印的模型文件格式随着3D打印技术的普及和应用范围的扩大,选择适合3D打印的模型文件格式变得越来越重要。
不同的模型文件格式在3D打印过程中可能会遇到不同的问题,因此正确选择适合的文件格式可以提高打印效果、加速打印速度并减少错误。
在选择适合3D打印的模型文件格式时,以下几个因素需要考虑:1. 文件格式的兼容性:在选择文件格式时,首先要考虑3D打印机支持的文件格式。
常见的3D打印机支持的文件格式包括STL、OBJ、AMF、STEP等。
STL是最常见的3D打印文件格式,几乎所有3D打印机都支持该格式,因此在大多数情况下都可以选择STL格式。
然而,一些高级的3D打印机也支持其他格式,如OBJ和AMF,这些格式可以提供更多的功能和更高的精度。
2. 文件格式的精度和细节:不同的文件格式对于模型的精度和细节有不同的要求。
STL格式是最简单的3D打印文件格式,它将模型分解为许多小的三角形面片。
由于其简单性,STL格式在处理精度和细节方面可能存在一些限制,较小或复杂的细节可能无法被准确地表示。
因此,在需要打印高精度和细节模型时,可以选择其他格式,如OBJ和AMF。
这些格式可以更准确地表示曲面、颜色和纹理等细节。
3. 文件大小和打印速度:文件的大小直接影响打印速度。
通常情况下,文件越大,打印所需的时间就越长。
因此,在选择文件格式时,应该考虑文件的大小。
STL格式是一种比较简单和紧凑的格式,因此它的文件大小相对较小,打印速度相对较快。
相比之下,OBJ和AMF格式通常会生成相对较大的文件,因此可能需要更长的打印时间。
因此,在需要打印大型模型时,可以选择STL格式以提高打印速度和效率。
4. 模型编辑和修复的可行性:在选择适合的文件格式时,还要考虑模型编辑和修复的可行性。
一些文件格式可能不太容易编辑或修复,而另一些文件格式可能提供更多的编辑和修复选项。
例如,STL格式是一种最简单的文件格式,相对不太容易编辑和修复。
《3D打印技术及应用》课件——第七章 文创产品3D打印

e. 待前置button由红色闪 烁状态变成绿色常亮状态, 开机完成;
连接打印机
a. 将USB线一端连接到打印 机机身背面的USB接口中;
连接打印机
b. 将USB线另一端连接到电 脑USB接口中,上位机将通过 USB线识别到打印机;(对应 您的打印机型号)
03 树脂打印流程
17
打印完成
打印完成 >> 打印完成后,待托盘上树脂滴落彻底,取下托盘。
21
二次固话
>> 使用波长412nm的紫外灯进行照射三分钟即可。
22
04 作品展示
23
>> 作品展示
演示完毕 感谢观看
02 机器介绍
7
一、slash plus 机器参数
项目 产品型号 成型原理 打印尺寸 成型精度 分层厚度 打印材料 打印速度 树脂液位控制 打印适用格式
技术参数 Slash plus LCD 光固化成型 192 × 120 ×200mm ±10μm 10, 25, 50, 75, 100, 150, 200, 300μm 可调节 光敏树脂 200mm/hr 自动液位控制 STL obj 3mf amf uniz
18
模型拆卸
将薄片状铲刀插入成型件与升降台之间, >> 取出模型。如果模型较软时,可以将模型
与升降台一起取出进行固化处理。
19
去除支撑
去除支撑 >> 用剪刀和镊子去除支撑。在固话处理后去除支撑容易损伤模型,建议在后固化处
>> 使用酒精将模型上附着的树脂清洗干净,晾干。
开机流程
3
21 2
3
a. 开机所需: 1. 二合一转接头 2. 电源线 3. 电源适配器
常见三维工程模型格式

常见三维工程模型格式包括:1.STL格式(Stereolithography):也称为标准泰森兰格语言,用于表示三维对象的文件格式,适合用于快速建模和制造,广泛应用于3D打印和计算机辅助设计等领域。
2.OBJ格式(Wavefront .obj):一种用于存储三维几何信息等数据格式,可以存储多边形网格、贴图坐标和法线等信息,在计算机图形学和游戏开发中广泛使用。
3.FBX格式(Filmbox):由Autodesk开发的一种用于保存3D模型、动画、材质等多种属性的文件格式,支持多种软件之间的互操作性,被用于虚拟现实、影视制作、游戏开发等领域。
4.3ds Max格式:3ds Max是一款广泛使用的3D建模软件,其文件格式为.max。
该格式可以保存场景中的所有元素,包括几何体、材质、灯光、动画等。
5.Pro/E格式:Pro/ENGINEER是一款广泛使用的CAD/CAM/CAE软件,其文件格式为.prt或.asm。
该格式可以保存产品的完整设计信息,包括几何体、装配关系、参数等。
6.SolidWorks格式:SolidWorks是一款流行的3D CAD软件,其文件格式为.sldprt或.sldasm。
该格式可以保存零件和装配体的完整设计信息,包括几何体、材料、尺寸等。
7.IGES格式(Initial Graphics Exchange Specification):一种用于在不同CAD系统之间交换2D和3D图形数据的标准文件格式。
8.STEP格式(Standard for the Exchange of Product model data):也称为STP,是一种用于在不同CAD系统之间交换产品模型数据的标准文件格式,可以保存产品的完整设计信息。
除此之外,常见的三维工程模型格式还有CATIA V5R20等。
以上信息仅供参考,建议咨询专业工程师或查阅相关书籍获取更多信息。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
3D Manufacturing Format Specification and Reference Guide 1 3D Manufacturing FormatCore Specification & Reference GuideTHESE MATERIALS ARE PROVIDED “AS IS.” The contributors expressly disclaim any warranties (express, implied, or otherwise), including implied warranties of merchantability, non-infringement, fitness fora particular purpose, or title, related to the materials. The entire risk as to implementing or otherwise using the materials is assumed by the implementer and user. IN NO EVENT WILL ANY MEMBER BE LIABLE TO ANY OTHER PARTY FOR LOST PROFITS OR ANY FORM OF INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER FROM ANY CAUSES OF ACTION OF ANY KIND WITH RESPECT TO THIS DELIVERABLE OR ITS GOVERNING AGREEMENT, WHETHER BASED ON BREACH OF CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE, AND WHETHER OR NOT THE OTHER MEMBER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 南极熊3D打印网备注:3MF格式很可能在未来会取代STL和OBJ在3D打印的地位,强烈建议产业人士认真了解2 Table of ContentsPreface (4)About this Specification (4)Document Conventions (4)Language Notes (5)Software Conformance (5)Part I. 3MF Documents (7)Chapter 1. 3MF Document Format (8)1.1.How This Specification Is Organized .....................................................................................8 1.2. Package (9)Chapter 2. Parts and Relationships (10)2.1. 3D Payload (10)2.1.1. 3D Parts and Payload Relationships (10)2.1.2. 3D Model Part (12)2.1.3. Thumbnail Part (12)2.1.4. PrintTicket Part (13)2.2. Part Naming Recommendations (13)2.3. 3MF Document Markup (14)2.3.1. Support for Versioning and Extensibility (14)2.3.2. XML Usage (15)2.3.3. Markup Model (15)2.3.4. Whitespace (15)2.3.5. Language (16)Chapter 3. 3D Models (17)3.1. Coordinate Space (17)3.2. Relative Directions and Measurement (17)3.3. 3D Matrices (18)3.4. Model (19)3.4.1. Metadata (21)3.4.2. Resources (22)3.4.3. Build Instructions (23)Chapter 4. Object Resources (25)4.1. Meshes (26)4.1.1. Fill Rule (27)4.1.2. Vertices (28)4.1.3. Triangles (29)4.2. Components (31)4.2.1. Component ......................................................................................................................... 32 南极熊3D打印网备注:3MF格式很可能在未来会取代STL和OBJ在3D打印的地位,强烈建议产业人士认真了解3D Manufacturing Format Specification and Reference Guide 3 Chapter 5. Material Resources (33)5.1.Base Material (33)5.1.1. sRGB Color (34)Chapter 6. 3MF Document Package Features (35)6.1.Thumbnail (35)6.1.1. JPEG Images (35)6.1.2. PNG Images (35)6.2.Core Properties (36)6.3.Digital Signatures (36)6.3.1. Normalization (36)6.4.Protected Content (37)Part II. Appendixes (38)Appendix A. Glossary (39)Appendix B. 3MF XSD Schema (42)Appendix C. Standard Namespaces and Content Types (46)C.1Content Types (46)C.2Relationship Types (46)C.3Namespaces (46)References (47)南极熊3D打印网备注:3MF格式很可能在未来会取代STL和OBJ在3D打印的地位,强烈建议产业人士认真了解4 Preface About this SpecificationThe 3D Manufacturing Formatwidely available technologies to describe the content and appearance of one or more 3D models. It is written for developers who are building systems to process 3MF content.A primary goal of this specification is to ensure the interoperability of independently created software and hardware systems that produce or consume 3MF content. This specification defines the formalrequirements that producers and consumers must satisfy in order to achieve interoperability. requirements are an extension of the packaging requirements described in the Open Packaging Conventions specification. That specification describes packaging and physical format conventions for the use of XML, Unicode, ZIP, and other technologies and specifications to organize the content and resources that make up any model. They are an integral part of the 3MF specification.Understanding this specification requires working knowledge of the Extensible Markup Language (XML) and XML Namespace specifications. Full understanding might also require domain knowledge of common terms and procedures within the 3D manufacturing sector, although every effort has been made to minimize such reliance.The 3MF Consortium offers a free to use open source implementation of this specification in order to allow an easy adoption of the format in applications handling 3D content.Part I, “3MF Documents,” presents the details of the primarily XML -based 3MF Document format. This section describes the XML markup that defines the composition of 3D documents and the appearance of each model within the document.Part II , “Appendixes,” contains additional technical details and schemas too extensive to include in the main body of the text as well as convenient reference information.The information contained in this specification is subject to change. Every effort has been made to ensure its accuracy at the time of publication.Document ConventionsExcept where otherwise noted, syntax descriptions are expressed in the ABNF format as defined in RFC4234. 南极熊3D打印网备注:3MF格式很可能在未来会取代STL和OBJ在3D打印的地位,强烈建议产业人士认真了解3D Manufacturing Format Specification and Reference Guide 5 Syntax descriptions and code are formatted in monospace type.Replaceable items, that is, an item intended to be replaced by a value, are formatted in monospace cursive type.Notes are formatted as follows:Language NotesIn this specification, the words that are used to define the significance of each requirement are written in uppercase. These words are used in accordance with their definitions in RFC 2119, and their respective meanings are reproduced below:∙MUST.This word, or the adjective “REQUIRED,” means that the item is an absolute requirement of the specification.∙SHOULD. This word, or the adjective “RECOMMENDED,” means that there may exist valid reasons in particular circumstances to ignore this item, but the full implications should beunderstood and the case carefully weighed before choosing a different course.∙MAY.This word, or the adjective “OPTIONAL,” means that this item is truly optional. For example, one implementation may choose to include the item because a particular marketplace or scenario requires it or because it enhances the product. Another implementation may omitthe same item.Software ConformanceMost requirements are expressed as format or package requirements rather than implementation requirements.In order for consumers to be considered conformant, they must observe the following rules:∙They MUST NOT report errors when processing conforming instances of the document format except when forced to do so by resource exhaustion.∙They SHOULD report errors when processing non-conforming instances of the document format when doing so does not pose an undue processing or performance burden.In order for producers to be considered conformant, they must observe the following rules:∙They MUST NOT generate any new, non-conforming instances of the document format.∙They MUST NOT introduce any non-conformance when modifying an instance of the document format.6Editing applications are subject to all of the above rules.3D Manufacturing Format Specification and Reference Guide78Chapter 1. 3MF Document FormatThis specification describes how the 3MF Document format is organized internally and realized in 3D objects externally. It can be used as a stand-alone file format or as a payload in a print pipeline. It is built upon the principles described in the Open Packaging Conventions specification. 3MF Documents MUSTdescriptions in a markup format. A file that implements this format includes the fundamental information necessary for a consumer to generate a physical object through additive manufacturing or basic subtractive manufacturing techniques. This includes resources such as textures that might be required to reproduce the exact desired appearance in terms of color or internal structures in terms of materials.This format also includes optional components that build on the minimal set of components required to generate a physical object. This includes the ability to specify print job control instructions, to describeamong others.Finally, the 3MF Document format implements the common package features specified by the Open Packaging Conventions specification that support digital signatures and core properties.1.1. How This Specification Is OrganizedChapter Description3MF Document Format Introduction to the 3MF Document file format and overview of basic package requirements.Parts and Relationships Describes the Open Packaging Convention package parts and relationships in a 3MF Document.3D Models Introduces the primary organization of a 3MF Document into resources and build instructions.Objects This chapter describes how objects are defined by a triangular mesh.Materials This chapter provides detailed information about how material resources aredefined. These resources are used in turn by objects to complete a 3D objectdefinition.Package Features Describes the 3MF Document features provided by the Open PackagingConventions, including thumbnails, digital signatures, and core properties andprotected content.Glossary A full summary and definition of all glossary terms introduced in this specification.3D Manufacturing Format Specification and Reference Guide9 XSD Schema The schema for the 3D Model part.A reference on the standard namespaces and content types for 3MF Documents. StandardNamespaces &Content Types1.2. PackageThe 3MF Document format MUST use a ZIP archive for its physical model. The Open Packaging specification describes a packaging model, that is, how the package is represented internally with parts and relationships.The 3MF Document format includes a well-defined set of parts and relationships, each fulfilling a particular purpose in the document. The format also extends the package features, including digital signatures and thumbnails.10Chapter 2. Parts and Relationshipswithin a package. This specification defines a particular payload that contains a 3D object definition and its supporting files: the 3D payload.An OPC package that holds a 3D payload and follows the rules described in this specification is referred to as a 3MF Document. Producers and consumers of 3MF Documents can implement their own parsers and manufacturing devices based on this specification.2.1. 3D Payloadpayload in a 3MF Document, but only one primary 3D payload.2.1.1. 3D Parts and Payload Relationshipsreferenced by the 3MF Document StartPart relationship to find the primary 3D payload in a package. The 3MF Document StartPart relationship MUST point to the 3D Model part that identifies the root of the 3D payload.The payload includes the full set of parts required for processing the 3D Model part. All content to be used to manufacture an object described in the 3D payload MUST be contained in the 3MF Document. The parts that can be found in a 3MF Document are listed in Table 2–1. Relationships and content types for these parts are defined in Appendix C, “Standard Namespaces and Content Types.” Each part MUST use only the appropriate content type specified in Appendix C.Parts included to the 3D payload are explicitly linked to the 3D payload root by relationship. 3MF Documents MUST NOT reference resources external to the 3MF Document package unless specified otherwise in an extension. For more information on relationships, see the Open Packaging Conventions specification.Parts in the 3D payload MUST use one of the appropriate relationships described below to establish that relationship between two parts in the payload. There MUST NOT be more than one relationship of a given relationship type from one part to a second part. Relationship types are defined in Appendix C, “Standard Namespaces and Content Types.”Producers that generate a relationship MUST include the target part in the 3MF Document for any of the following relationship types: PrintTicket, StartPart, and Thumbnail. Consumers that access the targetpart of any relationship with one of these relationship types MUST generate an error if the part is not included in the 3MF Document.Table 2–1. 3MF Document partsName Description RelationshipSource Required/ Optional3D Model Contains the description of one or more 3D objectsfor manufacturing.Package REQUIREDCore Properties The OPC part that contains various documentproperties.Package OPTIONALDigital Signature Origin The OPC part that is the root of digital signatures inthe package.Package OPTIONALDigital Signature OPC parts that each contains a digital signature. Digital SignatureOriginOPTIONALDigital SignatureCertificateOPC parts that contain a digital signature certificate. Digital Signature OPTIONALPrintTicket Provides settings to be used when outputting the3D object(s) in the 3D Model part.3D Model OPTIONALThumbnail Contains a small JPEG or PNG image that representsthe 3D objects in the package.Package OPTIONAL3D Texture Contains a file used to apply complex informationto a 3D object in the 3D Model part (used for objectthumbnails and available for extensions).3D Model OPTIONALFigure 2–1. A typical 3MF Document2.1.2. 3D Model Partprocesses. The 3D Model part is the only valid root of a 3D payload.A 3D Model part has two sections: a set of resource definitions that include objects and materials, as well as a set of specific items to actually build. The content type of the 3D Model part is defined in Appendix C, “Standard Namespaces and Content Types.”2.1.3.Thumbnail Partenable external agents to view the contents of the 3MF Document easily.Although the Open Packaging Conventions specification allows thumbnails to be attached to any part,attached to any other part SHOULD be ignored by 3MF Document consumers. The content types of thumbnail parts are specified in section C.2, “Content Types.”3D PayloadFor more information about the relationship type for thumbnail parts, see section C.3, “Relationship Types.”2.1.4. PrintTicket Partexample, for printing on Microsoft Windows, valid PrintTicket settings are specified in the Print Schema Keywords for 3D Manufacturing specification.If no PrintTicket is provided or the PrintTicket provided is not supported by the consumer, it is left to the consumer to apply its own defaults.2.2. Part Naming RecommendationsProducers and consumers of 3MF Documents refer to parts by name and use relationship names to identify the purpose of related parts. The Open Packaging Conventions specification describes the syntax for part name. However, following these rules alone can result in a package that is difficult for users to understand. For example, a user would have to open every Relationship part to know which parts are necessary to accurately manufacture a 3MF Document.By choosing part names according to a well-defined, human-readable convention, the resulting package is easier to browse and specific parts are more easily located. Part names MUST still conform to the syntax specified in the Open Packaging Conventions specification.It is RECOMMENDED that producers of 3MF Documents use the following part naming convention:∙The 3D Model part name SHOULD contain two segment s, the first being “/3D/” and the second with the extension “.model” on the last segment, for example “/3D/3dModel.model”.∙The PrintTicket part name SHOULD be associated via relationship with the 3D Model part and contains three segments, using “/3D/Metadata/” as the first two segments with the extension“.xml”. For example, “/3D/Metadata/Model_PT.xml”.∙3D Texture part names S HOULD contain three segments, using “/3D/Textures/” as the first two segments, for example “/3D/Textures/coloring.png”. 3D Texture parts MUST be associated with the 3D Model part via relationship.∙The names of any non-standard parts that are associated with the 3D payload SHOULD contain 3 segments, using “/3D/Other/” as the first two segments.2.3. 3MF Document Markup3MF Document markup has been designed to facilitate independent development of compatible systems that produce or consume 3MF Documents.The design of 3MF Document markup reflects the tradeoffs between two, sometimes competing, goals:1.3MF Document markup should be parsimonious; that is, it should include only the minimum setof primitive operations and markup constructs necessary to manufacture common 3D objects with full fidelity. Redundancy in the specification increases the opportunity for independentimplementations to introduce accidental incompatibilities. Redundancy also increases the cost of implementation and testing, and, typically, the required memory component.2.3MF Document markup should be compact; that is, the most common primitives should havecompact representations. Bloated representations compromise the performance of systemshandling 3MF Documents. As byte-count increases, so does communication time. Althoughcompression can be used to improve communication time, it cannot eliminate the performance loss caused by bloated representations.2.3.1. Support for Versioning and Extensibility3MF Document markup has been designed in anticipation of the evolution of this specification. It also allows third parties to extend the markup.Extensions are a critical part of 3MF, and as such, this core specification is as narrow as possible. Advanced features are built as extensions, using an a la carte model whereby producers can state explicitly which extensions are used (by declaring the matching XML namespace in the <model> element) and consumers can state explicitly which extensions they support, so other tools in the chain know which parts will be ignored. Versioning is accomplished concurrently, as the namespace will be updated to reflect a version change. Therefore versioning happens independently for the core spec and for each extension, and the version of each can be determined by checking its namespace.Extension specifications MUST include one or more targeted versions of this core specification to limit the number of possible configurations. Producers can specify certain extensions as required in a particular 3MF document, in which case consumers that do not support those extensions MUST fail to edit or manufacture that document, rather than ignoring the extension namespace.Within this core XSD schema (see Appendix B: 3MF XSD Schema), extension points have been explicitly entered in the form of <any> elements and <anyAttribute> (also visible in the element diagrams further along in this specification). These are required to come from other namespaces, which SHOULD point to a way to find the appropriate specification and accompanying XSD schema.2.3.2. XML UsageAll XML content of the parts defined in this specification MUST conform to the following validation rules:1.XML content MUST be encoded using either UTF-8 or UTF-16. If any such part includes anencoding declaration (as defined in Section 4.3.3 of the XML specification), that declarationMUST NOT name any encoding other than UTF-8 or UTF-16.2.The XML 1.0 specification allows for the usage of Data Type Definitions (DTDs), which enableddenial of service attacks, typically through the use of an internal entity expansion technique. As mitigation for this potential threat, DTD content MUST NOT be used in the XML markup defined in this specification, and consumers SHOULD treat the presence of DTD content as an error.3.XML content MUST be valid against the corresponding XSD schema defined in this specification.In particular, the XML content MUST NOT contain elements or attributes drawn fromnamespaces that are not explicitly defined in the corresponding XSD unless the XSD allowselements or attributes drawn from any namespace to be present in particular locations in theXML markup.4.XML content MUST NOT contain elements or attributes drawn from the “xml” or “xsi”namespaces unless they are explicitly defined in the XSD schema or by other means in thespecification.5.XML content MUST be produced and parsed with the en-us locale, particularly with respect tovalues containing decimal data.2.3.3. Markup Model3MF Document markup is an XML-based markup language that uses elements, attributes, and namespaces. The schema for 3MF Document markup includes only elements and their attributes, comments, and whitespace.2.3.3.1. XML Namespaces3D Model part markup is given in Appendix C, “Standard Namespaces and Content Types”. Any elements and attributes undefined in this spec must be prefaced with the namespace corresponding to the 3MF extension they belong to.2.3.4. Whitespace3MF Documents allow flexible whitespace usage in markup. Wherever a single whitespace character is allowed, multiple whitespace characters MAY be used. 3MF Document markup MUST NOT use the xml:space attribute. Additionally, where the 3MF Document schema specifies attributes of types that allow whitespace collapsing, leading and trailing whitespace in the attribute value MAY be used alongwith other whitespace that relies on the whitespace collapsing behavior specified in the XML Schema Specification.2.3.5. LanguageThe language of the contents of a 3MF Document (typically useful for content provided in metadata) MAY be identified using the xml:lang attribute, the value of which is inherited by child and descendant elements. This attribute is defined in the W3C XML specification. When the language of the contents is unknown, the value “und” (undetermined) MUST be used.Chapter 3. 3D Modelsprocesses as a single operation. It might include a single object, multiple homogenous objects, multiple heterogeneous objects, an object fully enclosed in another object, or multiple objects in an interlocked3.1. Coordinate SpaceCoordinates in this specification are based on a right-handed coordinate space. Producers and consumers MUST define and map the origin of the coordinate space to the bottom-front-left corner of the device’s output field (such as a tray, platform, or bed), with the x-axis increasing to the right of the output field, the y-axis increasing to the back of the output field, and the z-axis increasing to the top of the output field. Producers and consumers MUST use the unit resolution of the coordinate space as specified in the <model> element.Figure 3-1. Coordinate space3.2. Relative Directions and Measurementprintable XY plane of the coordinate space, defined as the XY plane with a Z value of 0. This is typicallyrefers to the XZ plane of the coordinate space with the maximum printable Y value.These terms might also be applied to models, in which case they are defined relative to the bounding box of the model when transformed to the coordinate space defined in this specification.Producers and consumers MUST interpret coordinates in relation to the coordinate space defined in this specification.3.3. 3D MatricesTransforms are of the form, where only the first 3 column values are specified. The last column is never provided, and has the fixed values 0.0, 0.0, 0.0, 1.0. When specified as an attribute value, matrices have the form “m00 m01 m02 m10 m11 m12 m20 m21 m22 m30 m31 m32” where each value is a decimal number of arbitrary precision.m00 m01 m02 0.0m10 m11 m12 0.0m20 m21 m22 0.0m30 m31 m32 1.0After applying all transforms to an object, the model SHOULD have positive volume and SHOULD be located in the positive octant of the coordinate space.3.4. ModelFigure 3-1: Overview of model XML structure of 3MFThis XML specification is designed to be used with a simple, forward only parser, and the element ordering defined supports this. Producers MUST define each element prior to referencing it elsewhere in the document, unless specifically allowed by an extension.Element <model>Name Type Use Default Fixed AnnotationThe <model> element is the root element of the 3D Model part. There MUST be exactly one <model> element in a 3D Model part. A model may have zero or more child metadata elements (see §6.1, "Metadata" for more information). A model must have two additional child elements: <resources> and <build>. The <resources> element provides a set of definitions that can be drawn from to define a 3D object. The <build> element provides a set of items that should actually be manufactured as part of the job.Producers SHOULD NOT require extensions unless the document would lose key meaning without the extension data. Allowing consumers to ignore unsupported extensions gives a more graceful fallback.3.4.1. MetadataElement <metadata>Producers of 3MF Documents SHOULD provide additional information about the document in the form of metadata under the <model> element.Metadata in 3MF Documents without a namespace name MUST be restricted to names and values defined by this specification. If a name value is not defined in this specification, it MUST be prefixed with the namespace name of an XML namespace declaration on the <model> element that is not drawn from the default namespace. The valid metadata names and content defined by this specification include:Table 8–1. Metadata valuesContext Name CommentModel TitleDesignerDescriptionCopyrightLicenseTermsRatingCreationDateModificationDateConsumers MUST ignore any metadata with a name they do not recognize, typically from a future version of this specification or an unrecognized producer or target consumer. The content of the<metadata> element can be any string.A consumer that wishes to receive additional information using this mechanism SHOULD publish a namespace URI and a set of well-defined metadata names and expected content in order for producers to generate content in an expected fashion.Producers MUST NOT create multiple metadata elements with the same name.3.4.2. ResourcesElement <resources>The <resources> element acts as the root element of a library of constituent pieces of the overall 3Dspecification.Each resource might rely on other resources for its complete definition. For example, an object resource may refer to material resources, or even other object resources to fully describe a 3D object.An object resource represents a single 3D object that could be manufactured, but not necessarily will be manufactured. The objects that actually will be manufactured are referenced from an <item> element child of the <build> element. Objects are defined as resources primarily to aid in modularizing design and re-use of component, thus compacting the overall markup size.Resource IDs MUST be unique within the model.3.4.3. Build InstructionsElement <build>The <build> element contains one or more items to manufacture as part of processing the job. A consumer MUST NOT output any 3D objects not referenced by an <item> element.3.4.3.1. Item ElementElement <item>The <item> element identifies one object resource to be output by the 3D manufacturing device. A consumer MUST apply the transform prior to outputting the object.A 3MF Document may include multiple objects to manufacture at the same time. The arrangement of these items in the build is considered a default; consumers MAY rearrange the items for manufacturing。