0
0
Solidworksbi_tool~10 mins

Chamfer feature on edges in Solidworks - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to select edges for chamfering.

Solidworks
chamfer = model.FeatureManager.[1]("Chamfer")
Drag options to blanks, or click blank then click option'
ASelectEdges
BInsertChamfer
CCreateFillet
DAddHole
Attempts:
3 left
💡 Hint
Common Mistakes
Using SelectEdges instead of InsertChamfer.
Confusing fillet creation with chamfer.
2fill in blank
medium

Complete the code to set the chamfer distance.

Solidworks
chamfer.SetDistance([1])
Drag options to blanks, or click blank then click option'
A0.5
B5
C"0.5"
Ddistance
Attempts:
3 left
💡 Hint
Common Mistakes
Passing the distance as a string.
Using an incorrect numeric value.
3fill in blank
hard

Fix the error in selecting edges for chamfering.

Solidworks
edges = model.SelectionManager.[1]("Edge", 0)
Drag options to blanks, or click blank then click option'
ASelectByID2
BSelectEdge
CSelectByID
DSelectFace
Attempts:
3 left
💡 Hint
Common Mistakes
Using SelectEdge which does not exist.
Using SelectFace instead of edge selection.
4fill in blank
hard

Fill both blanks to define chamfer type and angle.

Solidworks
chamfer.SetChamferType([1])
chamfer.SetAngle([2])
Drag options to blanks, or click blank then click option'
AswChamferType_DistanceAngle
BswChamferType_AngleDistance
C30
D45
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up chamfer types.
Using an angle value that is not numeric.
5fill in blank
hard

Fill all three blanks to finalize and apply the chamfer feature.

Solidworks
chamfer.[1]()
model.EditRebuild3()
model.ClearSelection2([2])
model.ViewZoomtofit2()
model.SaveAs3("chamfered_part.sldprt", [3], 0)
Drag options to blanks, or click blank then click option'
AFeatureManager.FeatureCut3
BFalse
CswSaveAsOptions_Silent
DFeatureManager.FeatureChamfer3
Attempts:
3 left
💡 Hint
Common Mistakes
Using FeatureCut3 instead of FeatureChamfer3.
Passing True instead of False to ClearSelection2.
Not using silent save option.