Category Archives: Computer Science

Keychain Experiment #3

Document must be in inches

1)Make sure your document is in inches and create the following ellipse :

2) Now this inner ellipse . Nothing should be blue; use vertical or horizontal constraints if needed to make it defined (black)

3)

3) Offset the exterior ellipse as shown (pull it OUT not in) :

4) Use the spline tool to create a handle, alone the lines of the picture below. Blue is OK here

5) Offset the spline to create :

6) Make the endpoints of the offset coincident with the outer ellipse.

7) Look at the shape above. Make sure that it is filled in, no white spaces and that the only thing that is blue are the last 2 steps

8) Extrude the outer rim of the handle and the main piece

9 ) Show the sketch (it was probably autaomatically hidden by the last step) then extrude this part :

10) What your current status should be :

11) Innermost extrude

12) Chamfer :

13) Fillet :

14) Below is what you currently should have :

15) Add a hole either by using the Hole tool (preferred) or by cutting out an extrude. Your hole must make sense and go through the shape

16) Draw a pattern on the flat back that you can see at the end of the animation

Key Chain Experiments #2

Use INCHES for all keychain experiments

1) Make pentagon, by using the polygon tool and setting sides to 5, then dimension the radius to 2 inches

2) Make the point coincident with the vertical access, should be fully defined. Make sure that the pentagon is centered from the origin.

3) Create a 0.5 inch offset.

4) Extrude the offset 1.25 inches

5) Extrude the center 0.75

6) Now let’s add a point which will be used for step 7.

7) Add a hole , set the depth to 0.75 so it goes all the way through :

8) Now add a pattern. Your initials or something else to your keychain

Keychain Experiment #1

Some Student Experiment Examples

  1. Create an ellipse that is 2.5 by 1.5 centered at the origin

2) Select offset

3) offset by 0.2 inches

5) Extrude Interior by 0.5 inches

6) Extrude Exterior by 0.75

8) Add a 0.3 Fillet :

9) Open up sketch again and add a circle that will be the hole for the key ring:

10) Extrude : Remove :

11) Make a simple shape on the face of the key and extrude it. That’s the “keychain” . Just make 2-3 extrudes if you want

Final Halloween Onshape: Build a 3-D Diorama

Think of a pop-up book or a stage set. Flat cutouts stand at different distances from you, and that’s what makes the scene feel deep. Today you’ll build a Halloween scene in Onshape the same way, putting your shapes on different planes so the scene has a back, a middle and a front. When you rotate the model, the layers slide apart. That’s the 3-D effect we’re after.

Requirements

  • Planes: use at least 2 planes. 3 planes earns full credit. Plane 1 should be about 30 mm in front of the Front plane, and Plane 2 about 60 mm in front.
  • Shapes: at least 5 solid shapes (6 or more for full credit), with at least one on every plane.
  • Symmetric: at least 2 shapes made with the Symmetric constraint across a construction line (a bat, a ghost, a tombstone, a pumpkin face…).
  • Extrude: every plane has at least one extruded shape. Keep extrudes 5 mm or less.
  • Revolve: at least one shape is a revolve (a moon, a pumpkin, a cauldron…).
  • Fully defined: at least one sketch has no blue lines.
  • Overlap: something in front must partly cover something behind it.

Steps

Step 1) Start a new document and set it to millimeters.

Step 2) Plan your scene. Decide what goes in the back (moon, hills, a haunted house), the middle (tombstones, a dead tree) and the front (bat, pumpkin, fence). Big, far-away things go in back. Small, close-up things go in front.

Step 3) Back layer. Make a sketch on the Front plane and draw your background shapes. For a moon, draw a half circle whose flat side sits on a vertical construction line, then Revolve it around that line to make a sphere. Extrude the rest (hills, house) 3–5 mm.

Step 4) Make Plane 1. Click the Plane tool, select the Front plane, choose Offset, and type 30 mm. Rename it Middle.

Step 5) Middle layer. Make a new sketch on Middle. Draw your middle shapes. Use a construction line and the Symmetric constraint to make at least one of them perfectly even. Extrude 3–5 mm.

Step 6) Make Plane 2. Same as Step 4, but offset 60 mm from the Front plane. Rename it Front Layer.

Step 7) Front layer. Sketch on Front Layer and add your closest objects. Make sure at least one of them covers part of something behind it.

Step 8) Check your depth. Orbit the model about 30° to the side. Your layers should separate like the example above. For an extra-dramatic look, open the view cube menu and turn on Perspective.

Step 9) Screenshot #2. Open your best symmetric sketch, turn on Show Constraints, and take a screenshot. The symmetric markers and the dashed construction line must be visible.

Step 10) Submit. Put both screenshots in a Google Doc:

  1. Screenshot #1: your finished scene, orbited so the layers are clearly separated.
  2. Screenshot #2: your constraints shot from Step 9.

Watch Out!

  • A revolve is as thick as it is wide. A moon with a 20 mm radius sticks 20 mm forward and can crash into the next plane. Keep revolved shapes small, under about 12 mm radius.
  • Extrude toward the viewer, and keep it thin. A 40 mm extrude on the back layer will swallow your middle layer.
  • Straight on, it will look flat. That’s normal! Orbit the model to see the depth.

Grading Rubric (100 points)

CategoryPointsWhat earns the points
Planes & depth253 planes = 25
2 planes = 20
1 plane = 10
Number of shapes206 or more = 20
5 = 17
4 or fewer = 10
(at least one shape on every plane)
Required tools25Symmetric on 2+ shapes = 10
At least 1 revolve = 5
Extrude on every plane = 5
At least 1 fully defined sketch = 5
Constraints screenshot15Show Constraints is on, with symmetric markers and the construction line clearly visible
Theme & craft15Clearly Halloween; front objects overlap back objects; shapes are clean and nothing crashes through another plane
Total100

Some Examples of Student Work

Old version

Shape as A New Plane

Concept; A Face of a shape can be its own new plane for sketches

The Assignment. Part 1

Step 1) Create 3 circles whose radii are 10,20 and 25 MM . Make sure it’s fully defined (no blue) .

Step 2) Extrude the outer rim :

Step 3) Create a new sketch on the face of the outer rim. Call this sketch “sketch on face”:

Step 4) Create an extrude on this plane. You can do whatever you like, below is one example of it could look like:

How to use Use

Step 1) On the front plane, create these 2 circles dimensioned.

Step 2) Add an Extrude

Step 3) Now make a sketch on the TOP plane and use the Use project tool to create a line with the inner circle. Click the image below to expand the image.

Step 4) The top plane now looks like this. The line highlighted in yellow is what we created in the prior step with the Use command:

Step 5) Create a trapezoid with that line as a base. Something like this :

Step 6) Take a screenshot of this and put it into a google doc. I need to see the above marks (showing that you used the “use” command)

Step 7) Make a second picture. I want a 5 sided shape and for you to revolve that around a line. Submit that as the second screenshot.

Show/Hide Constraints Do Now

On the Top plane, make this shape. Ensure the corner is centetered at the orign. Use Corner rectangle:

Step 2) add teh arc:

Step 3) Lines and make 1 tangent:

Step 4) Turn on “show constraints” and take a screenshot. Make sure that you have the same constraints that mine does

Below is the a screenshot of what your constraints should be :