aboutsummaryrefslogtreecommitdiff
path: root/35x30-90⁰.svg
blob: 09137778c0be9418430926d20ae1c102a9329237 (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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->

<svg
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:cc="http://creativecommons.org/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   onload="Start(evt)"
   width="1052.3622"
   height="744.09448"
   id="svg2"
   version="1.1"
   inkscape:version="0.48.4 r9939"
   sodipodi:docname="35x30-90⁰.svg">
  <script
     type="text/ecmascript"
     id="showMergeScript">

    // How long to sleep between steps
    var delta_time = 25;

    //  Distances and angles needed for the transformation
    var height;          // the height of the isolation
    var r_angle_max;     // the maximum angle to rotate the isolation
    var r_upper_left_x;
    var r_upper_left_y;
    var l_upper_left_y;

    // Tracking the transformation progress
    var l_y_off = 0;
    var r_angle = 0;

    // Paths representing the left and right half of the isolation
    var l_iso, r_iso;
    // used to pass along the rotation transformation
    var r_rot_trans;

    function Start(evt) {

      r_iso = evt.target.ownerDocument.getElementById(&quot;rightIso&quot;);
      l_iso = evt.target.ownerDocument.getElementById(&quot;leftIso&quot;);

      getDists();
      rotateUp();
    }

    // Get the distances we need to move objects from the paths
    function getDists() {
        var segments;
	var lower_y;
	// We rotate about the left upper point of the right part
	r_angle_max = -90;

        segments = r_iso.pathSegList;
        for (var i=0,len = segments.numberOfItems;i &lt; len; ++i) {
            var pathSeg = segments.getItem(i);
            switch(pathSeg.pathSegType) {
                case SVGPathSeg.PATHSEG_MOVETO_ABS:
                    r_upper_left_x = pathSeg.x;
                    r_upper_left_y = l_upper_left_y = pathSeg.y;
                    break;
		case SVGPathSeg.PATHSEG_LINETO_ABS:
		    if (pathSeg.y &gt; r_upper_left_y) {
                        lower_y = pathSeg.y;
		    }
		    break;
            }
        }
        // The heigt of the isolation.
        // Since this is a 90⁰ angle it's also the distance from the
        //  &quot;midth line&quot; of the cut to the &quot;0&quot; on
        // the x-axis
	height = lower_y - r_upper_left_y;
    }

    // First rotate the right side up
    function rotateUp() {
      if (r_angle  &gt; r_angle_max) {
          r_angle -= 2;
	  r_rot_trans = &quot;rotate(&quot; + r_angle + &quot;, &quot; + r_upper_left_x + &quot;, &quot; + r_upper_left_y + &quot;)&quot;

          r_iso.setAttribute(&quot;transform&quot;,
	                     r_rot_trans);
	  setTimeout(&quot;rotateUp()&quot;,
                     delta_time);
      } else {
          setTimeout(&quot;flip()&quot;, delta_time);
      }
    }

    // Flip the left end
    function flip() {
        var delta = -1 * (l_upper_left_y + height);
	var l_flip_trans = &quot;translate(0, &quot; + l_upper_left_y + &quot;) scale(1, -1) translate( 0, &quot; + delta + &quot; )&quot;

        l_iso.setAttribute(&quot;transform&quot;,
	                   l_flip_trans);
        setTimeout(&quot;moveLeft()&quot;, delta_time);
    }

    // Move pieces together
    function moveLeft() {
        l_y_off_max = -height;

        if (l_y_off &gt; l_y_off_max) {
          l_y_off -= 5;
	  if (l_y_off &lt; l_y_off_max) l_y_off = l_y_off_max;
          trans = r_rot_trans + &quot; translate(0.0, &quot; + l_y_off + &quot;)&quot;

          r_iso.setAttribute(&quot;transform&quot;, trans);
	  setTimeout(&quot;moveLeft()&quot;, delta_time);
      }
    }
   </script>
  <sodipodi:namedview
     id="base"
     pagecolor="#ffffff"
     bordercolor="#666666"
     borderopacity="1.0"
     inkscape:pageopacity="0.0"
     inkscape:pageshadow="2"
     inkscape:zoom="1.569613"
     inkscape:cx="712.78989"
     inkscape:cy="125.40464"
     inkscape:document-units="cm"
     inkscape:current-layer="layer1"
     showgrid="true"
     objecttolerance="10000"
     showguides="false"
     inkscape:snap-from-guide="true"
     gridtolerance="10000"
     guidetolerance="10000"
     inkscape:window-width="1366"
     inkscape:window-height="716"
     inkscape:window-x="0"
     inkscape:window-y="27"
     inkscape:window-maximized="1">
    <inkscape:grid
       originy="5cm"
       dotted="false"
       originx="5cm"
       spacingy="0.5cm"
       spacingx="0.25cm"
       units="cm"
       snapvisiblegridlinesonly="true"
       enabled="true"
       visible="true"
       empspacing="5"
       id="grid2985"
       type="xygrid" />
  </sodipodi:namedview>
  <defs
     id="defs4" />
  <metadata
     id="metadata7">
    <rdf:RDF>
      <cc:Work
         rdf:about="">
        <dc:format>image/svg+xml</dc:format>
        <dc:type
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
        <dc:title />
        <dc:description>Cutting Template for 90⁰ angels of Rockwool 800 35x30 for radii of about 3.5 cm</dc:description>
        <cc:license
           rdf:resource="http://creativecommons.org/licenses/by-sa/3.0/" />
      </cc:Work>
      <cc:License
         rdf:about="http://creativecommons.org/licenses/by-sa/3.0/">
        <cc:permits
           rdf:resource="http://creativecommons.org/ns#Reproduction" />
        <cc:permits
           rdf:resource="http://creativecommons.org/ns#Distribution" />
        <cc:requires
           rdf:resource="http://creativecommons.org/ns#Notice" />
        <cc:requires
           rdf:resource="http://creativecommons.org/ns#Attribution" />
        <cc:permits
           rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
        <cc:requires
           rdf:resource="http://creativecommons.org/ns#ShareAlike" />
      </cc:License>
    </rdf:RDF>
  </metadata>
  <g
     style="display:inline"
     transform="translate(0,-308.2677)"
     id="layer1"
     inkscape:groupmode="layer"
     inkscape:label="Text">
    <path
       inkscape:connector-curvature="0"
       id="path2989"
       d="m 177.16535,566.92913 708.66142,0 70.86614,0"
       style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
       transform="translate(0,308.2677)" />
    <path
       inkscape:connector-curvature="0"
       id="middleLine"
       d="m 531.49606,531.49606 0,70.86614"
       style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
       transform="translate(0,308.2677)"
       inkscape:label="#path2995" />
    <path
       inkscape:connector-curvature="0"
       id="path3039"
       d="M 106.29921,141.73228 531.49606,566.92913 956.69291,141.73228"
       style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
       transform="translate(0,308.2677)" />
    <text
       sodipodi:linespacing="125%"
       id="text3811"
       y="343.70078"
       x="88.58268"
       style="font-size:28px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:FreeSans;-inkscape-font-specification:Sans Bold"
       xml:space="preserve"><tspan
         y="343.70078"
         x="88.58268"
         id="tspan3813"
         sodipodi:role="line">Template for 90⁰ angle with Rockwool 800 35x30</tspan><tspan
         id="tspan4038"
         y="378.70078"
         x="88.58268"
         sodipodi:role="line">Suitable for small radii (~ 3,5cm)</tspan></text>
    <path
       inkscape:connector-curvature="0"
       id="path3847"
       d="m 177.16535,566.92913 -70.86614,0"
       style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
       transform="translate(0,308.2677)" />
    <path
       inkscape:connector-curvature="0"
       id="path3871"
       d="m 106.29921,230.31495 850.3937,0"
       style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
       transform="translate(0,308.2677)" />
    <path
       inkscape:connector-curvature="0"
       id="path3873"
       d="m 868.11024,124.01574 0,478.34646"
       style="fill:none;stroke:#000000;stroke-width:0.99212599;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:0.99212598, 3.96850394;stroke-dashoffset:0"
       transform="translate(0,308.2677)" />
    <text
       sodipodi:linespacing="125%"
       id="text3875"
       y="619.09448"
       x="872.14288"
       style="font-size:28px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:FreeSans;-inkscape-font-specification:Sans Bold"
       xml:space="preserve"
       transform="translate(0,308.2677)"><tspan
         y="619.09448"
         x="872.14288"
         id="tspan3877"
         sodipodi:role="line">0</tspan><tspan
         id="tspan3879"
         y="654.09448"
         x="872.14288"
         sodipodi:role="line" /></text>
    <path
       inkscape:connector-curvature="0"
       id="path3883"
       d="m 868.11024,549.21259 0,35.43307"
       style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
       transform="translate(0,308.2677)" />
    <path
       inkscape:connector-curvature="0"
       id="path3887"
       d="m 903.54331,566.92913 0,17.71653"
       style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
       transform="translate(0,308.2677)" />
    <path
       inkscape:connector-curvature="0"
       id="path3889"
       d="m 938.97638,566.92913 0,17.71653"
       style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
       transform="translate(0,308.2677)" />
    <path
       inkscape:connector-curvature="0"
       id="path3891"
       d="m 194.88189,432.30278 0,478.44837"
       style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1, 2;stroke-dashoffset:0" />
    <text
       sodipodi:linespacing="125%"
       id="text3893"
       y="928.34644"
       x="903.54333"
       style="font-size:28px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:FreeSans;-inkscape-font-specification:Sans Bold"
       xml:space="preserve"><tspan
         y="928.34644"
         x="903.54333"
         id="tspan3895"
         sodipodi:role="line">1</tspan></text>
    <text
       sodipodi:linespacing="125%"
       id="text3897"
       y="928.34644"
       x="941.83466"
       style="font-size:28px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:FreeSans;-inkscape-font-specification:Sans Bold"
       xml:space="preserve"><tspan
         y="928.34644"
         x="941.83466"
         id="tspan3899"
         sodipodi:role="line">2cm </tspan></text>
    <a
       id="a4034"
       transform="translate(-15.927493,-0.63709972)">
      <text
         xml:space="preserve"
         style="font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:FreeSans;-inkscape-font-specification:FreeSans"
         x="664.37006"
         y="1034.6456"
         id="text3903"
         sodipodi:linespacing="125%"><tspan
           sodipodi:role="line"
           id="tspan3905"
           x="664.37006"
           y="1034.6456">CC-by-SA, © 2013 Guido Günther &lt;agx@sigxcpu.org&gt;</tspan></text>
    </a>
    <text
       sodipodi:linespacing="125%"
       id="text4040"
       y="132.31886"
       x="77.485573"
       style="font-size:28px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:FreeSans;-inkscape-font-specification:Sans Bold"
       xml:space="preserve"
       transform="translate(0,308.2677)"><tspan
         y="132.31886"
         x="77.485573"
         id="tspan4042"
         sodipodi:role="line">✂</tspan></text>
    <text
       sodipodi:linespacing="125%"
       id="text4040-3"
       y="449.99997"
       x="974.40942"
       style="font-size:28px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;display:inline;font-family:FreeSans;-inkscape-font-specification:Sans Bold"
       xml:space="preserve"><tspan
         y="449.99997"
         x="974.40942"
         id="tspan4042-7"
         sodipodi:role="line">✂</tspan></text>
  </g>
  <g
     style="display:inline"
     inkscape:label="cutout"
     id="layer3"
     inkscape:groupmode="layer">
    <path
       style="color:#000000;fill:#284550;fill-opacity:0.28703703;fill-rule:evenodd;stroke:none;stroke-width:0.99212599;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
       d="m 86.79176,230.3125 0,336.625 442.90625,0 336.625,-336.625 -336.625,0 -336.625,0 -106.28125,0 z"
       id="leftIso"
       inkscape:connector-curvature="0" />
  </g>
  <g
     style="display:inline"
     inkscape:label="iso-cut"
     id="layer2"
     inkscape:groupmode="layer">
    <path
       style="color:#000000;fill:#284550;fill-opacity:0.28703703;fill-rule:evenodd;stroke:none;stroke-width:0.99212599;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
       d="M 868.125 230.3125 L 531.5 566.9375 L 974.40625 566.9375 L 974.40625 230.3125 L 868.125 230.3125 z "
       id="rightIso" />
  </g>
</svg>