Skip to content

GeometryElementCollection

implementation of the geometry element collection

GeometryElementCollection

Canonical path: TestHelper.GeometryElementCollection.GeometryElementCollection

implementation of the geometry element collection

create_arc2d_0_270 staticmethod

create_arc2d_0_270() -> Arc2D

create a 2D arc with 270 deg

Returns:

create_arc3d_0_270 staticmethod

create_arc3d_0_270(z_coord: float = 0) -> Arc3D

create a 3D arc with 270 deg

Parameters:

  • z_coord (float, default: 0 ) –

    z coordinate of the arc

Returns:

create_arc3d_ellipse_90_270

create_arc3d_ellipse_90_270()

create a 3D elliptic arc with 180 deg

Parameters:

  • z_coord

    z coordinate of the arc

Returns:

  • 3D arc

create_brep3d_as_cylinder staticmethod

create_brep3d_as_cylinder()

create a cylinder as 3D bRep

Returns:

  • 3D brep

create_bspline2d staticmethod

create_bspline2d() -> BSpline2D

create a 2D bspline

Returns:

create_bspline3d staticmethod

create_bspline3d(z_coord: float = 0) -> BSpline3D

create a 3D bspline

Parameters:

  • z_coord (float, default: 0 ) –

    z coordinate

Returns:

create_clothoid2d staticmethod

create_clothoid2d() -> Clothoid2D

create a 2D clothoid

Returns:

create_line2d_plus_to_minus staticmethod

create_line2d_plus_to_minus() -> Line2D

create a 2D line from plus to minus coordinates

Returns:

create_line3d_plus_to_minus staticmethod

create_line3d_plus_to_minus() -> Line3D

create a 3D line from plus to minus coordinates

Returns:

create_path2d staticmethod

create_path2d() -> Path2D

create a 2D path

Returns:

create_path3d staticmethod

create_path3d(z_coord: float = 0) -> Path3D

create a 3D path

Parameters:

  • z_coord (float, default: 0 ) –

    z coordinate of the path

Returns:

create_polygon2d_as_box staticmethod

create_polygon2d_as_box() -> Polygon2D

create a 2D polygon as U

Returns:

create_polygon3d_as_box staticmethod

create_polygon3d_as_box() -> Polygon3D

create a 3D polygon as U

Returns:

create_polyhedron3d_as_box staticmethod

create_polyhedron3d_as_box() -> Polyhedron3D

create a box as 3D polyhedron

Returns:

create_polyline2d_as_u staticmethod

create_polyline2d_as_u() -> Polyline2D

create a 2D polyline as U

Returns:

create_polyline3d_as_u staticmethod

create_polyline3d_as_u() -> Polyline3D

create a 3D polyline as U

Returns:

create_spline2d staticmethod

create_spline2d() -> Spline2D

create a 2D spline

Returns:

create_spline3d staticmethod

create_spline3d() -> Spline3D

create a 3D spline

Returns: