Geometry trim... create butt joints

Hey everyone, Im trying to take a list of solids and trim them into a series of butt joints. It doesnt matter which one gets cut back but one of them has to. Its to duplicate a plywood butt joint.

Is this possible??
DYN:
09c - CREATE FORMWORK INNER BEAMS [X].dyn (164.0 KB)
CLOSE UP (oversized solids):

SOLIDS (oversized solids):

ACTUAL THICKNESS:

@ZJRODGERS,
create sample RVT file too, share it.

1 Like

Sorry about that! here you go!

@ZJRODGERS,
try to recreate solids by getting element.location, but shorten lines by 0.1 from start and end.
Get width and heights of profiles, create solids. Use Element.IntersectSolid from Bimorph package to find only elemets, which intersects each other deeper than 0.1.

1 Like

Assuming these are wall solids generated from wall centerlines, you could get a butt joint like so:

Tho if you had the choice and can compute the connection plane, I’d recommend a miter joint, since that would require a lot less computation (two bool ops vs 6):

2 Likes

Hey @Dimitar_Venkov, how would i modify that to work with a list of solids?

Thanks for the response!

Bump to the top… Still cant figure this out.

I ended up splitting the lines earlier in the script.