I did compare dynamo Nodes vs. PythonCode, i recognized some differences:
1.) Location point
Should be the values not identicaly?
my code calles the center of boundingBox?
And Element.Location+ which “points” get i here?
elements = UnwrapElement(IN) points = for e in elements: bb = e.get_BoundingBox(None) if not bb is None: centre = bb.Min+(bb.Max-bb.Min)/2 points.append(centre) OUT = points
Her i can call surfaces, solids, geometry but not the “full” instance, how can i get the similar values?
I call boxes for each face, why?
elements = UnwrapElement(IN) boxes = for e in elements: bb = e.get_BoundingBox(None) boxes.append(bb) OUT = boxes