diff --git a/doc/python_api/scripted_elements_api.md b/doc/python_api/scripted_elements_api.md index 3aa0f24..c38fd09 100644 --- a/doc/python_api/scripted_elements_api.md +++ b/doc/python_api/scripted_elements_api.md @@ -119,7 +119,7 @@ On success the function must return True, otherwise False. ```{code-block} python result = (x,y,z) -result = gom.Vec3D +result = gom.Vec3d ``` ### Distance @@ -129,7 +129,7 @@ result = gom.Vec3D ```{code-block} python result = { 'point1': (x,y,z), 'point2': (x,y,z) } -result = { 'point1': gom.Vec3D, 'point2': gom.Vec3D } +result = { 'point1': gom.Vec3d, 'point2': gom.Vec3d } ``` ### Value Element @@ -147,7 +147,7 @@ result = x :Result: A center point, direction vector and radius (double) ```{code-block} python -result = { 'center' : gom.Vec3D, 'direction' : gom.Vec3D, 'radius' : double } +result = { 'center' : gom.Vec3d, 'direction' : gom.Vec3d, 'radius' : double } ``` ### Curve @@ -156,7 +156,7 @@ result = { 'center' : gom.Vec3D, 'direction' : gom.Vec3D, 'radius' : double } :Result: A curve can be made up by an array of subcurves. Each subcurve is a polyline. A closed curve will be created, if first point = last point. ```{code-block} python -result = [ { 'points': [gom.Vec3D, gom.Vec3D, ...] } ] +result = [ { 'points': [gom.Vec3d, gom.Vec3d, ...] } ] ``` ### Surface Curve @@ -166,7 +166,7 @@ result = [ { 'points': [gom.Vec3D, gom.Vec3D, ...] } ] % ```{code-block} python % # This does not work! -% result = [ { 'points': [ gom.Vec3D, gom.Vec3D, ... ], 'normals': [(x,y,z)] } ] +% result = [ { 'points': [ gom.Vec3d, gom.Vec3d, ... ], 'normals': [(x,y,z)] } ] % ``` % :::{caution} @@ -202,7 +202,7 @@ result = { :Result: A set of points. The 'normals 'attribute is optional. ```{code-block} python -result = { 'points' : [ gom.Vec3D, gom.Vec3D, ... ] , 'normals' : [ gom.Vec3D, gom.Vec3D, ... ] } +result = { 'points' : [ gom.Vec3d, gom.Vec3d, ... ] , 'normals' : [ gom.Vec3d, gom.Vec3d, ... ] } ``` ### Surface