User Tools

Site Tools


en:lensorder:version010604:complextypes:frame

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:lensorder:version010604:complextypes:frame [2017/06/19 12:42] sebastianraringen:lensorder:version010604:complextypes:frame [2022/07/05 14:31] (current) hansobermayer
Line 1: Line 1:
 +====== frame (Frame) ======
 +----
  
 +NEEDREVIEW
 +
 +<code>
 +picture frame.png to update, rest is done
 +
 +03.06.2020 Attribute “resizeToBox” added
 +05.07.2022 box with different shapes r/l
 +
 +//Section can be deleted after review!//
 +</code>
 +----
 +
 +[[en:lensorder:version010604:structure|b2boptic]] -> [[en:lensorder:version010604:structure|items]] -> [[en:lensorder:version010604:complextypes:item|item]] -> [[en:lensorder:version010604:complextypes:pair|pair]] -> frame
 +
 +{{:en:lensorder:version010604:images:frame.png?nolink|Frame}}
 +
 +^ //quantity// ^^
 +^ type | integer |
 +^ use | required |
 +^ description | value is everytime 1 |
 +
 +^ [[en:lensorder:version010604:simpletypes:framematerials|material]] ^^
 +^ type | [[en:lensorder:version010604:simpletypes:framematerials|FrameMaterials]] |
 +^ occurs | 1 |
 +^ description | type of frame |
 +
 +^ manufacturer ^^
 +^ type | string |
 +^ occurs | 0..1 |
 +^ description | manufacturer code of the frame |
 +
 +^ brand ^^
 +^ type | string |
 +^ occurs | 0..1 |
 +^ description | brand code of the frame |
 +
 +^ model ^^
 +^ type | string |
 +^ occurs | 0..1 |
 +^ description | model code of the frame |
 +
 +^ [[en:lensorder:version010604:complextypes:framesize|size]] ^^
 +^ type | [[en:lensorder:version010604:complextypes:framesize|FrameSize]] |
 +^ occurs | 0..1 |
 +^ description | Nominal size information as given from frame manufacturer |
 +
 +^ color ^^
 +^ type | string |
 +^ occurs | 0..1 |
 +^ description | color code of the frame |
 +
 +^ commercialCode ^^
 +^ type | string |
 +^ occurs | 0..1 |
 +^ description | the commercial ordering code of the frame |
 +
 +^ shape ^^
 +^ occurs | 0..1 |
 +^ description |  |
 +
 +^ catalog (element of shape) ^^
 +^ type | string |
 +^ occurs | 1 (not together with explicit or tracerData) |
 +^ description | shape code of a list of standard shapes from the lens manufacturer |
 +
 +^ //type (attribute of catalog)// ^^
 +^ type | [[en:lensorder:version010604:simpletypes:shapecatalogtypes|ShapeCatalogTypes]] |
 +^ use | optional |
 +^ description |  |
 +
 +^ //name (attribute of catalog)// ^^
 +^ type | string |
 +^ use | optional |
 +^ description |  |
 +
 +^ // ISNEWLO010604 resizeToBox (attribute of catalog)// ^^
 +^ type | boolean |
 +^ use | optional |
 +^ description | for resizeToBox send true; default is false |
 +
 +^ shapeId (element of catalog) ^^
 +^ type | string |
 +^ occurs | 1 |
 +^ description | code to identify the shape |
 +
 +^ [[en:lensorder:version010604:complextypes:shape|explicit]] (element of shape) ^^
 +^ type | [[en:lensorder:version010604:complextypes:shape|Shape]] |
 +^ occurs | 1..2 (not together with catalog or tracerData) |
 +^ description | shape is described by radii; usually with 36 points per side |
 +
 +^ //[[en:lensorder:version010604:simpletypes:sidessimple|side]] (attribute of explicit)// ^^
 +^ type | [[en:lensorder:version010604:simpletypes:sidessimple|SidesSimple]] |
 +^ use | required |
 +^ description | shape side |
 +
 +^ [[en:lensorder:version010604:complextypes:tracerdata|tracerData]] (element of shape) ^^
 +^ type | [[en:lensorder:version010604:complextypes:tracerdata|TracerData]] |
 +^ occurs | 1 (not together with catalog or explicit) |
 +^ description | data from a tracer interface |
 +
 +^ boxWidth ^^
 +^ type | float |
 +^ unity | mm |
 +^ occurs | 0..1 |
 +^ description | measured box width for size transformations |
 +
 +^ boxHeight ^^
 +^ type | float |
 +^ unity | mm |
 +^ occurs | 0..1 |
 +^ description | measured box height for size transformations |
 +
 +^ ISNEWLO010604 box ^^
 +^ occurs | 2 |
 +^ description | measured box boxWidth/boxHeight for different size right and left|
 +
 +^ distanceBetweenLenses ^^
 +^ type | float |
 +^ unity | mm |
 +^ occurs | 0..1 |
 +^ description | measured dbl for calculation purposes |
 +
 +^ [[en:lensorder:version010604:complextypes:drillholes|drillHoles]] ^^
 +^ type | [[en:lensorder:version010604:complextypes:drillholes|DrillHoles]] |
 +^ occurs | 0..2 |
 +^ description | describes the drillholes for calculations or drilling; for drilling by the lens manufacturer, a special parameter needs to be set |
 +
 +^ //[[en:lensorder:version010604:simpletypes:sides:drillholes|side]] (attribute of drillHoles)// ^^
 +^ type | [[en:lensorder:version010604:simpletypes:sides|Sides]] |
 +^ use | required |
 +^ description | shape side |
 +
 +^ pantoscopicAngle ^^
 +^ type | float |
 +^ unity | see attribute dimension |
 +^ occurs | 0..1 (not together with pantoscopicAngleRight or pantoscopicAngleLeft) |
 +^ description |  |
 +
 +^ //[[en:lensorder:version010604:simpletypes:angledimension:pantoscopicangle|dimension]] (attribute of pantoscopicAngle)// ^^
 +^ type | [[en:lensorder:version010604:simpletypes:angledimension|AngleDimension]] |
 +^ use | optional |
 +^ default | DEG |
 +^ description | unity of pantoscopicAngle |
 +
 +^ pantoscopicAngleRight ^^
 +^ type | float |
 +^ unity | see attribute dimension |
 +^ occurs | 0..1 (not together with pantoscopicAngle) |
 +^ description |  |
 +
 +^ //[[en:lensorder:version010604:simpletypes:angledimension:pantoscopicangleright|dimension]] (attribute of pantoscopicAngleRight)// ^^
 +^ type | [[en:lensorder:version010604:simpletypes:angledimension|AngleDimension]] |
 +^ use | optional |
 +^ default | DEG |
 +^ description | unity of pantoscopicAngleRight |
 +
 +^ pantoscopicAngleLeft ^^
 +^ type | float |
 +^ unity | see attribute dimension |
 +^ occurs | 0..1 (not together with pantoscopicAngle) |
 +^ description |  |
 +
 +^ //[[en:lensorder:version010604:simpletypes:angledimension:pantoscopicangleleft|dimension]] (attribute of pantoscopicAngleLeft)// ^^
 +^ type | [[en:lensorder:version010604:simpletypes:angledimension|AngleDimension]] |
 +^ use | optional |
 +^ default | DEG |
 +^ description | unity of pantoscopicAngleLeft |
 +
 +^ frameBowAngle ^^
 +^ type | float |
 +^ unity | see attribute dimension |
 +^ occurs | 0..1 |
 +^ description |  |
 +
 +^ //[[en:lensorder:version010604:simpletypes:angledimension:framebowangle|dimension]] (attribute of frameBowAngle)// ^^
 +^ type | [[en:lensorder:version010604:simpletypes:angledimension|AngleDimension]] |
 +^ use | optional |
 +^ default | DEG |
 +^ description | unity of frameBowAngle |
 +
 +^ frameCurve ^^
 +^ type | float |
 +^ unity | dpt |
 +^ occurs | 0..1 |
 +^ description |  |
 +
 +^ frameReferenceId ^^
 +^ type | string |
 +^ occurs | 0..1 |
 +^ description | identifier to match a send-in frame to the order for fitting. This reference is used, if the referenceNo of the item cannot be used, because of later lens ordering than sending the frame. |
 +
 +<code xml>
 +<xs:complexType name="Frame">
 +  <xs:sequence>
 +    <xs:element name="material" type="FrameMaterials" />
 +    <xs:element minOccurs="0" name="manufacturer" type="xs:string" />
 +    <xs:element minOccurs="0" name="brand" type="xs:string" />
 +    <xs:element minOccurs="0" name="model" type="xs:string" />
 +    <xs:element minOccurs="0" name="size" type="FrameSize" />
 +    <xs:element minOccurs="0" name="color" type="xs:string" />
 +    <xs:element minOccurs="0" name="commercialCode" type="xs:string" />
 +    <xs:element minOccurs="0" name="shape">
 +      <xs:complexType>
 +        <xs:sequence>
 +          <xs:choice>
 +            <xs:element name="catalog">
 +              <xs:complexType>
 +                <xs:sequence>
 +                  <xs:element name="shapeId" type="xs:string" />
 +                </xs:sequence>
 +                <xs:attribute name="type" type="ShapeCatalogTypes"/>
 +                <xs:attribute name="name" type="xs:string"/>
 +                <xs:attribute name="resizeToBox" type="xs:boolean" default="false"/>
 +              </xs:complexType>
 +            </xs:element>
 +            <xs:element maxOccurs="2" name="explicit">
 +              <xs:complexType>
 +                <xs:complexContent mixed="false">
 +                  <xs:extension base="Shape">
 +                    <xs:attribute name="side" type="SidesSimple" use="required" />
 +                  </xs:extension>
 +                </xs:complexContent>
 +              </xs:complexType>
 +            </xs:element>
 +            <xs:element name="tracerData" type="TracerData" />
 +          </xs:choice>
 +        </xs:sequence>
 +      </xs:complexType>
 +    </xs:element>
 +    <xs:element minOccurs="0" name="boxWidth" type="xs:float" />
 +    <xs:element minOccurs="0" name="boxHeight" type="xs:float" />
 +    <xs:element minOccurs="0" name="distanceBetweenLenses" type="xs:float" />
 +    <xs:element minOccurs="0" maxOccurs="2" name="drillHoles">
 +      <xs:complexType>
 +        <xs:complexContent mixed="false">
 +          <xs:extension base="DrillHoles">
 +            <xs:attribute name="side" type="Sides" use="required" />
 +          </xs:extension>
 +        </xs:complexContent>
 +      </xs:complexType>
 +    </xs:element>
 +    <xs:choice minOccurs="0">
 +      <xs:element name="pantoscopicAngle">
 +        <xs:complexType>
 +          <xs:simpleContent>
 +            <xs:extension base="xs:float">
 +              <xs:attribute default="DEG" name="dimension" type="AngleDimension" use="optional" />
 +            </xs:extension>
 +          </xs:simpleContent>
 +        </xs:complexType>
 +      </xs:element>
 +      <xs:sequence>
 +        <xs:element name="pantoscopicAngleRight">
 +          <xs:complexType>
 +            <xs:simpleContent>
 +              <xs:extension base="xs:float">
 +                <xs:attribute default="DEG" name="dimension" type="AngleDimension" use="optional" />
 +              </xs:extension>
 +            </xs:simpleContent>
 +          </xs:complexType>
 +        </xs:element>
 +        <xs:element name="pantoscopicAngleLeft">
 +          <xs:complexType>
 +            <xs:simpleContent>
 +              <xs:extension base="xs:float">
 +                <xs:attribute default="DEG" name="dimension" type="AngleDimension" use="optional" />
 +              </xs:extension>
 +            </xs:simpleContent>
 +          </xs:complexType>
 +        </xs:element>
 +      </xs:sequence>
 +    </xs:choice>
 +    <xs:element minOccurs="0" name="frameBowAngle">
 +      <xs:complexType>
 +        <xs:simpleContent>
 +          <xs:extension base="xs:float">
 +            <xs:attribute default="DEG" name="dimension" type="AngleDimension" use="optional" />
 +          </xs:extension>
 +        </xs:simpleContent>
 +      </xs:complexType>
 +    </xs:element>
 +    <xs:element minOccurs="0" name="frameCurve" type="xs:float" />
 +    <xs:element minOccurs="0" name="frameReferenceId" type="xs:string" />
 +  </xs:sequence>
 +  <xs:attribute name="quantity" type="xs:integer" use="required" />
 +</xs:complexType>
 +</code>