bird.preprocess.stl_patch package

bird.preprocess.stl_patch.stl_bc module

bird.preprocess.stl_patch.stl_bc.check_input(input_dict)
bird.preprocess.stl_patch.stl_bc.get_all_vert_faces(input_dict, boundary_name)
bird.preprocess.stl_patch.stl_bc.write_boundaries(input_dict, output_folder='.')

bird.preprocess.stl_patch.stl_mesh module

class bird.preprocess.stl_patch.stl_mesh.STLMesh(vertices=None, faces=None, area=None, planar=None, normal_dir=None)

Bases: object

calc_area()
from_mesh_list(mesh_list)
from_stl(stlObj)
rotate(theta=0, normal_dir=1)
save(filename)
to_stl()
translate(vector=array([0, 0, 0]))
update()
update_status()

bird.preprocess.stl_patch.stl_shapes module

bird.preprocess.stl_patch.stl_shapes.create_boundary_patch_list(input_dict, boundary_name)
bird.preprocess.stl_patch.stl_shapes.get_cent_from_branch(patch, input_dict)
bird.preprocess.stl_patch.stl_shapes.make_circle(radius, center, normal_dir, npts=3)
bird.preprocess.stl_patch.stl_shapes.make_polygon(rad, nvert, center, normal_dir)
bird.preprocess.stl_patch.stl_shapes.make_rectangle(w, h, center, normal_dir)
bird.preprocess.stl_patch.stl_shapes.make_spider(centerRad, nArms, widthArms, lengthArms, center, normal_dir)