Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to rotate the model using the mouse.
Solidworks
model.[1](angleX, angleY) Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using pan or zoom instead of rotate.
✗ Incorrect
The rotate function moves the model around its axes based on mouse movement.
2fill in blank
mediumComplete the code to pan the model using the mouse.
Solidworks
model.[1](deltaX, deltaY) Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using rotate or zoom instead of pan.
✗ Incorrect
The pan function moves the model horizontally or vertically without rotating it.
3fill in blank
hardFix the error in the code to zoom the model correctly.
Solidworks
model.[1](zoomFactor) Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using pan or rotate instead of zoom.
✗ Incorrect
The zoom function changes the model's size on screen based on the zoom factor.
4fill in blank
hardFill both blanks to rotate and then pan the model.
Solidworks
model.[1](angleX, angleY) model.[2](deltaX, deltaY)
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Swapping rotate and pan functions.
✗ Incorrect
First, rotate changes the model's angle, then pan moves it side to side or up and down.
5fill in blank
hardFill all three blanks to rotate, pan, and zoom the model in sequence.
Solidworks
model.[1](angleX, angleY) model.[2](deltaX, deltaY) model.[3](zoomFactor)
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up the order of functions.
✗ Incorrect
The correct sequence is rotate to change angle, pan to move position, and zoom to adjust size.