2021-10-17 18:26:00 +02:00
|
|
|
---
|
2021-08-25 16:09:31 +02:00
|
|
|
title: Points
|
2021-12-27 14:58:44 +01:00
|
|
|
order: 30
|
2021-10-17 18:26:00 +02:00
|
|
|
---
|
2021-08-25 16:09:31 +02:00
|
|
|
|
2022-01-19 13:06:33 +01:00
|
|
|
<Example part="docs_overview" options_focus="Points">
|
2022-01-19 11:31:39 +01:00
|
|
|
Points store coordinates
|
|
|
|
</Example>
|
2021-08-25 16:09:31 +02:00
|
|
|
|
|
|
|
Developing a pattern with FreeSewing is similar to doing it on paper.
|
|
|
|
But instead of using a pencil and paper, you'll be writing code.
|
|
|
|
|
|
|
|
Before we can draw any line, we need to know where it starts from, and where it ends.
|
|
|
|
That's why we have **points**. They are the most basic building block of a
|
|
|
|
FreeSewing pattern, and their role is to store coordinates.
|
|
|
|
|
2021-10-17 18:26:00 +02:00
|
|
|
Each point must have:
|
2021-08-25 16:09:31 +02:00
|
|
|
|
2021-10-17 18:26:00 +02:00
|
|
|
- A **X-coordinate**
|
|
|
|
- A **Y-coordinate**
|
2021-08-25 16:09:31 +02:00
|
|
|
|
|
|
|
Together, these coordinates determine the location of the point in the 2-dimensional plane we're drawing on.
|
|
|
|
|
|
|
|
<Note>
|
|
|
|
|
|
|
|
Points are unlikely to confuse you. The only gotcha is [the
|
2021-10-17 18:26:00 +02:00
|
|
|
coordinate system](/guides/prerequisites/coordinate-system/) which has a Y-axis that is inverted to what you
|
2021-08-25 16:09:31 +02:00
|
|
|
may intuitively expect.
|
|
|
|
|
|
|
|
</Note>
|
|
|
|
|
|
|
|
<Tip>
|
|
|
|
|
2021-10-17 18:26:00 +02:00
|
|
|
Our example image (which, if you hadn't realized was created with FreeSewing) has a lot of
|
2021-08-25 16:09:31 +02:00
|
|
|
points in it. The corners of the boxes, the location where the text goes, and so on.
|
|
|
|
|
|
|
|
</Tip>
|
2021-10-17 18:26:00 +02:00
|
|
|
|