def box_wood_frame_argparse_to_dictionary(ai_bwf_args):
    """ convert a box_wood_frame_argparse into a box_wood_frame_dictionary
  """
    r_bwfd = {}
    r_bwfd['box_width'] = ai_bwf_args.sw_box_width
    r_bwfd['box_depth'] = ai_bwf_args.sw_box_depth
    r_bwfd['box_height'] = ai_bwf_args.sw_box_height
    r_bwfd['fitting_height'] = ai_bwf_args.sw_fitting_height
    r_bwfd['h_plank_width'] = ai_bwf_args.sw_h_plank_width
    r_bwfd['v_plank_width'] = ai_bwf_args.sw_v_plank_width
    r_bwfd['plank_height'] = ai_bwf_args.sw_plank_height
    r_bwfd['d_plank_width'] = ai_bwf_args.sw_d_plank_width
    r_bwfd['d_plank_height'] = ai_bwf_args.sw_d_plank_height
    r_bwfd['crenel_depth'] = ai_bwf_args.sw_crenel_depth
    r_bwfd['wall_diagonal_size'] = ai_bwf_args.sw_wall_diagonal_size
    r_bwfd['tobo_diagonal_size'] = ai_bwf_args.sw_tobo_diagonal_size
    r_bwfd['diagonal_lining_top_height'
        ] = ai_bwf_args.sw_diagonal_lining_top_height
    r_bwfd['diagonal_lining_bottom_height'
        ] = ai_bwf_args.sw_diagonal_lining_bottom_height
    r_bwfd['module_width'] = ai_bwf_args.sw_module_width
    r_bwfd['router_bit_radius'] = ai_bwf_args.sw_router_bit_radius
    r_bwfd['cutting_extra'] = ai_bwf_args.sw_cutting_extra
    r_bwfd['slab_thickness'] = ai_bwf_args.sw_slab_thickness
    r_bwfd['output_file_basename'] = ai_bwf_args.sw_output_file_basename
    r_bwfd['return_type'] = ai_bwf_args.sw_return_type
    return r_bwfd
