Code: Select all

```
import Draft
import Part
from FreeCAD import Vector
bez_edge = Draft.makeBezCurve([Vector (0.0, 0.0, 0.0), Vector (0.5, 0.0, 0.0), Vector (1.0, 0.5, 0.0), Vector (1.0, 1.0, 0.0)]).Shape.Edges[0]
print ("bez_edge.valueAt (1.0): {}".format (bez_edge.valueAt (1.0)))
print ("bez_edge.valueAt (1.0 * bez_edge.Length): {}".format (bez_edge.valueAt (1.0 * bez_edge.Length)))
line_edge = Part.makeLine (Vector (0.0, 0.0, 0.0), Vector (1.0, 1.0, 0.0))
Part.show (line_edge)
print ("line_edge.valueAt (1.0): {}".format (line_edge.valueAt (1.0)))
print ("line_edge.valueAt (1.0 * line_edge.Length): {}".format (line_edge.valueAt (1.0 * line_edge.Length)))
circle_edge = Part.makeCircle (1.0, Vector (1.0, 0.0, 0.0), Vector (0.0, 0.0, 1.0), 0, 90)
Part.show (circle_edge)
print ("Part.makeCircle (1.0, Vector (1.0, 0.0, 0.0), Vector (0.0, 0.0, 1.0), 0, 90)")
print ("circle_edge.valueAt (1.0): {}".format (circle_edge.valueAt (1.0)))
print ("circle_edge.valueAt (1.0 * circle_edge.Length): {}".format (circle_edge.valueAt (1.0 * circle_edge.Length)))
circle_edge = Part.makeCircle (1.0, Vector (2.0, 1.0, 0.0), Vector (0.0, 0.0, 1.0), 90, 180)
Part.show (circle_edge)
print ("Part.makeCircle (1.0, Vector (2.0, 1.0, 0.0), Vector (0.0, 0.0, 1.0), 90, 180)")
print ("circle_edge.valueAt (1.0): {}".format (circle_edge.valueAt (1.0)))
print ("circle_edge.valueAt (1.0 * circle_edge.Length): {}".format (circle_edge.valueAt (1.0 * circle_edge.Length)))
```

Code: Select all

```
bez_edge.valueAt (1.0): Vector (1.0, 1.0, 0.0)
bez_edge.valueAt (1.0 * bez_edge.Length): Vector (0.465441057817615, 1.7406270428980575, 0.0)
line_edge.valueAt (1.0): Vector (0.7071067811865475, 0.7071067811865475, 0.0)
line_edge.valueAt (1.0 * line_edge.Length): Vector (1.0, 1.0, 0.0)
Part.makeCircle (1.0, Vector (1.0, 0.0, 0.0), Vector (0.0, 0.0, 1.0), 0, 90)
circle_edge.valueAt (1.0): Vector (1.5403023058681398, 0.8414709848078965, 0.0)
circle_edge.valueAt (1.0 * circle_edge.Length): Vector (1.0, 1.0, 0.0)
Part.makeCircle (1.0, Vector (2.0, 1.0, 0.0), Vector (0.0, 0.0, 1.0), 90, 180)
circle_edge.valueAt (1.0): Vector (2.5403023058681398, 1.8414709848078965, 0.0)
circle_edge.valueAt (1.0 * circle_edge.Length): Vector (2.0, 2.0, 0.0)
```