From 5447644d9866ed9a9c1734df37b29820442111e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20M=C3=BCller?= Date: Thu, 9 Jan 2025 11:02:05 +0100 Subject: [PATCH] Removed "TODO" from description of the PrimitiveType attribute Removed "TODO" from description of the PrimitiveType attribute --- gdtf-spec.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdtf-spec.md b/gdtf-spec.md index 9cb4dbf..a14b556 100644 --- a/gdtf-spec.md +++ b/gdtf-spec.md @@ -1091,7 +1091,7 @@ specified in [table 32](#user-content-table-32 ). | Length | [Float](#user-content-attrtype-float ) | Unit: meter; Default value: 0 | | Width | [Float](#user-content-attrtype-float ) | Unit: meter; Default value: 0 | | Height | [Float](#user-content-attrtype-float ) | Unit: meter; Default value: 0 | -| PrimitiveType | [Enum](#user-content-attrtype-enum ) | Type of 3D model; The currently defined values are: “Undefined”, “Cube”, “Cylinder”, “Sphere”, “Base”, “Yoke”, “Head”, “Scanner”, “Conventional”, “Pigtail”, "Base1_1", "Scanner1_1", "Conventional1_1"; TODO Default value: “Undefined” | +| PrimitiveType | [Enum](#user-content-attrtype-enum ) | Type of 3D model; The currently defined values are: “Undefined”, “Cube”, “Cylinder”, “Sphere”, “Base”, “Yoke”, “Head”, “Scanner”, “Conventional”, “Pigtail”, "Base1_1", "Scanner1_1", "Conventional1_1"; Default value: “Undefined” | | File | [Resource](#user-content-attrtype-resource ) | Optional. File name without extension and without subfolder containing description of the model. Use the following as a resource file:
- 3DS or GLB to file to provide 3D model.
- SVG file to provide the 2D symbol.
It is possible to add several files with the same name but different formats. Preferable format for the 3D model is GLTF. The resource files are located in subfolders of a folder called ./models. The names of the subfolders correspond to the file format of the resource files (3ds, step, svg). The path for 3ds files would be ./models/3ds. For glb files, it would be ./models/gltf.

Software that is utilizing GDTF files should always be able to read both 3ds and GlTF file formats and should be able to write at least one of these formats. It is preferable that only one type of 3D model file formats is used within one GDTF file. | | SVGOffsetX | [Float](#user-content-attrtype-float ) | Offset in X from the 0,0 point to the desired insertion point of the top view svg. Unit based on the SVG. Default value: 0| | SVGOffsetY | [Float](#user-content-attrtype-float ) | Offset in Y from the 0,0 point to the desired insertion point of the top view svg. Unit based on the SVG. Default value: 0|