Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to create a simple extrude feature.
Solidworks
ExtrudeFeature = CreateFeature([1])Attempts:
3 left
💡 Hint
Common Mistakes
Choosing a feature like fillet or chamfer instead of a sketch.
Using a pattern feature as the base.
✗ Incorrect
The extrude feature starts from a sketch, so you need to select the sketch name.
2fill in blank
mediumComplete the code to add a fillet to an edge.
Solidworks
FilletFeature = AddFillet([1], radius=5)
Attempts:
3 left
💡 Hint
Common Mistakes
Trying to fillet a face or vertex instead of an edge.
Using a sketch as input.
✗ Incorrect
Fillets are applied to edges, so the correct input is an edge.
3fill in blank
hardFix the error in the pattern creation code.
Solidworks
PatternFeature = CreatePattern([1], count=4, spacing=10)
Attempts:
3 left
💡 Hint
Common Mistakes
Using a sketch or edge as the pattern base.
Confusing faces with features.
✗ Incorrect
Patterns replicate features, so the input must be a feature, not a sketch or edge.
4fill in blank
hardFill both blanks to create a loft between two sketches.
Solidworks
LoftFeature = CreateLoft([1], [2])
Attempts:
3 left
💡 Hint
Common Mistakes
Using edges or faces instead of sketches.
Trying to loft with only one sketch.
✗ Incorrect
Lofts connect two or more sketches, so both blanks must be sketches.
5fill in blank
hardFill all three blanks to create a complex feature with a sweep along a path and a guide curve.
Solidworks
SweepFeature = CreateSweep(profile=[1], path=[2], guide=[3])
Attempts:
3 left
💡 Hint
Common Mistakes
Using edges instead of sketches for path or guide.
Confusing profile with path or guide.
✗ Incorrect
Sweep features require a profile sketch, a path sketch, and optionally a guide curve sketch.
