ose3dprinter.model.frame.get_faces_for_side

filter_faces_parallel_to_plane

filter_faces_parallel_to_plane(faces, plane)

get_faces_for_side

get_faces_for_side(frame, side)

Gets a dictionary of outer faces of the frame by their Side.

Parameters

frame (Document Object) – Frame object

Returns

Dictionary where the keys are a Side, and value is a Face

Return type

dict

get_faces_for_side_of_cnc_cut_frame

get_faces_for_side_of_cnc_cut_frame(cnc_cut_frame, side)

get_faces_for_side_of_frame_with_corners

get_axis_orientation(side)
get_faces_for_side_of_frame_with_corners(frame_with_corners, side)

TODO: Doesn’t include faces of angle frame connector tabs

Parameters
  • frame_with_corners (Document object) – Frame object with HasCorners property = True

  • side (See Side enum.) – Side of frame.

Returns

List of faces within bound of side for a frame with corners.

Return type

List[Part.Faces]