Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to select an edge for fillet.
Solidworks
model.SelectEdgeByID([1]) Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Selecting a face or vertex instead of an edge.
✗ Incorrect
To apply a fillet, you must select an edge. 'edge5' is a valid edge ID.
2fill in blank
mediumComplete the code to set the fillet radius.
Solidworks
filletFeature.SetRadius([1]) Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using zero or negative values for radius.
✗ Incorrect
The fillet radius must be a positive number. 10.0 is a valid radius.
3fill in blank
hardFix the error in the fillet creation code by completing the blank.
Solidworks
if not filletFeature.[1](): print('Failed to create fillet')
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using non-existent methods like Apply or Generate.
✗ Incorrect
The correct method to finalize the fillet feature is 'Build()'.
4fill in blank
hardFill both blanks to create a fillet on multiple edges with a radius.
Solidworks
filletFeature = model.AddFillet([1], [2])
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Passing faces instead of edges.
Using incorrect radius values.
✗ Incorrect
The first argument is a list of edges, the second is the fillet radius.
5fill in blank
hardFill all three blanks to check if the fillet was created and then update the model.
Solidworks
if filletFeature.[1](): model.[2]() print('Fillet created with radius', [3])
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect method names or missing model update.
✗ Incorrect
Use 'Build()' to create the fillet, 'Rebuild()' to update the model, and get the radius with 'GetRadius()'.