Skip to content

Commit

Permalink
removing FIXED
Browse files Browse the repository at this point in the history
  • Loading branch information
pencerw committed Sep 11, 2018
1 parent 0b2b859 commit b2f2cd7
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions 3MF Slice Extension.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ In order to reference slice data, there are two additional attributes for \<obje
* "_fullres"_: The included mesh data is "full resolution" and could be used to re-generate the slices contained in the 3MF package.
* "_lowres"_: The included mesh is not sufficiently accurate to re-generate the slices contained in the 3MF package.

A 3MF package containing "lowres" objects MUST list the slice extension in the requiredextensions property of the model section (see chapter 1).
A 3MF package containing "lowres" objects MUST list the slice extension in the requiredextensions property of the model section (see [chapter 1](https://github.com/3MFConsortium/spec_slice/blob/master/3MF%20Slice%20Extension.md#chapter-1-introduction)).

## Slicestack

Expand All @@ -245,10 +245,10 @@ Element **\<slicestack>**

##### Attributes

| Name | Type | Use | Default | Fixed | Annotation |
| --- | --- | --- | --- | --- | --- |
| id | **ST\_ResourceID** | required | | | Defines the unique identifier for this object. The slicestack ID must be unique within the entire 3MF package, but just within a single model part. |
| zbottom | **ST\_Number** | optional | 0 | | The starting level (in specified model units) relative to build platform. |
| Name | Type | Use | Default | Annotation |
| --- | --- | --- | --- | --- |
| id | **ST\_ResourceID** | required | | Defines the unique identifier for this object. The slicestack ID must be unique within the entire 3MF package, but just within a single model part. |
| zbottom | **ST\_Number** | optional | 0 | The starting level (in specified model units) relative to build platform. |

A \<slicestack> element is referenced from the \<object> element and defines an object by a stack of slices instead of a mesh. The slices in the \<slicestack> element can then be stored in one or more separate files per sliced object using the sliceref element.

Expand All @@ -264,10 +264,10 @@ Element **\<sliceref>**

##### Attributes

| Name | Type | Use | Default | Fixed | Annotation |
| --- | --- | --- | --- | --- | --- |
| slicestackid | **ST\_ResourceID** | required | | | Slicestackid identifies the \<slicestack> that contains the slice data for the specified object. |
| slicepath | **ST\_UriReference** | required | | | Slicepath is an absolute path to a non-root model file in the 3MF package that contains slice data in \<slicestack> objects. |
| Name | Type | Use | Default | Annotation |
| --- | --- | --- | --- | --- |
| slicestackid | **ST\_ResourceID** | required | | Slicestackid identifies the \<slicestack> that contains the slice data for the specified object. |
| slicepath | **ST\_UriReference** | required | | Slicepath is an absolute path to a non-root model file in the 3MF package that contains slice data in \<slicestack> objects. |

Instead of supplying \<slice> elements inside a slice stack, it is also possible to use \<sliceref> elements to include a single slice (or multiple slices at once) from another model stream. Slice Stacks may either contain \<slice> elements or \<sliceref> elements, but they MUST NOT contain both element types concurrently.

Expand All @@ -291,15 +291,15 @@ The \<slice> element is the 2D companion to the \<mesh> element from the core sp

##### Attributes

| Name | Type | Use | Default | Fixed | Annotation |
| --- | --- | --- | --- | --- | --- |
| ztop | **ST\_Number** | required | | | ztop allows a slice to have an arbitrary thickness defined as an z-position of the top of the slice relative to the build platform. ztop MUST be always monotonically increasing throughout the slice stack. |
| Name | Type | Use | Default | Annotation |
| --- | --- | --- | --- | --- |
| ztop | **ST\_Number** | required | | ztop allows a slice to have an arbitrary thickness defined as an z-position of the top of the slice relative to the build platform. ztop MUST be always monotonically increasing throughout the slice stack. |

## Vertices

Element **\<vertices>**

The vertices element contains all the \<vertex> elements for this object. Vertices represent the points of the polygons within the slice. The order of these elements defines an implicit 0-based index that is referenced by other elements, such as the \<segment> element. If the \<slice> contains content, the \<vertices> element MUST exist and all downstream rules apply. The producer SHOULD collapse vertices that are very closely proximal with a single vertex. In order to avoid integer overflows, a vertex array MUST contain less than 2^31 vertices.
The \<vertices> element contains all the \<vertex> elements for this object. Vertices represent the points of the polygons within the slice. The order of these elements defines an implicit 0-based index that is referenced by other elements, such as the \<segment> element. If the \<slice> contains content, the \<vertices> element MUST exist and all downstream rules apply. The producer SHOULD collapse vertices that are very closely proximal with a single vertex. In order to avoid integer overflows, a vertex array MUST contain less than 2^31 vertices.

![element <vertices>](images/element_vertices.png)

Expand All @@ -311,10 +311,10 @@ Element **\<vertex>**

##### Attributes

| Name | Type | Use | Default | Fixed | Annotation |
| --- | --- | --- | --- | --- | --- |
| x | **ST\_Number** | required | | | The position of the vertex along the X axis. |
| y | **ST\_Number** | required | | | The position of the vertex along the Y axis. |
| Name | Type | Use | Default | Annotation |
| --- | --- | --- | --- | --- |
| x | **ST\_Number** | required | | The position of the vertex along the X axis. |
| y | **ST\_Number** | required | | The position of the vertex along the Y axis. |

A \<vertex> element represents a point in 2-dimensional space that is referenced by a segment in the slice. The decimal values representing the coordinates can be recorded to arbitrary precision. The precision used should be no higher than that expected from the producer's calculations.

Expand All @@ -328,9 +328,9 @@ Element **\<polygon>**

##### Attributes

| Name | Type | Use | Default | Fixed | Annotation |
| --- | --- | --- | --- | --- | --- |
| startv | **ST\_ResourceIndex** | required | | | References a zero-based index into the vertices for this slice. Defines the first vertex of the first segment. |
| Name | Type | Use | Default | Annotation |
| --- | --- | --- | --- | --- |
| startv | **ST\_ResourceIndex** | required | | References a zero-based index into the vertices for this slice. Defines the first vertex of the first segment. |

The \<polygon> element contains a set of 1 or more \<segment> elements to describe a 2D contour. If a \<slice> contains content, there MUST be at least one \<polygon> to describe it.

Expand All @@ -348,12 +348,12 @@ Element **\<segment>**

##### Attributes

| Name | Type | Use | Default | Fixed | Annotation |
| --- | --- | --- | --- | --- | --- |
| v2 | **ST\_ResourceIndex** | required | | | References a zero-based index into the vertices for this slice. Defines the second vertex of the segment. |
| p1 | **ST\_ResourceIndex** | | | | Overrides the slice-level pindex for the first vertex of the segment, which is v2 from the previous segment or startv from the parent polygon. |
| p2 | **ST\_ResourceIndex** | | | | Overrides the slice-level pindex for the second vertex of the segment |
| pid | **ST\_ResourceID** | | | | Overrides the slice-level pid for the segment. |
| Name | Type | Use | Default | Annotation |
| --- | --- | --- | --- | --- |
| v2 | **ST\_ResourceIndex** | required | | References a zero-based index into the vertices for this slice. Defines the second vertex of the segment. |
| p1 | **ST\_ResourceIndex** | | | Overrides the slice-level pindex for the first vertex of the segment, which is v2 from the previous segment or startv from the parent polygon. |
| p2 | **ST\_ResourceIndex** | | | Overrides the slice-level pindex for the second vertex of the segment |
| pid | **ST\_ResourceID** | | | Overrides the slice-level pid for the segment. |

A \<segment> element represents a single line segment (or edge) of a polygon. It runs from the vertex specified by the previous segment (or the startv \<polygon> attribute for the first segment) to the specified vertex, v2.

Expand Down

0 comments on commit b2f2cd7

Please sign in to comment.