+module RailProfile(){
+ yt_base = thinbox_front_z;
+ yt = yt_base - lid_rail_behindslop;
+ pegx = (lid_inner_w - patbox_centres)/2;
+
+ polygon([[-0.1, yt],
+ [pegx - peg_main_dia/2, yt],
+ [pegx - peg_main_dia/2, yt_base - peg_straight_len],
+ [-0.1,
+ yt_base - peg_straight_len - (pegx - peg_main_dia/2)/peg_slope
+ -0.1]]);
+}
+