Skip to content

Latest commit

 

History

History
45 lines (38 loc) · 1.33 KB

File metadata and controls

45 lines (38 loc) · 1.33 KB

EndSweep

Description

Procedure EndSweep completes the definition of a sweep object within a VectorWorks document. On calling EndSweep, the object is created in the document from the preceding object creation calls.

It is recommended to call ResetOrientation3D after 3D object creations in order to ensure that the new 3D objects will draw properly.

PROCEDURE EndSweep;
def vs.EndSweep():
    return None

Examples

VectorScript

BeginSweep(#0,#360,#10,0');
Poly(3 1/4",-1/2",3 1/4",-1",2 3/4",-1",
2 1/4",-1/2",2 1/4",1",1 3/4",1 1/2",
-1 3/4",1 1/2",-2 1/4",1",-2 1/4",-1/2",
-2 3/4",-1",-3 1/4",-1",-3 1/4",-1/2",
-2 3/4",0",-2 3/4",1 1/2",-2 1/4",2",
2 1/4",2",2 3/4",1 1/2",2 3/4",0");
EndSweep;

Python

vs.BeginSweep(0,360,10,0)
vs.Poly(3 + 1/4,-1/2,3 + 1/4,-1,2 + 3/4,-1,
2 + 1/4,-1/2,2 + 1/4,1,1 + 3/4,1 + 1/2,
-1 + 3/4,1 + 1/2,-2 + 1/4,1,-2 + 1/4,-1/2,
-2 + 3/4,-1,-3 + 1/4,-1,-3 + 1/4,-1/2,
-2 + 3/4,0,-2 + 3/4,1 + 1/2,-2 + 1/4,2,
2 + 1/4,2,2 + 3/4,1 + 1/2,2 + 3/4,0)
vs.EndSweep()

Version

Availability: from All Versions

Category