Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to fully define a sketch line in SolidWorks.
Solidworks
line = createLine([1]) Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using only one point leaves the line underdefined.
✗ Incorrect
To fully define a line, both start and end points must be specified.
2fill in blank
mediumComplete the code to add a horizontal dimension to a sketch.
Solidworks
addDimension([1], 'horizontal')
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Trying to dimension a point or arc horizontally.
✗ Incorrect
Dimensions are typically added to lines to control their length or position.
3fill in blank
hardFix the error in the code to fully define a rectangle sketch.
Solidworks
rectangle = createRectangle([1], [2])
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using the same point for both corners.
✗ Incorrect
A rectangle requires two corners to be fully defined, not the same corner twice.
4fill in blank
hardFill both blanks to fully define a circle sketch with center and radius.
Solidworks
circle = createCircle([1], [2])
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using diameter or circumference instead of radius.
✗ Incorrect
A circle is fully defined by its center point and radius.
5fill in blank
hardFill all three blanks to fully define a triangle sketch with points and constraints.
Solidworks
triangle = createTriangle([1], [2], [3])
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using constraints instead of points to define the triangle.
✗ Incorrect
A triangle is fully defined by its three corner points.