I am trying to do a reverse bounding box-like problem. ( I know that I can do this in FreeCAD/Solidworks/Grasshopper/etc. but I am trying to live on the mac side of my computer as much as possible and to focus energies on python/rhino. )
Here is the problem:
Find such a rectangle with one set dimension,
t, that fits within a larger rectangle with set side lengths of
W. The interior rectangle’s vertices should be coincident with the sides of the larger rectangle.
A standard parametric constraint problem. I know that I could do some sort of optimization (within some tolerance) script in python. the key is that I would like to solve this numerically, hence NumPy. I can reduce this to a series of equations and then solve the multivariable matrix.
It has been way too long since I took a math class.