algorithmic modeling for Rhino
Tags:
myBrep.Translate (ToPoint - FromPoint)
'''add all centroids together
Dim avgCentroid as New On3dPoint
For i as integer = 0 to BrepList.count -1
BrepList(i).AreaMassProperties(massProps)
avgCentroid += massProps.centroid
Next
avgCentroid /= brepList.Count '''average the summed point out...
'''Now move each of the breps from this point to the target points...
Welcome to
Grasshopper
© 2025 Created by Scott Davidson.
Powered by