Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Face selection problem in machining operations after 2023 October update

0 REPLIES 0
Reply
Message 1 of 1
ihryshchuk
110 Views, 0 Replies

Face selection problem in machining operations after 2023 October update

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

 

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report