Title: PythonCAD Tutorial 1

PythonCAD Tutorial 1

Creating a simple linkage with two holes and round ends

First, a few notes:

  • Default scale is millimeters.
  • Notice:
    • coordinates of cursor in bottom-right
    • instructions for the next click in lower left

Step-by-step instructions

  1. Create an arc at 200,200:
    1. Draw/Basic/Arc
    2. Type 200,200 in entry box at bottom.
    3. Type 50 in entry box at bottom.
    4. Type 0 in entry box at bottom.
    5. Type 180 in entry box at bottom.
  2. Create an arc at 200,100:
    1. Draw/Basic/Arc
    2. Type 200,100 in entry box at bottom.
    3. Type 50 in entry box at bottom.
    4. Type 180 in entry box at bottom.
    5. Type 0 in entry box at bottom.
  3. Connect edges:
    1. Draw/Basic/Segment
    2. Click on the two left arc ends.
    3. Click on the two right arc ends.
    4. The segments endpoints will turn blue.
  4. Create the linkage holes
    1. Draw/Basic/Circle
    2. Click on centerpoint of one arc.
    3. Enter 5 to create a 10mm hole
    4. Repeat for the other centerpoint.
  5. Save the file
    1. File/Save As
    2. Type the filename. PythonCAD will append .xml.gz

Creating a simple linkage with two holes and round ends

Now let's do the same thing, only using construction lines.

Step-by-step instructions

  1. Create an arc at 200,200:
    1. Draw/Basic/Arc
    2. Type 200,200 in entry box at bottom.
    3. Type 50 in entry box at bottom.
    4. Type 0 in entry box at bottom.
    5. Type 180 in entry box at bottom.
  2. Create the linkage hole
    1. Draw/Basic/Circle
    2. Click on centerpoint of the arc.
    3. Enter 5 to create a 10mm hole
  3. Add a construction line
    1. Draw/Con. Line/Horizontal
    2. Type 150 in entry box at bottom.
  4. Mirror the arc and hole.
    1. Modify/Mirror
    2. Click on the construction line
    3. Draw a box around the arc and hole.
  5. Connect edges:
    1. Draw/Basic/Segment
    2. Click on the two left arc ends.
    3. Click on the two right arc ends.
    4. The segments endpoints will turn blue.
  6. Save the file
    1. File/Save As
    2. Type the filename. PythonCAD will append .xml.gz

Russ Nelson
Last modified: Tue Jun 6 12:06:09 EDT 2006
_______________________________________________
PythonCAD mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pythoncad

Reply via email to