get_mid_pt_base

compas_slicer.pre_processing.get_mid_pt_base(mesh)[source]

Gets the middle point of the base (bottom) of the mesh.

Parameters

mesh (compas.datastructures.Mesh) – A compas mesh.

Returns

mesh_mid_pt (compas.geometry.Point) – Middle point of the base of the mesh.