web-legacy/solvespace/case-study.html

196 lines
11 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Applications of SolveSpace CAD &raquo; M-Labs</title>
<link rel="stylesheet" type="text/css" media="screen" href="../style.css" />
<link rel="icon" type="image/png" href="../favicon.png" />
<script src="javascript/hammer-2.0.8.js"></script>
<script src="javascript/three-r76.js"></script>
<script src="javascript/SolveSpaceControls.js"></script>
</head>
<body>
<div id="header">
<div id="headerinside">
<div id="logo"><a href="../index.html"><img src="../logo.png"></a></div>
<ul id="menu">
<li><a href="../artiq/index.html">artiq</a></li>
<li><a class="selected" href="index.html">solvespace</a></li>
<li><a href="../gateware.html">gateware</a></li>
<li><a href="../video.html">video</a></li>
<li><a href="../public_events.html">events</a></li>
<li><a href="../about.html">about</a></li>
</ul>
</div>
</div>
<div id="container">
<div class="full">
<h2>What is SolveSpace?</h2>
<p><a href="http://solvespace.com">SolveSpace</a> is a libre and open-source parametric computer-aided design application that uses a NURBS geometric kernel, allowing it to represent curved surfaces exactly. It was originally released by <a href="http://cq.cx">Jonathan Westhues</a> under the GPLv3 license and is presently further developed at M-Labs.</p>
<h2>What can be done with SolveSpace?</h2>
<p>SolveSpace is primarily useful for mechanical design. At M-Labs, we use it to design vacuum chambers as well as custom fittings and fixtures. The models can then be exported as STEP or PDF with dimensions and sent to a machine shop for manufacturing.</p>
<h3>Fittings and adapters</h3>
<p>Of course, most vacuum chambers would have some standard flanges. These can be easily modelled using a single sketch and a lathe operation:</p>
<p>
<img src="images/kf25-section.png" style="width:400px;">
<script src="models/kf25.js"></script>
<script id="kf25" type="text/javascript">
document.addEventListener("DOMContentLoaded", function() {
var node = document.getElementById("kf25"),
params = {width: 400, height: 300, scale: 10, offset: new THREE.Vector3(-8, 0, 0)};
node.parentNode.replaceChild(solvespace(solvespace_model_kf25, params), node);
});
</script>
</p>
<p>(The illustration on the right is "live"; it can be panned, rotated and scaled.)</p>
<p>In a similar way, an NW160 viewport and an adapter with an NW160 flange, a KF40, two KF25 and two KF16 ports were designed:</p>
<p>
<script src="models/viewport.js"></script>
<script id="viewport" type="text/javascript">
document.addEventListener("DOMContentLoaded", function() {
var node = document.getElementById("viewport"),
params = {width: 400, height: 300, scale: 3};
node.parentNode.replaceChild(solvespace(solvespace_model_viewport, params), node);
});
</script>
<script src="models/multiport.js"></script>
<script id="multiport" type="text/javascript">
document.addEventListener("DOMContentLoaded", function() {
var node = document.getElementById("multiport"),
params = {width: 400, height: 300, scale: 3};
node.parentNode.replaceChild(solvespace(solvespace_model_multiport, params), node);
});
</script>
</p>
<h3>A vacuum chamber</h3>
<p>The fittings above were designed to be used with a cylindrical vacuum chamber, 200mm long with two NW160 flanges, two KF40 and one KF25 ports:</p>
<p>
<script src="models/chamber.js"></script>
<script id="chamber" type="text/javascript">
document.addEventListener("DOMContentLoaded", function() {
var node = document.getElementById("chamber"),
params = {width: 800, height: 600, scale: 3};
node.parentNode.replaceChild(solvespace(solvespace_model_chamber, params), node);
});
</script>
</p>
<h3>Cryocooler refilling fixture</h3>
<p>To repair a broken Ricor K526S crycooler, it was necessary to disassemble it, which of course meant it was depressurized. To evacuate it and eventually refill with helium, a special fixture was designed, as the cryocooler's filling port is just a hole in the case with a set screw. Further, an adapter that allows to insert the cold head into a vacuum system via a KF25 port was also designed.</p>
<p>First, the cryocooler and its cold head were modelled to verify fits:</p>
<p>
<script src="models/k526s-body.js"></script>
<script id="k526s-body" type="text/javascript">
document.addEventListener("DOMContentLoaded", function() {
var node = document.getElementById("k526s-body"),
params = {width: 400, height: 300, scale: 6, offset: new THREE.Vector3(-10, -15, 0)};
node.parentNode.replaceChild(solvespace(solvespace_model_k526s_body, params), node);
});
</script>
<script src="models/k526s-head.js"></script>
<script id="k526s-head" type="text/javascript">
document.addEventListener("DOMContentLoaded", function() {
var node = document.getElementById("k526s-head"),
params = {width: 400, height: 300, scale: 8, offset: new THREE.Vector3(25, 0, 0)};
node.parentNode.replaceChild(solvespace(solvespace_model_k526s_head, params), node);
});
</script>
</p>
<p>Then, a fixture was designed, shown below with a cutout (blue). It consists of a bracket, a piston case that screws into the bracket (the thread is not modelled), a piston with a retaining screw, a retaining washer, a Swagelok fitting attached to the orange port (not modelled), and a few compression gaskets (also not modelled). The bracket and the piston case hold the cryocooler The retaining washer prevents the piston from being ejected by high pressure helium and, conversely, together with another washer prevents the piston from being sucked in and blocking the gas flow during evacuation.</p>
<p>
<script src="models/k526s-fixture.js"></script>
<script id="k526s-fixture" type="text/javascript">
document.addEventListener("DOMContentLoaded", function() {
var node = document.getElementById("k526s-fixture"),
params = {width: 800, height: 400, scale: 12};
node.parentNode.replaceChild(solvespace(solvespace_model_k526s_fixture, params), node);
});
</script>
</p>
<p>The KF25 adapter for the cold head is a much simpler device:</p>
<p>
<script src="models/k526s-adapter.js"></script>
<script id="k526s-adapter" type="text/javascript">
document.addEventListener("DOMContentLoaded", function() {
var node = document.getElementById("k526s-adapter"),
params = {width: 400, height: 300, scale: 8, offset: new THREE.Vector3(-8, 0, 0)};
node.parentNode.replaceChild(solvespace(solvespace_model_k526s_adapter, params), node);
});
</script>
<script src="models/k526s-adapter-assy.js"></script>
<script id="k526s-adapter-assy" type="text/javascript">
document.addEventListener("DOMContentLoaded", function() {
var node = document.getElementById("k526s-adapter-assy"),
params = {width: 400, height: 300, scale: 8};
node.parentNode.replaceChild(solvespace(solvespace_model_k526s_adapter_assy, params), node);
});
</script>
</p>
<h2>Ongoing development by M-Labs</h2>
<p>As originally released, SolveSpace was far ahead almost every other FLOSS CAD by virtue of its parametric nature, exact internal representation of curves and a codebase easy to work with. (The only other FLOSS parametric CAD that uses a NURBS representation, including NURBS booleans, is FreeCAD.) While it was already suitable for practical work, it had a much greater unrealized potential.</p>
<p>Thus, M-Labs has developed many additional features:</p>
<ul>
<li>Native Linux (GTK) and OS X ports;</li>
<li>stippling as well as <a href="images/hiddenline.gif">outline and hidden line</a> styling in preparation for export of shop drawings according to ISO or another standard;</li>
<li>WebGL export using Three.js, which is how the interactive models on this page work;</li>
<li>DXF export that preserves the ability to edit the drawing afterwards, by mapping parametric constraints to DXF dimensions and grouping the lines;</li>
<li>DXF import that automatically infers (some) constraints, such as horizontal/vertical, point-coincident, linear and angular dimensions from DXF geometry and dimensions;</li>
<li>internationalization;</li>
<li>and many other minor ones.</li>
</ul>
<p>Currently, the focus of development is to improve SolveSpace's handling of complex assemblies with many similar parts by allowing to load a hierarchy of sketches instead of a single sketch and propagate the changes as they are made, and to derive many variants of geometry from a single sketch. For example, these changes would allow to use a single basic sketch to model framework made from varying lengths of 80/20 profile, whereas currently that would require a separate sketch for every size of cut.</p>
</div>
</div>
<div id="footer">
<div id="footerinside">
<table width="100%"><tr>
<td><p><img src="../logo_small.png"><br /><br />The open source experimental physics company.</p></td>
<td><p><b>M-Labs Limited</b><br />5/F., Yat Chau Building<br />262 Des Voeux Road Central<br />Hong Kong<br />+852-59362721</p></td>
<td><a href="https://webchat.freenode.net/?channels=m-labs">Freenode #m-labs</a><br /><a href="https://ssl.serverraum.org/lists/listinfo/devel/">Developer mailing list</a><br />
GitHub: <a href="https://github.com/m-labs">m-labs</a><br />
Twitter: @<a href="http://twitter.com/M_Labs_Ltd">M_Labs_Ltd</a><br />
</td>
</tr></table>
</div>
</div>
</body>
</html>