Dynamic Block To Evenly Space Hinges (With Option To Choose Quantity)

Dynamic Block To Evenly Space Hinges (With Option To Choose Quantity)

paul9ZMBV
Advocate Advocate
820 Views
6 Replies
Message 1 of 7

Dynamic Block To Evenly Space Hinges (With Option To Choose Quantity)

paul9ZMBV
Advocate
Advocate

Hi

 

I would love to have a dynamic block that I could use to evenly space cabinet hinges within a cupboard automatically

 

I have attached a drawing of what I am trying to achieve.

 

Ideally it would do the following:

  • User would be able to choose the first offset (hinge position at the bottom, 75mm in sample) (possibly increments of 10mm, 55mm - 125mm)
  • User would be able to choose the second offset (hinge position at the top, 75mm in sample) (possibly increments of 10mm, 55mm - 125mm)
  • The user would then choose the number of hinges (2No - 8No)
  • The block could then be inserted at the insertion point and dragged up to the underside of the cabinet

 

I have attached another block that I found within the forum that is similar in that it stretched evenly and you can choose the amount.

 

Any help much appreciated

0 Likes
Accepted solutions (2)
821 Views
6 Replies
Replies (6)
Message 2 of 7

j.palmeL29YX
Mentor
Mentor
Accepted solution

Do I understand you right? 

 

 

 

An example file attached.

 

[EDIT]: Improved version attached

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 3 of 7

paul9ZMBV
Advocate
Advocate

Hi j.palmeL29YX

Thanks for your help.

Its nearly perfect, it works perfectly for the sample but the height of the cupboards can be any height, so the array needs to be able to stretch overall to suit, and maintain the hinges evenly and correctly spaced.

This may not be possible with a dynamic block and may need a lisp (which is beyond me)

Thanks again for your time.

0 Likes
Message 4 of 7

j.palmeL29YX
Mentor
Mentor

In the meantime I posted an improved version. Did you test it?

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 7

paul9ZMBV
Advocate
Advocate

Hi  j.palmeL29YX

Yes the revised version works perfectly thank you so much

Your time is very much appreciated

0 Likes
Message 6 of 7

j.palmeL29YX
Mentor
Mentor
Accepted solution

And here added the (I hope) final version. It additional includes the limitation for Numbers to values between  2 to 8. 

 

 

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 7 of 7

paul9ZMBV
Advocate
Advocate

Brilliant thanks much appreciated

0 Likes