Expression does not work in hole recognition - Fusion Manufacture

Expression does not work in hole recognition - Fusion Manufacture

marcus.toepke
Advisor Advisor
411 Views
4 Replies
Message 1 of 5

Expression does not work in hole recognition - Fusion Manufacture

marcus.toepke
Advisor
Advisor

Hello!
I would like to use specific drill diameters when drilling core holes for threads.
To do this, I have added this expression to the tool selection.

marcustoepke_2-1763713888036.png

Note the 8.6 mm in the screenshot as an example output, even though no hole was selected when I created the template.

When I apply this drilling template to a part, a drill bit with a diameter of 8.6 mm is selected for each hole.

However, I have made various drill holes in the part.

To check whether my expression is incorrect, I have essentially placed the same expression in the drilling depth.

As you can see in the next screenshot, the expression basically works as expected, as can be seen from the corresponding drilling depths.

marcustoepke_3-1763714360095.png

 

My question now:
Can you enter expressions in the tool selection in the hole detection, but they don't work?

 

In my opinion, that would be the easiest way to use specific tool specifications.
Changing the core hole diameters in the design via the core hole specifications is not an option for me, as I often receive models from outside sources.

 

So does anyone have any useful suggestions?

 

p.s. ooops I forgot to append the template and I can't append it here 

so I uploadet it to dropbox
https://www.dropbox.com/scl/fi/vcyuav5pz1mty7ur7i2dj/xxxxx-Bohrungsvorlage.zip?rlkey=r5dsz855hnyc3jh...

 

Or more simpler my expression:

Math.floorto(auto_threadMajorDiameter;0.1) == 2.5 ? 2.1:
Math.floor(auto_threadMajorDiameter) == 3 ? 2.6:
Math.floor(auto_threadMajorDiameter) == 4 ? 3.4:
Math.floor(auto_threadMajorDiameter) == 5 ? 4.3:
Math.floor(auto_threadMajorDiameter) == 6 ? 5.1:
Math.floor(auto_threadMajorDiameter) == 8 ? 6.9:
Math.floor(auto_threadMajorDiameter) == 10 ? 8.6:
Math.floor(auto_threadMajorDiameter) == 12 ? 10.4:
Math.floor(auto_threadMajorDiameter) == 16 ? 14.2: 99


This post has been edited due to: @navya_gelli added the product to the title to help more community members find this topic.

0 Likes
412 Views
4 Replies
Replies (4)
Message 2 of 5

marcus.toepke
Advisor
Advisor

And could it be that materials for cut values are not taken into account when creating operations?

0 Likes
Message 3 of 5

seth.madore
Community Manager
Community Manager

Are you using the new Hole Template Editor? What you're looking to do should become easier once you get accustomed to that editor. 

No, we don't consider material type (if that's your second question)


Seth Madore
Customer Advocacy Manager - Manufacturing


0 Likes
Message 4 of 5

marcus.toepke
Advisor
Advisor

I'm not sure if it is a new editor, but I think so, I use this one here ... and I like it very much!

marcustoepke_0-1764013659472.pngmarcustoepke_1-1764013722821.png

 

And thx for the info with the material

 

 

Message 5 of 5

seth.madore
Community Manager
Community Manager

Yep, that's the "new" one


Seth Madore
Customer Advocacy Manager - Manufacturing


0 Likes