Hello.
How to make for a different objects the same ratio of offset, move or scaling?
Using for example not a distance, but a percentage?
Thanks.
Need fhe same ratio.gh (15.3 KB)
Hello.
How to make for a different objects the same ratio of offset, move or scaling?
Using for example not a distance, but a percentage?
Thanks.
Assuming your highlighted objects (shown in green) are what you’re after, then you can use the Map Srf
component (Map to Surface):
If you scale an object by a factor it already does that doesn’t it?
Hi René Corella.
Thank you very much for your help, something like this, but this is not quite what I need.
Objects will be distorted separately.
I just united them together for clarity.
This will be a universal definition for approximately the same objects in shape but very different in size. Each time, changing values ​​in Number Slider from units to thousands is not very correct, so I would like to use not sizes in millimeters but a factor.
Need factor.gh (8.0 KB)
Hi Ftzuk.
Yea, the factor like as in scaling.
you should have started saying that
Hello.
I managed to make an offset with a factor.
I sorted the lines of the polygon and took the shortest.
The length of this line in my definition is the maximum value of the offset distance.
It works equally well on small and large figures.
In this example, the shortest line is 9 mm, but passing the value of 5.58 mm the polygon turns into a triangle.
Question. How can I limit the offset distance of 5.58 mm (until the triangle has formed)?
I would be deeply grateful for any assistance.
Offset with a factor.gh (13.3 KB)
Hi Leopold.
Thank you.
Unfortunately I can’t check how it works now.
But I see the set numerical value of 5.58.
I think if the geometry of the quadrilateral changes, it won’t work.
9.00 (shortest line) and 5.58 are specific numbers for this particular figure. This value will always be different.
Maybe that’s what you mean?
Offset with a factor a.gh (16.3 KB)
In your definition on the same quadrangles in the form, but different in size the same distances of the offset.
I want to get this:
I need some other way to limit the offset distance until the moment when the triangle begins to appear.
ps
Here are the same figures, they are just for understanding the task.
Hello
if you want that
Measure each green line, the (triangle) polygon with less points than initial appears at min green line distance
In theory it should work like this.
In practice the offset is not always correct even though the measurement is valid.
Offset with a factor b.gh (16.0 KB)
Thank you very much, friends, for your help.
I’m currently watching and figuring out how this works.
I understood why it does not always work correctly.
The thing is, it that we sorted from smaller to the larger length in order to take the “shortest”. When the “longest” is located to the right of the shortest, and “short” line on the left, then it works correctly.
But if the geometry of the quadrangle has changed then does not work.
Need to take the “shortest” and located prev of it, and take the “shortest” and next line. Then look for bisector by them.
Offset with a factor b_2.gh (7.4 KB)
If anyone knows how to, please help to sort.
I hadn’t thought about it.
Try this.
Offset with a factor c.gh (16.1 KB)
Unfortunately, with the transformation of the quadrangle, the order of points changes the direction.
If the right side is longer than the left one, everything is okay. But if it’s the other way around, the order of the points is disrupted, and the definition doesn’t work as planned.
Is it possible to find a bisector based on the lines, not on points?
Offset with a factor c_2.gh (29.0 KB)
I took and put aside the shortest, as I will look for bisector from this.
And joined three curves into one polyline to sort these three segments, but not in length, but in order.
I plan to take the segment number 1 and combine on the left with the shortest. Then the segment number 3 and combine on the right with the shortest in order to find bisector.
But I don’t understand how to sort in order.
To select lines.
Offset with a factor d.gh (10.7 KB)
Offset with a factor e.gh (17.5 KB)