A Dynamic block for a Bolt with a Nut.

A Dynamic block for a Bolt with a Nut.

mohannad_3bdo
Explorer Explorer
2,741 Views
10 Replies
Message 1 of 11

A Dynamic block for a Bolt with a Nut.

mohannad_3bdo
Explorer
Explorer

Hi All;

  I created a dynamic block for a Bolt with a movable nut, the block has an array action to add a new threads associated with a stretch action, the problem is the new threads that generated by the array action goes up the movable Nut. 

Is there anyway to make the new generated threads goes under the movable nut ?

   I've attached the dynamic block.

   Regards.

0 Likes
Accepted solutions (1)
2,742 Views
10 Replies
Replies (10)
Message 2 of 11

h_s_walker
Mentor
Mentor

Unfortunately not. Any arrayed object in a block is treated as a new item and is drawn "on top" of linework which is already in the block.

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

Message 3 of 11

JamesPowell7164
Collaborator
Collaborator

Could you put a wipeout under the nut but on top of the bolt so that it covers all of the threads and moves with the nut?

0 Likes
Message 4 of 11

j.palmeL29YX
Mentor
Mentor

With a little cheating ... try the attached attempt. 

 

 

 

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 5 of 11

j.palmeL29YX
Mentor
Mentor

@JamesPowell7164 wrote:

Could you put a wipeout ...


Not tested, but I'm afraid, each new created array item will be placed in front of the wipeout too. 

 

 

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 6 of 11

Washingtonn
Collaborator
Collaborator

Use three blocks. one for the bolt, one for the nut, and another for the assembly of the nut and bolt.  The insert point for all of the blocks should be where the threads meet the washer face.  The washer has a stretch parameter and has a drawing order above the threads. The bolt as previously drawn (except for moving the insert point and associated changes).

 

Insert the assembly with explode to leave 2 blocks. Then you can move the nut, lengthen the threads and maintain the desired look.

 

 

0 Likes
Message 7 of 11

MMcCall402
Mentor
Mentor
Accepted solution

This is my attempt to solve it.  My thought was "If the arrayed items get drawn last, what happens when two arrays overlap each other, which one gets drawn last?"  The answer, the one that gets altered/moved last.  Also, only the arrayed items are considered "new" items, not the original item chosen to be arrayed.   So, I made the nut into a tiny little linear parameter & array (0.001). This made 1 new item in the array that is basically in the same place.  Then I included it the stretch action for the nut.  This draw order works as long as you move the nut last.

 

Update!   I added a Move action to the parameter for the length of the bolt, selected the parameter for the placement of the nut, chained the action and set a distance multiplier of 0.0001.  This makes the nut move when the bolt length is changed, which results in the nut array always being drawn last.

 

MMcCall402_1-1725891774766.png

 

 

Mark Mccall 
CAD Mangler


EESignature


VHB - Vanasse Hangen Brustlin, Inc.


Linkedin

Message 8 of 11

mohannad_3bdo
Explorer
Explorer

I tried to make a wipeout, but the same result, the new threads are generated above the wipeout too.

 Thanks.

0 Likes
Message 9 of 11

mohannad_3bdo
Explorer
Explorer

Thank you very much. It's so helpful.

 Regards.

0 Likes
Message 10 of 11

mohannad_3bdo
Explorer
Explorer
Thank you, it works fine.
Could you please tell me how you did it ?
Regards.
0 Likes
Message 11 of 11

j.palmeL29YX
Mentor
Mentor

@mohannad_3bdo wrote:

Could you please tell me how you did it ?


 

I used 2 arrays (Path array, not array action), one above the nut which fills the room between the nut and the head an a second to fill the room between the nut and the end of the bolt. 

But the solution posted by @MMcCall402 is much more better. All my thumbs up! 😉 

 

 

 

 

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes