Mirror Entities Example (JS)

# Mirror Entities Example (JavaScript)

This example creates a sketch that resembles a tee shirt by inserting and mirroring sketch entities. Start DraftSight. Using the following form: Select the size of the tee shirt in Size. Specify where to place the tee shirt: Select Coordinates. Type x, y, and z coordinates. Click Insert. - or - Select Point in drawing. Click Insert. Click anywhere in the drawing to insert the tee shirt at that point. The tee shirt is shown and zoomed to fit. Examine the drawing. NOTES: The width, height, and the point where the tee shirt was placed are printed to Output. Errors are also printed to Output. To recreate this example: Right-click the topic and select to view the source. Save the file as an HTML file. Open the HTML file in your web browser. If using Windows Internet Explorer and running scripts is blocked, click the Information bar near the top of the webpage and select Allow Blocked Content.
Size: |
Coordinates
X: Y: Z:
Point in drawing
### Output