The key is that, instead of single vertical boards with a mitered top, you’ll need to model them as vertical boards with square tops, then model the miters separately as extruded triangles. You can make the resulting boards appear as a single board by judicious hiding of edges and faces.
You’ll have a bunch of formulas involving trigonometry to determine the length of the boards and the angle of the top piece, and either the height of the triangular pieces representing the miters or the angle of the miters.
The one thing I’m worried about (and why I answered “probably”) is how to deal with the top diagonal board. It will have miters at both ends and - if you keep that subcomponent’s axis the same as the base model axis, keeping it’s thickness constant (or user determined through Component options) might be a problem. The alternative is to align the subcomponent axis with the edges of the (unmitered) board, but then you’ll have to experiment with X, Y, Z and RotY.
Were I to try to model it, I’d start with the model you appear to already have, model each pieces as a component (including the “miters” as separate triangular extrusions, set a scene as the front view, then send it over to layout so I could dimension it in terms of a few attributes (these are descriptions, not names!):
- Left Tall (Height)
- Right Tall (Height)
- Overall Width
- Board Width (assuming they’re all to be the same, multiple attributes if different)
- Board Thickness
- Toe kick Height
- Panel Thickness (of the back panel)
Keep the edges and faces where the boards meet the miters visible! The’ll help in the Layout dimensioning.
Finally, I’d print out the dimensioned Layout drawing and start doing the trig necessary to determine your unknown dimensions - those later will become formulas for the LenX, LenY and (possibly) RotY attributes when you make it dynamic.
It’s intriguing enough that I’d like to try modeling it, but I’ve got just too much else on my plate right now. Thus I hope what I’ve described is enough to point you on the way.