Wiki source code of Circle (Math)
Last modified by Michael Jagoutz on 2021/12/20 16:48
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | (% class="row" style="display: flex; align-items: center; margin-bottom: 2em" %) | ||
2 | ((( | ||
3 | (% class="col-xs-12 col-sm-8" %) | ||
4 | ((( | ||
5 | (% class="badge infomessage" %)** MATH **(%%)** In this tutorial, you will learn how to create a kite function.** | ||
6 | |||
7 | //(20 x 20 mm)// | ||
8 | |||
9 | Here you can download the description in [[PDF-format>>attach:Circle.pdf]]! | ||
10 | ))) | ||
11 | |||
12 | (% class="col-xs-12 col-sm-4" %) | ||
13 | ((( | ||
14 | [[image:Kreis.png||alt="Vielecke Example" style="float:right"]] | ||
15 | ))) | ||
16 | ))) | ||
17 | |||
18 | (% class="row" %) | ||
19 | ((( | ||
20 | (% class="col-xs-12 col-sm-6" %) | ||
21 | ((( | ||
22 | (% class="box" %) | ||
23 | ((( | ||
24 | **~1. **Create a new Embroidery-Object. | ||
25 | // Have a look on how to create an embroidery object [[here>>path:/bin/view/Education/Embroidery/Create%20Embroidery-Objects/]].// | ||
26 | ))) | ||
27 | ))) | ||
28 | |||
29 | (% class="col-xs-12 col-sm-6" %) | ||
30 | ((( | ||
31 | (% class="box" %) | ||
32 | ((( | ||
33 | **2. **Rebuild the following script! | ||
34 | |||
35 | [[image:Circle_Math_Skript.png||width="343"]] | ||
36 | ))) | ||
37 | ))) | ||
38 | ))) | ||
39 | |||
40 | (% class="box infomessage" %) | ||
41 | ((( | ||
42 | == **Equation of the circle:** == | ||
43 | |||
44 | === **(x-m_x)² + (y-m_y)² ~= r²** === | ||
45 | |||
46 | === === | ||
47 | |||
48 | m_x is the x-coordinate of the center. | ||
49 | |||
50 | m_y iis the y-coordinate of the center. | ||
51 | |||
52 | Set the starting point of the circle. | ||
53 | ))) | ||
54 | |||
55 | (% class="box infomessage" %) | ||
56 | ((( | ||
57 | == **Calculate the x-coordinate:** == | ||
58 | |||
59 | Reshape the equation of the circle. | ||
60 | |||
61 | [[image:en_circle_sqr.png||height="176" width="343"]] | ||
62 | |||
63 | By the second time you use it, you need to put a minus in front of the square root. | ||
64 | ))) | ||
65 | |||
66 | (% class="box infomessage" %) | ||
67 | ((( | ||
68 | Tip: You find the function "square root" and "power" in the formel editor under "Functions". | ||
69 | ))) | ||
70 | |||
71 | (% class="box" %) | ||
72 | ((( | ||
73 | **3.** It doesn't work? Check the script and functions again. | ||
74 | ))) |