Make a line from the current point to the provided point :param x: the x point, in workplane plane coordinates :param y: the y point, in workplane plane coordinates :return: the Workplane object with the current point at the end of the new line See :meth:`l
(self: T, x: float, y: float, forConstruction: bool = False)
| 1551 | return n |
| 1552 | |
| 1553 | def lineTo(self: T, x: float, y: float, forConstruction: bool = False) -> T: |
| 1554 | """ |
| 1555 | Make a line from the current point to the provided point |
| 1556 | |
| 1557 | :param x: the x point, in workplane plane coordinates |
| 1558 | :param y: the y point, in workplane plane coordinates |
| 1559 | :return: the Workplane object with the current point at the end of the new line |
| 1560 | |
| 1561 | See :meth:`line` if you want to use relative dimensions to make a line instead. |
| 1562 | """ |
| 1563 | startPoint = self._findFromPoint(False) |
| 1564 | |
| 1565 | endPoint = self.plane.toWorldCoords((x, y)) |
| 1566 | |
| 1567 | p = Edge.makeLine(startPoint, endPoint) |
| 1568 | |
| 1569 | if not forConstruction: |
| 1570 | self._addPendingEdge(p) |
| 1571 | |
| 1572 | return self.newObject([p]) |
| 1573 | |
| 1574 | def bezier( |
| 1575 | self: T, |