Face selection problem in machining operations after 2023 October update

Face selection problem in machining operations after 2023 October update

ihryshchuk
Explorer Explorer
317 Views
0 Replies
Message 1 of 1

Face selection problem in machining operations after 2023 October update

ihryshchuk
Explorer
Explorer

In some models the face selection is not working after October 2023 update neither from UI nor from API in machining operations. It happens with pretty random faces. For example, I uploaded 'outer_fillet.step' model here, where we have 4 similar straight fillets, and 3 of them can be selected but 4th is unselectable. And corner fillets can't be selected at all in this model. It happens in some other test models too. Before october2023 update it was working fine.

 

Steps to reproduce:
1. Load outer_fillet.step model
2. Switch to Manufacture mode
3. Milling - 3D - Adaptive Clearing
4. Go to Geometry tab
5. Switch Machining Boundary to Selection
6. Click on Face contours
7. Try to select outer fillets

It can be reproduced not only with 'Adaptive Clearing' but also with other operations.
Screenshot with 3 selected and 5 unselectable faces:

ihryshchuk_0-1699537056619.png



Code (Python API):

        curveSelections = contourParam.getCurveSelections()
        facecontourSel: adsk.cam.FaceContourSelection = curveSelections.createNewFaceContourSelection()
        facecontourSel.loopType = adsk.cam.LoopTypes.AllLoops
        facecontourSel.sideType = adsk.cam.SideTypes.StartOutsideSideType
        facecontourSel.inputGeometry = get_brep_faces(facet_id_table, selection)


where `contourParam` is `adsk.cam.CadContours2dParameterValue` and function `get_brep_faces` returns 8 faces

 

Console error:

ihryshchuk_1-1699537265223.png

 

Replies (0)