


With the built-in geometry kernel this constructs a Catmull-Rom spline. ~Point.x ( array-like) – Point coordinates. Mesh_size ( The prescribed mesh element size at this point.) – X ( Give the coordinates X, Y ( and Z ) of the point in the three-dimensional) – Euclidean space. ~Line.points ( array-like ) – List containing the begin and end points of the line. P1 ( Point object that represents the end of the line.) – P0 ( Point object that represents the start of the line.) – Line ( env, p0, p1 ) ¶Ĭreates a straight line segment. If the orientation is correct,īut the ordering is wrong, Gmsh will actually reorder the list internally to createĪ consistent loop. Oriented (negating to specify reverse orientation). Increments the Line ID every time a new object is created that inheritsĬurves ( Containing the lines defining the shape.) –Ī line loop must be a closed loop, and the elementary lines should be ordered and LineBase ( id0, points ) ¶īases: object dim = 1 ¶ CurveLoop ¶ class _loop. Point_on_major_axis ( Point on the center axis of ellipse.) –Įnd ( Coordinates of end point needed to construct elliptic arc.) – Start ( Coordinates of start point needed to construct elliptic arc.) –Ĭenter ( Coordinates of center point needed to construct elliptic arc.) – EllipseArc ( env, start, center, point_on_major_axis, end ) ¶ Start ( Coordinates of start point needed to construct circle-arc.) –Ĭenter ( Coordinates of center point needed to construct circle-arc.) –Įnd ( Coordinates of end point needed to construct circle-arc.) –ĮllipseArc ¶ class _arc. BSpline ( env, control_points ) ¶Ĭontrol_points ( Contains the identification numbers of the control points.) – CircleArc ¶ class _arc. Translates input_entity itself by vector.Ĭhanges the input object. synchronize ( ) ¶ translate ( obj, vector ) ¶ Should contain four expressions giving the coefficients of the plane’s equation. Transforms all elementary entities symmetrically to a plane. save_geometry ( filename ) ¶ set_background_mesh ( * args, ** kwargs ) ¶ set_mesh_size_callback ( fun, ignore_other_mesh_sizes = True ) ¶ set_recombined_surfaces ( surfaces ) ¶ set_transfinite_curve ( curve, num_nodes, mesh_type, coeff ) ¶ set_transfinite_surface ( surface, arrangement, corner_pts ) ¶ set_transfinite_volume ( volume, corner_pts ) ¶ symmetrize ( obj, coefficients ) ¶ mirror ( obj, abcd ) ¶ remove ( obj, recursive = False ) ¶ rotate ( obj, point, angle, axis ) ¶ Rotate input_entity around a given point with a given angle.Ĭhanges the input object. Will conform to the mesh of the input entities. in_volume ( input_entity, volume ) ¶Įmbed the point(s)/curve(s)/surface(s) in the given volume.

The surface mesh willĬonform to the mesh of the point(s) or curves(s). in_surface ( input_entity, surface ) ¶Įmbed the point(s) or curve(s) in the given surface. Return a meshio.Mesh, storing the mesh points, cells, and data, generated by generate_mesh ( dim = 3, order = None, algorithm = None, verbose = False ) ¶ add_bezier ( * args, ** kwargs ) ¶ add_boundary_layer ( * args, ** kwargs ) ¶ add_bspline ( * args, ** kwargs ) ¶ add_circle_arc ( * args, ** kwargs ) ¶ add_curve_loop ( * args, ** kwargs ) ¶ add_ellipse_arc ( * args, ** kwargs ) ¶ add_line ( * args, ** kwargs ) ¶ add_physical ( entities, label = None ) ¶ add_plane_surface ( * args, ** kwargs ) ¶ add_point ( * args, ** kwargs ) ¶ add_polygon ( * args, ** kwargs ) ¶ add_spline ( * args, ** kwargs ) ¶ add_surface ( * args, ** kwargs ) ¶ add_surface_loop ( * args, ** kwargs ) ¶ add_volume ( * args, ** kwargs ) ¶ copy ( obj ) ¶ dilate ( obj, x0, abc ) ¶ extrude ( input_entity, translation_axis, num_layers = None, heights = None, recombine = False ) ¶Įxtrusion of any entity along a given translation_axis. Geometry base class containing all methods that can be shared between built-inĪnd occ. CommonGeometry ( env, init_argv = None ) ¶ Common functions shared between the geo and the occ kernels.
