MCPcopy
hub / github.com/CadQuery/cadquery / vLine

Method vLine

cadquery/cq.py:1622–1629  ·  view source on GitHub ↗

Make a vertical line from the current point the provided distance :param distance: (y) distance from current point :return: the Workplane object with the current point at the end of the new line

(self: T, distance: float, forConstruction: bool = False)

Source from the content-addressed store, hash-verified

1620 return self.lineTo(p.x + xDist, yDist + p.y, forConstruction)
1621
1622 def vLine(self: T, distance: float, forConstruction: bool = False) -> T:
1623 """
1624 Make a vertical line from the current point the provided distance
1625
1626 :param distance: (y) distance from current point
1627 :return: the Workplane object with the current point at the end of the new line
1628 """
1629 return self.line(0, distance, forConstruction)
1630
1631 def hLine(self: T, distance: float, forConstruction: bool = False) -> T:
1632 """

Callers 15

testSweepMethod · 0.80
testCutMethod · 0.80
testCutThroughAllMethod · 0.80
test2DDrawingMethod · 0.80
testOccBottleMethod · 0.80
testFilletMethod · 0.80
testChamferMethod · 0.80
testSplitErrorMethod · 0.80
testSimpleShellMethod · 0.80
testTangentArcToPointMethod · 0.80
testOffset2DMethod · 0.80
testCutEachMethod · 0.80

Calls 1

lineMethod · 0.95

Tested by 15

testSweepMethod · 0.64
testCutMethod · 0.64
testCutThroughAllMethod · 0.64
test2DDrawingMethod · 0.64
testOccBottleMethod · 0.64
testFilletMethod · 0.64
testChamferMethod · 0.64
testSplitErrorMethod · 0.64
testSimpleShellMethod · 0.64
testTangentArcToPointMethod · 0.64
testOffset2DMethod · 0.64
testCutEachMethod · 0.64