original_docstring: Align bottom of the model with the floor (Y-axis) and center it around X and Z.
      
docstring: Align bottom of the model with the floor (Y-axis) and center it around X and Z.
docstring_tokens: Align bottom of the model with the floor ( Y - axis ) and center it around X and Z .
code: def bottom(vertices):
      """Align bottom of the model with the floor (Y-axis) and center it around X and Z.
      """
  
      bb = bbox(vertices)
  
      cx = bb['x'][0] + (bb['x'][1] - bb['x'][0])/2.0
      cy = bb['y'][0]
      cz = bb['z'][0] + (bb['z'][1] - bb['z'][0])/2.0
  
      translate(vertices, [-cx,-cy,-cz])
code_tokens: def bottom ( vertices ) : bb = bbox ( vertices ) cx = bb [ 'x' ] [ 0 ] + ( bb [ 'x' ] [ 1 ] - bb [ 'x' ] [ 0 ] ) / 2.0 cy = bb [ 'y' ] [ 0 ] cz = bb [ 'z' ] [ 0 ] + ( bb [ 'z' ] [ 1 ] - bb [ 'z' ] [ 0 ] ) / 2.0 translate ( vertices , [ - cx , - cy , - cz ] )
short_docstring: Align bottom of the model with the floor (Y-axis) and center it around X and Z.
short_docstring_tokens: Align bottom of the model with the floor ( Y - axis ) and center it around X and Z .
comment: """Align bottom of the model with the floor (Y-axis) and center it around X and Z.
      """