SplineControlPoints_en.html 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Automatically generated file. Do not edit. -->
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <title>Spline (Control Points)</title>
  6. <link rel="stylesheet" type="text/css" href="../../../../../style.css" />
  7. <meta http-equiv="content-type" content="text/html; charset=UTF-8" /></head>
  8. <body style="font-family:Arial, Helvetica, sans-serif">
  9. <p style="text-align:right;"><a href="/doc/qcad/latest/reference/en/index.php?page=scripts/Draw/Spline/SplineControlPoints/doc/SplineControlPoints">&#160;&#160;&#160;&#160;&#160;&#160;</a></p>
  10. <div class="nobreak">
  11. <h2>Spline (Control Points)</h2>
  12. <p class="toolinfo">
  13. <b>Toolbar / Icon:</b>
  14. <br /><img src="../../doc/Spline.png" width="40" height="40" />
  15. &#160;&#160;&#160;
  16. <img src="../doc/SplineControlPoints.png" width="40" height="40" />
  17. &#160;&#160;&#160;
  18. <br/>
  19. <b>Menu:</b> <font face="courier new">Draw &gt; Spline &gt; Spline (Control Points)</font>
  20. <br /><b>Shortcut:</b> <font face="courier new">S, P</font>
  21. <br /><b>Commands:</b> <font face="courier new">spline | sp</font>
  22. </p>
  23. </div>
  24. <h3>Description</h3>
  25. <p>Draws spline curves from control points. Non-uniform rational B-Splines
  26. (NURBS) with homogeneous weighting factors are the only splines that are
  27. supported.</p>
  28. <h3>Usage</h3>
  29. <div>
  30. <ol>
  31. <li>Choose the degree of the spline in the options tool bar. Supported
  32. degrees are 2 (quadratic b-spline) and 3 (cubic b-spline). The higher the
  33. degree, the 'smoother' the curve becomes.
  34. <br />Note that a quadratic b-spline requires by definition at least 3
  35. control points while a cubic b-spline has at least 4 control points.</li>
  36. <li>Check the 'Closed' check box in the options tool bar if you want to
  37. create a closed spline. Closed splines are continuous closed loops.</li>
  38. <li>Specify the control points. After defining the third (for quadratic
  39. b-splines) or fourth (for cubic b-splines) control point, a preview will be
  40. shown. You can remove the last control point again by clicking the 'Undo'
  41. button in the options tool bar.</li>
  42. <li>Hit escape or click the right mouse button after setting the last point
  43. to confirm the spline shape.</li>
  44. <li>You can now create another spline or right-click again to terminate the
  45. tool.</li>
  46. </ol>
  47. <p>Example for two open splines (quadratic and cubic):
  48. <br />
  49. <img src="SplineControlPoints01.png" class="figure" />
  50. <br />Example for two closed, periodic splines (quadratic and cubic):
  51. <br />
  52. <img src="SplineControlPoints02.png" class="figure" /></p>
  53. </div>
  54. </body>
  55. </html>