models/parts/chris_desk.rb
#This isn't parametric yet
This isn't parametric yet
This isn ' t parametric yet
def back_cross_bar_top_offset
        bottom_half = (parent_part.back_cross_bar_nominal_width + sheet.thickness * parent_part.tab_depth_percent - 3 * sheet.thickness)/2.0
        value = parent_part.back_cross_bar_nominal_width - bottom_half - 3 * sheet.thickness
      value
    end
def back_cross_bar_top_offset bottom_half = ( parent_part . back_cross_bar_nominal_width + sheet . thickness * parent_part . tab_depth_percent - 3 * sheet . thickness ) / 2.0 value = parent_part . back_cross_bar_nominal_width - bottom_half - 3 * sheet . thickness value end
This isn't parametric yet
This isn ' t parametric yet