Hi all!
I am trying to write a script that will allow for me to generate the overall x, y and z dimension of a project I am working on in Rhino.
So far I have:
Next I am trying to add all the generated points into a list and sort the list 3 times once to determine the points that make up the greatest x-axis distance, greatest y-axis distance and finally greatest z axis distance. Using these points I would next add linear dimensions to the model.Python Code:
def getPoints():rs.Command("_SelPolysrf")rs.Command("_Silhouette")lines=rs.SelectedObjects()for obj in lines:rs.DivideCurve(obj,1,True)rs.Command("_SelNone")
I appreciate any help you can provide!
Regards,
Andrew


Reply With Quote
