meshlabxml/remesh.py
def hull(script, reorient_normal=True):
    """ Calculate the convex hull with Qhull library
        http://www.qhull.org/html/qconvex.htm

    The convex hull of a set of points is the boundary of the minimal convex
    set containing the given non-empty finite set of points.

    Args:
        script: the FilterScript object or script filename to write
            the filter to.
        reorient_normal (bool): Re-orient all faces coherentely after hull
            operation.

    Layer stack:
        Creates 1 new layer 'Convex Hull'
        Current layer is changed to new layer

    MeshLab versions:
        2016.12
        1.3.4BETA
    """
    filter_xml = ''.join([
        '  <filter name="Convex Hull">\n',
        '    <Param name="reorient" ',
        'value="{}" '.format(str(reorient_normal).lower()),
        'description="Re-orient all faces coherentely" ',
        'type="RichBool" ',
        '/>\n',
        '  </filter>\n'])
    util.write_filter(script, filter_xml)
    if isinstance(script, FilterScript):
        script.add_layer('Convex Hull')
    return None
def hull(script, reorient_normal=True):
    """ Calculate the convex hull with Qhull library
        http://www.qhull.org/html/qconvex.htm

    The convex hull of a set of points is the boundary of the minimal convex
    set containing the given non-empty finite set of points.

    Args:
        script: the FilterScript object or script filename to write
            the filter to.
        reorient_normal (bool): Re-orient all faces coherentely after hull
            operation.

    Layer stack:
        Creates 1 new layer 'Convex Hull'
        Current layer is changed to new layer

    MeshLab versions:
        2016.12
        1.3.4BETA
    """
    filter_xml = ''.join([
        '  <filter name="Convex Hull">\n',
        '    <Param name="reorient" ',
        'value="{}" '.format(str(reorient_normal).lower()),
        'description="Re-orient all faces coherentely" ',
        'type="RichBool" ',
        '/>\n',
        '  </filter>\n'])
    util.write_filter(script, filter_xml)
    if isinstance(script, FilterScript):
        script.add_layer('Convex Hull')
    return None
def hull ( script , reorient_normal = True ) : filter_xml = '' . join ( [ '  <filter name="Convex Hull">\n' , '    <Param name="reorient" ' , 'value="{}" ' . format ( str ( reorient_normal ) . lower ( ) ) , 'description="Re-orient all faces coherentely" ' , 'type="RichBool" ' , '/>\n' , '  </filter>\n' ] ) util . write_filter ( script , filter_xml ) if isinstance ( script , FilterScript ) : script . add_layer ( 'Convex Hull' ) return None
Calculate the convex hull with Qhull library
        http://www.qhull.org/html/qconvex.htm

    The convex hull of a set of points is the boundary of the minimal convex
    set containing the given non-empty finite set of points.

    Args:
        script: the FilterScript object or script filename to write
            the filter to.
        reorient_normal (bool): Re-orient all faces coherentely after hull
            operation.

    Layer stack:
        Creates 1 new layer 'Convex Hull'
        Current layer is changed to new layer

    MeshLab versions:
        2016.12
        1.3.4BETA
Calculate the convex hull with Qhull library http : // www . qhull . org / html / qconvex . htm