Preserve pcurves in TopoShapeEdge.split

This commit is contained in:
tomate44
2024-04-27 12:24:26 +02:00
committed by wwmayer
parent 1483838c19
commit f0a72fbe59
2 changed files with 11 additions and 5 deletions

View File

@@ -358,11 +358,11 @@ Part.show(s)
split(paramval) -> Wire
--
Args:
paramval (float or int): The parameter value along the Edge at which to
paramval (float or list_of_floats): The parameter values along the Edge at which to
split it e.g:
x = Part.makeCircle(1, FreeCAD.Vector(0,0,0), FreeCAD.Vector(0,0,1), 0, 90)
y = x.derivative3At(x.FirstParameter + 0.5 * (x.LastParameter - x.FirstParameter))
edge = Part.makeCircle(1, FreeCAD.Vector(0,0,0), FreeCAD.Vector(0,0,1), 0, 90)
wire = edge.split([0.5, 1.0])
Returns:
Wire: wire made up of two Edges