Dear friends,
In the following example, face1 (triangle) rotates during followme. I wish the base of the triangle always will be parallel to the x,y sheet. Is there any simple way to prevent triangle rotation during followme? Thank you for your help in advance.
pt = []
pt[0] = [-50, -50, 0]
pt[1] = [0, 0, 0]
pt[2] = [50, 50, 50]
pt[3] = [50, 100, 100]
pt[4] = [100, 100, 150]
grp = Sketchup.active_model.active_entities.add_group
path1 = grp.entities.add_curve pt
pt1 = [-55, -45, 0]
pt2 = [-45, -55, 0]
pt3 = [-50, -50, 20]
face1 = grp.entities.add_face pt1, pt2, pt3
face1.followme path1