Constraints manager help

Moderators: Jason Susnjara, Larry Epplin, Clint Buechlein, Scott G Vaal, Jason Susnjara, Larry Epplin, Clint Buechlein, Scott G Vaal

Post Reply
User avatar
Dale Wills
Senior Member
Posts: 190
Joined: Mon, Oct 10 2005, 11:09PM
Company Name: none
Country: AUSTRALIA
Location: Camperdown, Victoria, Australia

Constraints manager help

Post by Dale Wills »

Hi
I have a door that I have created from the left end of a cabinet. I have applied 4 hinges holes with a saved profile. I am now scratching my head as to how to constain the two middle hinge holes. My top and bottom hinges are always to remain 98mm from the edge and the two middle hinges are to remain evenly spaced between these two.
How can I write a formula that when I change the height of the door these two middle hinge holes will remain evenly spaced between the top and bottom hinge holes? I'm assuming its something like, H/3+98 or something. I'm not sure whether I am on the right path here or even if I have to write the formula in a specific way. I will attach the cabinet file. I did read up on this in the manual but it didn't go into depth as to any programing language that must be used. + - / * ( )
Thanks,

Dale
Attachments
Door Test.hsf
(158.02 KiB) Downloaded 329 times
User avatar
DanEpps
Wizard Member
Posts: 5852
Joined: Thu, Jul 28 2005, 10:18AM
Company Name: Dan Epps
Country: UNITED STATES
Location: Rocky Face GA

Re: Constraints manager help

Post by DanEpps »

Close Dale, the formula should be (H+98mm)/3 (see my test below...it is in inches but same concept). Yours had so many constraints it was easier for me to test with a simpler design. :wink:
Door Test Constraints.jpg
Door Test Constraints.jpg (22.04 KiB) Viewed 3335 times
User avatar
Dale Wills
Senior Member
Posts: 190
Joined: Mon, Oct 10 2005, 11:09PM
Company Name: none
Country: AUSTRALIA
Location: Camperdown, Victoria, Australia

Re: Constraints manager help

Post by Dale Wills »

You've done well Dan.....thanks for your help mate.

Dale
Post Reply