I have an irregular curtain wall in Revit. It has angled edges. I am pulling the non-rectangular edge panels into Dynamo, tracing them and using the corner points to place adaptive components. When I create the polycurves from the panels, I get a list that has some with 4 points, and some with 6 points (highlighted in the image). I want to take all of the 6-point ones and turn them into 4-point ones. They are all 4-point polygons, just ended up with some extra points along some edges. Any suggestions on how to remove the extraneous points?
Spring nodes has a node called “CurveLoop.Simplify” that might help. Tho you’ll need to make a small revision to make it work with Dynamo 1.0. I haven’t had a chance to update the package to 1.0 yet.
The problem is that the node uses a script and unlike the OOTB nodes, script does not get migrated automatically… Here’s what you’ll need to change inside:
I downloaded Spring Nodes and made the change indicated. However, I am ending up with 5 points on two of my shapes. The other two came in with 4 points. So I am thinking maybe there is a precision issue? These shapes come from curtain panels in Revit. So maybe they are off just a little?
I tried this graph and at first was having trouble, but when I added a List.Map it worked. Now the trouble is, I am getting five points instead of 4. Maybe the same issue I noted above with the Spring Nodes option? A visual scan of the points seems to be four-sided, but maybe along the diagonal lines, the precision makes it result in a five-sided shape? Just guessing of course.
Oh, and those are just “stand-in” panels. I still have to build a proper adaptive panel for the edges. Just wanted to get the Dynamo part working first. Thanks again.
@Paul_Aubin
I follow this forum from your Dynamo course in Linkedin, for the irregular curtain wall panel.
Thanks for your effort to share your knowledge on BIM to the world.
I study all courses you teach on Linkedin. That make me progress in my professional career.
You are my great teacher.
Respect.