-
Notifications
You must be signed in to change notification settings - Fork 10
/
index.pl
80 lines (64 loc) · 2.5 KB
/
index.pl
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
#!/usr/bin/perl
use TEMPL;
TEMPL::Init();
$TEMPL::TITLE = 'SolveSpace - parametric 3d CAD';
TEMPL::MakeTemplate();
TEMPL::Output(<<EOT
<div class="header">
<img src="pics/solvespace-scalable.svg" alt="SolveSpace Logo" style="max-width: 100%;" width="70" height="70" align="left">
<span class="header_big">SOLVESPACE</span>
<span class="header_little"> -- parametric 2d/3d CAD</span>
</div>
<div class="tocbox">
$TEMPL::TOC
</div>
<div class="movie">
<video preload="metadata" height="420" width="620"
poster="pics/front-page-pic.png" onloadedmetadata="videoPrepare(this)">
<source src="vids/demo.webm" type="video/webm">
<source src="vids/demo.mp4" type="video/mp4" onerror="videoFallback(parentNode)">
<!-- fall back to showing a picture and a download link -->
<table cellpadding="0" cellspacing="0">
<tr><td>
<img src="pics/front-page-pic.png" width="548" height="410">
</td></tr>
<tr><td align="right">
[<a href="vids/demo.mp4">download demo video</a>]
</td></tr>
</table>
</video>
<a class="playbutton" href="#" onclick="videoPlay(event)" style="display:none">
demo video ▶
</a>
</div>
<div class="footer">
<p style="margin-top: 30px;">SOLVESPACE is a free (GPLv3) parametric 3d CAD tool. Applications include:</p>
<div class="list">
<ul>
<li><b>modeling 3d parts</b> —
draw with extrudes, revolves, helixes and Boolean
(union / difference / intersection) operations</li>
<li><b>modeling 2d parts</b> —
draw the part as a single section, and
export DXF, PDF, SVG; use 3d assembly to verify fit</li>
<li><b>3d-printed parts</b> —
export the STL or other triangle mesh expected by most
3d printers</li>
<li><b>preparing CAM data</b> —
export 2d vector art for a waterjet
machine or laser cutter; or generate STEP or STL, for import
into third-party CAM software for machining</li>
<li><b>mechanism design</b> —
use the constraint solver to simulate
planar or spatial linkages, with pin, ball, or slide joints</li>
<li><b>plane and solid geometry</b> —
replace hand-solved
trigonometry and spreadsheets with a live dimensioned drawing</li>
</ul>
</div>
<p>Learn more about SolveSpace in the <a href="tutorial.$TEMPL::PL">tutorials</a>,
or <a href="download.$TEMPL::PL">download</a> it now.</p>
</div>
EOT
)
;