2.31.3.6 CT_Model3DTransform

Target namespace: http://schemas.microsoft.com/office/drawing/2017/model3d

Referenced by: CT_Model3D

Contains transform information required to correctly represent the model in 3D space. The transformation happens in the following order: preTrans, scale, rotate, postTrans. preTrans and postTrans are both required to allow for the center of rotation and the origin to be different.

Child Elements:

meterPerModelUnit: A CT_PositiveRatio (section 2.31.3.16) element that specifies the ratio of meters to units used in the 3D Model.

preTrans: A CT_Vector3D ([ISO/IEC29500-1:2016] section A.4.1) element that specifies the first translation that occurs. This is to change the center of rotation of the 3D Model.

scale: A CT_Scale3D element that specifies the scale of the 3D Model.

rot: A CT_Rotate3D element that specifies the rotation of the model about the center of rotation specified by preTrans.

postTrans: A CT_Vector3D ([ISO/IEC29500-1:2016] section A.4.1) element that specifies the second translation that occurs. This is to change the origin of the 3D Model.

extLst: A CT_OfficeArtExtensionList ([ISO/IEC29500-1:2016] section A.4.1) element that specifies the extension list in which all future extensions of element type ext are defined. The extension list, along with corresponding future extensions, is used to extend the storage capabilities of the DrawingML framework. This enables various new types of data to be stored natively in the framework.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.

 <xsd:complexType name="CT_Model3DTransform">
   <xsd:sequence>
     <xsd:element name="meterPerModelUnit" type="CT_PositiveRatio" minOccurs="0" maxOccurs="1"/>
     <xsd:element name="preTrans" type="a:CT_Vector3D" minOccurs="0" maxOccurs="1"/>
     <xsd:element name="scale" type="CT_Scale3D" minOccurs="0" maxOccurs="1"/>
     <xsd:element name="rot" type="CT_Rotate3D" minOccurs="0" maxOccurs="1"/>
     <xsd:element name="postTrans" type="a:CT_Vector3D" minOccurs="0" maxOccurs="1"/>
     <xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
   </xsd:sequence>
 </xsd:complexType>

See section 5.29 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).