What I’m trying to do is to be able to edit the highlighted curves below so that once they are edited the lofted brep also updates, for example moving one of the corner points of the middle rectangle:
I thought Anemone could be used for this process to create a loop between the curves and the lofted geometry, but I’m not able to figure it out. Any ideas how I can achieve this?
Why use PTComponentLibrary when the standard GH Divide Distance does the same thing?
Why not use the obvious three rectangles instead of four?
How was the brep created in the first place?
How are you going to drag corner points around (“edit the highlighted curves”) when the points don’t exist in a Rhino file?
Your proposal doesn’t sound feasible to me. The Anemone loop probably isn’t necessary and it’s not the obstacle here. “edit the highlighted curves” is the problem. Solve that and the rest can be easy.
For what it’s worth, here is some relatively simple code that deconstructs and reconstructs the brep.
Here is something that works similar to what you describe, but without Anemone and without moving the surfaces to the ground. It is a three step process and will break if you move corner points too close to each other… That flaw might be fixable.
STEP 1: bake these points (Disc in labeled green group)
STEP 2: select baked points and assign them here (Pt param in labeled green group)
STEP 3: select baked points in Rhino and move them around