### Author Topic: Stretch and/or Length Constraint  (Read 6699 times)

0 Members and 1 Guest are viewing this topic.

#### DanB

• Bull Frog
• Posts: 367
##### Stretch and/or Length Constraint
« on: September 11, 2019, 09:50:40 AM »
Getting frustrated with this one. See attached. I want to stretch line 'a' along distance1 as a variable user length. Lines 'a', 'b', 'c', and 'd' should remain equal lengths. Lines 'a' and 'b' would lengthen towards the bottom of the picture 'c' and 'd' and would lengthen towards the top of picture. I've attempted to use the "equal" constraint but once the block is rotated, there are random results on the direction the lines are lengthened. I've also attempted to apply an angle restraint (60d between 'a' and 'b') to attempt to simply stretch both at the same times to no avail. Any tips or suggestions are appreciated.

Thanks,
Dan

#### Crank

• Water Moccasin
• Posts: 1503
##### Re: Stretch and/or Length Constraint
« Reply #1 on: September 11, 2019, 02:58:30 PM »
See attachment.
Vault Professional 2023     +     AEC Collection

#### DanB

• Bull Frog
• Posts: 367
##### Re: Stretch and/or Length Constraint
« Reply #2 on: September 11, 2019, 03:48:02 PM »
Thank You. Exactly what I wanted to accomplish. Can you explain how you get yours to work as desired, I want to be able to apply similar concept to some other blocks I am creating. I had mixed results with the direction the lines would lengthen when using the "equal" constraint. Also, is the vertical component a key to getting this to work?

#### DanB

• Bull Frog
• Posts: 367
##### Re: Stretch and/or Length Constraint
« Reply #3 on: September 11, 2019, 03:52:29 PM »
Having another look, I am now seeing the coincident constraints (I need to learn what these are doing). Odd these appear very very small on the screen, and difficult to find without hovering over them.

#### ribarm

• Gator
• Posts: 3187
• Marko Ribar, architect
##### Re: Stretch and/or Length Constraint
« Reply #4 on: September 12, 2019, 01:04:11 AM »
Another one with fix point constraints and equal constraints...
Marko Ribar, d.i.a. (graduated engineer of architecture)

#### Crank

• Water Moccasin
• Posts: 1503
##### Re: Stretch and/or Length Constraint
« Reply #5 on: September 12, 2019, 01:48:27 AM »
For the mixed results with the direction of of the lines: The coincident constraints are used to pin one side of the line so the line is forced to stretch in the opposite direction.

The vertical component was added to bypass a bug: Without this it looks good In the test environment, but when you insert the block it will be distorted.
Vault Professional 2023     +     AEC Collection

#### DanB

• Bull Frog
• Posts: 367
##### Re: Stretch and/or Length Constraint
« Reply #6 on: September 12, 2019, 08:26:46 AM »
Thank you both, learning a lot from this.