Make a horizontal line from the current point to the provided x coordinate. Useful if it is more convenient to specify the end location rather than distance, as in :meth:`hLine` :param xCoord: x coordinate for the end of the line :return: the Workplane obje
(self: T, xCoord: float, forConstruction: bool = False)
| 1651 | return self.lineTo(p.x, yCoord, forConstruction) |
| 1652 | |
| 1653 | def hLineTo(self: T, xCoord: float, forConstruction: bool = False) -> T: |
| 1654 | """ |
| 1655 | Make a horizontal line from the current point to the provided x coordinate. |
| 1656 | |
| 1657 | Useful if it is more convenient to specify the end location rather than distance, |
| 1658 | as in :meth:`hLine` |
| 1659 | |
| 1660 | :param xCoord: x coordinate for the end of the line |
| 1661 | :return: the Workplane object with the current point at the end of the new line |
| 1662 | """ |
| 1663 | p = self._findFromPoint(True) |
| 1664 | return self.lineTo(xCoord, p.y, forConstruction) |
| 1665 | |
| 1666 | def polarLine( |
| 1667 | self: T, distance: float, angle: float, forConstruction: bool = False |