Align geometry heights

unhandled

(Maya_Lily) #1

Is it possible to align volumes which don’t have the same height? I was thinking if the “attractors” make sense here?
ps: the highlighted volume is the reference


#2

No image. No file. No help.


(Maya_Lily) #3

I upload an image but there is a problem… I 'm trying again


(Maya_Lily) #4

finally
@siemen


(Michael Pryor) #5

How do you want to align them? (Don’t know what attractors are useful for here)


(Maya_Lily) #6

i want to make them have the same height as the highlighted box, I don’t know about attractors may be they are useful.


(Michael Pryor) #7

Height means what? Should they stretch (Scale1d)? Should they remain proportional(Scale)? Should they move up to the height? Should the bottoms first align, then scale to meet the top?

Specifics are key in asking questions.


(Maya_Lily) #8

No I don’t mean to scale them, it’s to stretch ( when it’s shorter) and Shorten (when it’s longer than the highlighted box). the base is the same.
I want to make like an invisible reference line which defines the height desired… So may be it’s scale 1d


(Michael Pryor) #9

This should work.
Capture


Squish-Stretch.gh (16.8 KB)


(Maya_Lily) #10

and when the curve to match height is like a horizontal line level ( not a vertical one) or may be a plane (xy)


(Michael Pryor) #11

The length of the line will be measured no matter what. Or do you mean you want to scale horizontally if the line is horizontal?

A plane(xy) has no length, you can’t measure it.


(Maya_Lily) #12

Yes I want to scale the volumes horizontally with a horizontal line.
Yes sure a plane don’t have a length, I mean here that when it’s parallel to the (xy) plane and its origin is different from O, so it’s like a reference plane which all the volumes will align


(Michael Pryor) #13

If the line is horizontal then use the direction it is (instead of Z in the file I posted) switch the deconstruct box and the scale NU to x or y.


(Maya_Lily) #14

thank you all :wink: