Let's say I have a path that represents the inside dimensions of a room. I would like to draw a thin line representing that inside space. But I would also like to draw the thickness of the walls. The naive way would be to do this where I manually add and subtract the thickness of wall assuming the pen draws on both sides of the path (that is why I have to divide the thickness by 2).
ft = 1cm;
wall_depth = 0.5ft;
% Draw the measured room outline
pickup pensquare scaled 1bp;
draw (0,0)--(26ft,0)--(26ft,27.5ft)--(0,27.5ft)--cycle;
% Draw in the thickness of the walls
pickup pensquare scaled 0.5ft;
t = wall_depth / 2;
draw (0-t,0-t)--(26ft+t,0-t)--(26ft+t,27.5ft+t)--(0-t,27.5ft+t)--cycle withcolor .8 white;
It seems like I should be able to define a pen that only draws on the right side of the path allowing me to force the thickness to the outside of the path. Can I do this?
Alternatively I would love to be able to just tell Metapost to magically add a thick wall on the outside of my thin polygon, but I'm assuming that I can't do that.

