Skip to content

Commit a77d916

Browse files
authored
Add missing documentation line to the wedge function
1 parent 2297451 commit a77d916

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

cadquery/cq.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2929,9 +2929,9 @@ def twistExtrude(
29292929
) -> T:
29302930
"""
29312931
Extrudes a wire in the direction normal to the plane, but also twists by the specified
2932-
angle over the length of the extrusion
2932+
angle over the length of the extrusion.
29332933
2934-
The center point of the rotation will be the center of the workplane
2934+
The center point of the rotation will be the center of the workplane.
29352935
29362936
See extrude for more details, since this method is the same except for the the addition
29372937
of the angle. In fact, if angle=0, the result is the same as a linear extrude.
@@ -3267,7 +3267,7 @@ def cut(
32673267
self: T, toCut: Union["Workplane", Solid, Compound], clean: bool = True
32683268
) -> T:
32693269
"""
3270-
Cuts the provided solid from the current solid, IE, perform a solid subtraction
3270+
Cuts the provided solid from the current solid, IE, perform a solid subtraction.
32713271
32723272
:param toCut: object to cut
32733273
:type toCut: a solid object, or a CQ object having a solid,
@@ -3742,7 +3742,7 @@ def sphere(
37423742
clean: bool = True,
37433743
) -> T:
37443744
"""
3745-
Returns a 3D sphere with the specified radius for each point on the stack
3745+
Returns a 3D sphere with the specified radius for each point on the stack.
37463746
37473747
:param radius: The radius of the sphere
37483748
:type radius: float > 0
@@ -3816,6 +3816,8 @@ def wedge(
38163816
clean: bool = True,
38173817
) -> T:
38183818
"""
3819+
Returns a 3D wedge with the specified dimensions for each point on the stack.
3820+
38193821
:param dx: Distance along the X axis
38203822
:param dy: Distance along the Y axis
38213823
:param dz: Distance along the Z axis
@@ -3917,7 +3919,7 @@ def text(
39173919
valign: Literal["center", "top", "bottom"] = "center",
39183920
) -> T:
39193921
"""
3920-
Create a 3D text
3922+
Returns a 3D text.
39213923
39223924
:param txt: text to be rendered
39233925
:param fontsize: size of the font in model units

0 commit comments

Comments
 (0)