aboutsummaryrefslogtreecommitdiff
path: root/cap.val
blob: f38a941247546f5734a6cd8a99dad3773759dbe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<?xml version="1.0" encoding="UTF-8"?>
<pattern labelPrefix="en">
    <!--Pattern created with Valentina v0.7.0.0a (https://valentinaproject.bitbucket.io/).-->
    <version>0.8.7</version>
    <unit>cm</unit>
    <description/>
    <notes/>
    <patternName>Cap with ear flaps</patternName>
    <patternNumber/>
    <company/>
    <patternLabel dateFormat="yyyy-MM-dd" timeFormat="hh:mm:ss">
        <line alignment="0" bold="true" italic="false" sfIncrement="4" text="%author%"/>
        <line alignment="0" bold="false" italic="false" sfIncrement="2" text="%patternName%"/>
        <line alignment="0" bold="false" italic="false" sfIncrement="0" text="%patternNumber%"/>
        <line alignment="0" bold="false" italic="false" sfIncrement="0" text="%mFileName%"/>
        <line alignment="0" bold="false" italic="true" sfIncrement="0" text="%customer%"/>
        <line alignment="0" bold="false" italic="true" sfIncrement="0" text="%date%"/>
    </patternLabel>
    <measurements>../measurements/EoV_hats.vit</measurements>
    <increments>
        <increment description="How wide the visor should be, as an angle, halved" formula="75" name="#visor_half_angle"/>
        <increment formula="7" name="#visor_depth"/>
    </increments>
    <previewCalculations/>
    <draw name="cap">
        <calculation>
            <point id="1" mx="0.132292" my="0.264583" name="A" showLabel="true" type="single" x="0.79375" y="1.05833"/>
            <point angle="0" basePoint="1" id="2" length="head_circ / 6" lineColor="black" mx="0.132292" my="0.264583" name="A1" showLabel="true" type="endLine" typeLine="hair"/>
            <point firstPoint="1" id="3" length="CurrentLength/2" lineColor="black" mx="0.344208" my="-1.58968" name="A2" secondPoint="2" showLabel="true" type="alongLine" typeLine="none"/>
            <point angle="0" firstPoint="3" id="4" length="@head_ear_to_ear / 2 - 1" lineColor="black" mx="0.132292" my="0.264583" name="A3" secondPoint="2" showLabel="true" type="normal" typeLine="hair"/>
            <spline aScale="0" angle1="90" angle2="240" color="black" id="5" length1="8" length2="2" penStyle="hair" point1="1" point4="4" type="simpleInteractive"/>
            <spline aScale="0" angle1="300" angle2="90" color="black" id="6" length1="2" length2="8" penStyle="hair" point1="4" point4="2" type="simpleInteractive"/>
            <point id="10" length="4" mx="0.132292" my="0.264583" name="A5" showLabel="true" spline="5" type="cutSpline"/>
            <spline aScale="0" angle1="90" angle2="0" color="black" id="11" length1="2" length2="3" penStyle="hair" point1="3" point4="10" type="simpleInteractive"/>
            <arc aScale="0" angle1="270 - #visor_half_angle" angle2="270 +  #visor_half_angle" center="2" color="black" id="13" penStyle="hair" radius="head_circ / acos(-1) / 2" type="simple"/>
            <point angle="270 - #visor_half_angle" basePoint="2" curve="13" id="14" lineColor="black" mx="0.132292" my="0.264583" name="A6" showLabel="true" type="curveIntersectAxis" typeLine="hair"/>
            <point angle="270 +  #visor_half_angle" basePoint="2" curve="13" id="17" lineColor="black" mx="0.202093" my="0.334384" name="A7" showLabel="true" type="curveIntersectAxis" typeLine="hair"/>
            <point angle="270" basePoint="2" curve="13" id="20" lineColor="black" mx="0.132292" my="0.264583" name="A8" showLabel="true" type="curveIntersectAxis" typeLine="hair"/>
            <point firstPoint="20" id="23" length="-#visor_depth" lineColor="black" mx="0.132292" my="0.264583" name="A9" secondPoint="2" showLabel="true" type="alongLine" typeLine="none"/>
            <spline aScale="0" angle1="270" angle2="0" color="black" id="24" length1="12" length2="6" penStyle="hair" point1="17" point4="23" type="simpleInteractive"/>
            <spline aScale="0" angle1="180" angle2="270" color="black" id="25" length1="6" length2="12" penStyle="hair" point1="23" point4="14" type="simpleInteractive"/>
            <point angle="0" basePoint="2" id="26" length="Line_A2_A1 * 2" lineColor="black" mx="0.132292" my="0.264583" name="A10" showLabel="true" type="endLine" typeLine="hair"/>
            <point firstPoint="2" id="27" length="CurrentLength/2" lineColor="black" mx="0.132292" my="0.264583" name="A11" secondPoint="26" showLabel="true" type="alongLine" typeLine="none"/>
            <point angle="90" basePoint="27" id="28" length="(@head_circ_chin_to_crown - @head_ear_to_ear) / 2 - 1" lineColor="black" mx="0.132292" my="0.264583" name="A12" showLabel="true" type="endLine" typeLine="hair"/>
            <spline aScale="0" angle1="90" angle2="180" color="black" id="29" length1="8" length2="2" penStyle="hair" point1="2" point4="28" type="simpleInteractive"/>
            <spline aScale="0" angle1="0" angle2="90" color="black" id="30" length1="2" length2="8" penStyle="hair" point1="28" point4="26" type="simpleInteractive"/>
        </calculation>
        <modeling>
            <point id="31" idObject="1" inUse="true" mx="0.132292" my="0.264583" showLabel="true" type="modeling"/>
            <spline id="32" idObject="5" inUse="true" type="modelingSpline"/>
            <point id="33" idObject="4" inUse="true" mx="0.132292" my="0.264583" showLabel="true" type="modeling"/>
            <spline id="34" idObject="6" inUse="true" type="modelingSpline"/>
            <point id="35" idObject="2" inUse="true" mx="0.132292" my="0.264583" showLabel="true" type="modeling"/>
            <spline id="36" idObject="8" inUse="false" type="modelingSpline"/>
            <point id="37" idObject="7" inUse="false" mx="0.132292" my="0.264583" showLabel="true" type="modeling"/>
            <spline id="38" idObject="9" inUse="false" type="modelingSpline"/>
            <point id="40" idObject="14" inUse="true" mx="0.132292" my="0.264583" showLabel="true" type="modeling"/>
            <arc id="41" idObject="13" inUse="true" type="modeling"/>
            <point id="42" idObject="17" inUse="true" mx="0.132292" my="0.264583" showLabel="true" type="modeling"/>
            <spline id="43" idObject="24" inUse="true" type="modelingSpline"/>
            <point id="44" idObject="23" inUse="true" mx="0.132292" my="0.264583" showLabel="true" type="modeling"/>
            <spline id="45" idObject="25" inUse="true" type="modelingSpline"/>
            <point id="47" idObject="2" inUse="true" mx="0.132292" my="0.264583" showLabel="true" type="modeling"/>
            <spline id="48" idObject="29" inUse="true" type="modelingSpline"/>
            <point id="49" idObject="28" inUse="true" mx="0.132292" my="0.264583" showLabel="true" type="modeling"/>
            <spline id="50" idObject="30" inUse="true" type="modelingSpline"/>
            <point id="51" idObject="26" inUse="true" mx="0.132292" my="0.264583" showLabel="true" type="modeling"/>
        </modeling>
        <details>
            <detail forbidFlipping="false" forceFlipping="false" hideMainPath="false" id="39" mx="0" my="0" name="head" seamAllowance="true" version="2" width="1">
                <data annotation="" foldPosition="" fontSize="0" height="4" letter="A" mx="128.31" my="-197.083" onFold="false" orientation="" quantity="6" rotation="0" rotationWay="" tilt="" visible="true" width="4">
                    <line alignment="4" bold="true" italic="false" sfIncrement="6" text="%pLetter%"/>
                    <line alignment="4" bold="true" italic="false" sfIncrement="2" text="%pName%"/>
                    <line alignment="4" bold="false" italic="false" sfIncrement="0" text="%mFabric%, %wCut% %pQuantity%"/>
                </data>
                <patternInfo fontSize="0" height="4" mx="126.203" my="-348.844" rotation="0" visible="true" width="4"/>
                <grainline arrows="0" length="1" mx="0" my="0" rotation="90" visible="false"/>
                <nodes>
                    <node idObject="31" type="NodePoint"/>
                    <node idObject="32" reverse="0" type="NodeSpline"/>
                    <node idObject="33" type="NodePoint"/>
                    <node idObject="34" reverse="0" type="NodeSpline"/>
                    <node idObject="35" type="NodePoint"/>
                </nodes>
            </detail>
            <detail forbidFlipping="false" forceFlipping="false" hideMainPath="false" id="46" mx="0.0691619" my="0" name="visor" seamAllowance="true" version="2" width="1">
                <data annotation="" foldPosition="" fontSize="0" height="4" letter="B" mx="366.394" my="408.284" onFold="false" orientation="" quantity="2" rotation="0" rotationWay="" tilt="" visible="true" width="4">
                    <line alignment="4" bold="true" italic="false" sfIncrement="6" text="%pLetter%"/>
                    <line alignment="4" bold="true" italic="false" sfIncrement="2" text="%pName%"/>
                    <line alignment="4" bold="false" italic="false" sfIncrement="0" text="%mFabric%, %wCut% %pQuantity%"/>
                </data>
                <patternInfo fontSize="0" height="4" mx="195.663" my="408.284" rotation="0" visible="true" width="4"/>
                <grainline arrows="0" length="1" mx="0" my="0" rotation="90" visible="false"/>
                <nodes>
                    <node idObject="40" type="NodePoint"/>
                    <node idObject="41" reverse="0" type="NodeArc"/>
                    <node idObject="42" type="NodePoint"/>
                    <node idObject="43" reverse="0" type="NodeSpline"/>
                    <node idObject="44" type="NodePoint"/>
                    <node idObject="45" reverse="0" type="NodeSpline"/>
                </nodes>
            </detail>
            <detail forbidFlipping="false" forceFlipping="false" hideMainPath="false" id="52" mx="0" my="0" name="ear_flap" seamAllowance="true" version="2" width="1">
                <data annotation="" foldPosition="" fontSize="0" height="4" letter="C" mx="521.114" my="-203.168" onFold="false" orientation="" quantity="4" rotation="0" rotationWay="" tilt="" visible="true" width="4">
                    <line alignment="4" bold="true" italic="false" sfIncrement="6" text="%pLetter%"/>
                    <line alignment="4" bold="true" italic="false" sfIncrement="2" text="%pName%"/>
                    <line alignment="4" bold="false" italic="false" sfIncrement="0" text="%mFabric%, %wCut% %pQuantity%"/>
                </data>
                <patternInfo fontSize="0" height="4" mx="521.114" my="-348.606" rotation="0" visible="true" width="4"/>
                <grainline arrows="0" length="1" mx="0" my="0" rotation="90" visible="false"/>
                <nodes>
                    <node idObject="47" type="NodePoint"/>
                    <node idObject="48" reverse="0" type="NodeSpline"/>
                    <node idObject="49" type="NodePoint"/>
                    <node idObject="50" reverse="0" type="NodeSpline"/>
                    <node idObject="51" type="NodePoint"/>
                </nodes>
            </detail>
        </details>
        <groups/>
    </draw>
</pattern>