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