create a script to generate a circular surface area around the hole

Hi There, is it possible to write a script to generate a circular area around the bolt hole to mimic the washer for load application. i am trying this manually but is time consuming. see below

Comments

  • Interesting problem, normally I do that on the CAD by spliting surfacces, but in an orphan mesh...

    My first try was create a hole with the Menu/Mesh Tool/Hole (using the washer diameter), and then select all the faces around the hole with the Edge detection tool. Then extrude with normal direction those faces, a thicknes according to the washer dimention. But there will be some colapsed elements that you must fix by hand replacing with triangles.



    @Victor, would be very good feature to have an option in the hole tool to create a washer diameter also in the same operation.
  • edited June 7
    @Sergio: Nice method by extruding the Hole tool edge. I think the sliver elements could be avoided by a script that first forces the outer perimeter nodes of the washer to be uniformly spaced before the extrusion inward.
    The shapes of the transition elements to the regular mesh are still not improved, maybe a bit more skewed and no better in producing a smoother stress field??

    [mw.set_node_x(node_id, value), etc., to reset the node coordinates to the uniform space while traversing the path of the selected circle. Ref. Purse.py NearestNeighbor]
  • edited June 10
    Here is a follow-up on the last post. As an optional tool before executing the Edge extrusion technique, the hole node spacing can first be made uniform with the attached HoleAdjust.py. More information found in the Python API Script repository:

    https://mecway.com/forum/discussion/comment/7850#Comment_7850
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!