# How to divide 2 or more curves by the length of other different curves

**URL:** <https://discourse.mcneel.com/t/how-to-divide-2-or-more-curves-by-the-length-of-other-different-curves/204800>\
**Category:** Grasshopper\
**Tags:** windows, curves, rhino7, grasshopperrhino\
**Created:** [May 21, 2025, 2:10am UTC](https://discourse.mcneel.com/t/how-to-divide-2-or-more-curves-by-the-length-of-other-different-curves/204800 "2025-05-21T02:10:20Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luke10](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/luke10/32/674817_2.png) [@Luke10](https://discourse.mcneel.com/u/Luke10)\
**Post date:** [May 21, 2025, 2:10am UTC](https://discourse.mcneel.com/t/how-to-divide-2-or-more-curves-by-the-length-of-other-different-curves/204800/1 "2025-05-21T02:10:20Z")

</div>

in the file, I want to divide 2 curves by the length of the other 4 curves, I am not sure connect battery can work, but i do not want the distance between 2 curves added on the length, it can repeat directly from curve1 end point to curve2 start point, i need your help, thanks a lot!!!  
[1.3dm](https://discourse.mcneel.com/uploads/short-url/xN46OlijqlcgGMZVKaEMN0hdYUM.3dm) (46.2 KB)  
[2 Curves Divide By Length of other 4 curves.gh](https://discourse.mcneel.com/uploads/short-url/1TRenpf0avge1w6lL3JHXApaLaz.gh) (15.0 KB)

---

<div class="post-metadata">

**Author:** ![Jakob\_v\_Schirmeister](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/jakob_v_schirmeister/32/772164_2.png) [@Jakob\_v\_Schirmeister](https://discourse.mcneel.com/u/Jakob_v_Schirmeister)\
**Post date:** [May 21, 2025, 7:42am UTC](https://discourse.mcneel.com/t/how-to-divide-2-or-more-curves-by-the-length-of-other-different-curves/204800/2 "2025-05-21T07:42:40Z")

</div>

![do-I-need-ß](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/d/f/5/df57afc48e5c42f64ddddd1884b74af1adcd3c5c.png)  
I am not sure weather i understand the problem - but i am sure that i dont want an other plugin that does not help you solve it.  
[2 Curves Divide By Length of other 4 curves\_jvs.gh](https://discourse.mcneel.com/uploads/short-url/jBrquFlf0WRDGJzkU44wBFq6IwD.gh) (12.7 KB)

---

<div class="post-metadata">

**Author:** ![Luke10](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/luke10/32/674817_2.png) [@Luke10](https://discourse.mcneel.com/u/Luke10)\
**Post date:** [May 21, 2025, 10:06am UTC](https://discourse.mcneel.com/t/how-to-divide-2-or-more-curves-by-the-length-of-other-different-curves/204800/3 "2025-05-21T10:06:38Z")

</div>

(post deleted by author)

---

<div class="post-metadata">

**Author:** ![Luke10](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/luke10/32/674817_2.png) [@Luke10](https://discourse.mcneel.com/u/Luke10)\
**Post date:** [May 21, 2025, 10:56am UTC](https://discourse.mcneel.com/t/how-to-divide-2-or-more-curves-by-the-length-of-other-different-curves/204800/4 "2025-05-21T10:56:56Z")

</div>

Thank you for your time, the idea can be shown likely in the picture.

 ![微信截图_20250521185334](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/b/3/b/b3b49a0de5494642fb511ec63b331d659e4265f0.jpeg)

---

<div class="post-metadata">

**Author:** ![Jakob\_v\_Schirmeister](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/jakob_v_schirmeister/32/772164_2.png) [@Jakob\_v\_Schirmeister](https://discourse.mcneel.com/u/Jakob_v_Schirmeister)\
**Post date:** [May 21, 2025, 11:23am UTC](https://discourse.mcneel.com/t/how-to-divide-2-or-more-curves-by-the-length-of-other-different-curves/204800/5 "2025-05-21T11:23:46Z")

</div>

you need to analyse my file.  
understand and adjust.  
massaddition Partial Results to get the total length where you want to cut the curve, evaluate Lenght to get the Parameters for the cuts,  
shatter to finaly cut

---

<div class="post-metadata">

**Author:** ![Joseph\_Oster](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/joseph_oster/32/549124_2.png) [@Joseph\_Oster](https://discourse.mcneel.com/u/Joseph_Oster)\
**Post date:** [May 21, 2025, 11:29am UTC](https://discourse.mcneel.com/t/how-to-divide-2-or-more-curves-by-the-length-of-other-different-curves/204800/6 "2025-05-21T11:29:06Z")

</div>

![2 Curves Divide By Length of 4 other curves_2025May21a](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/c/1/e/c1e8253d447e3ada4cc730ef37e0d2eb9f4bba29.png)  
[2 Curves Divide By Length of 4 other curves\_2025May21a.gh](https://discourse.mcneel.com/uploads/short-url/efHkG1vwz09fwfAiZT0EsZc3F3W.gh) (6.1 KB)

No plugin or using Python to round numbers ‼

> [@Luke10](#):
>
> the idea can be shown like in the picture

That image doesn’t help, unless it’s meant to suggest repeating the lengths before MA?

---

<div class="post-metadata">

**Author:** ![Luke10](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/luke10/32/674817_2.png) [@Luke10](https://discourse.mcneel.com/u/Luke10)\
**Post date:** [May 21, 2025, 12:24pm UTC](https://discourse.mcneel.com/t/how-to-divide-2-or-more-curves-by-the-length-of-other-different-curves/204800/7 "2025-05-21T12:24:36Z")

</div>

Hi, the lengths of Curve 1 and Curve 2 are added together and then divided by the lengths of the other four curves. If Curve 1 is divided into four segments and the length of the last small segment does not reach the length of the fourth dividing curve, then Curve 2 will continue to be divided starting from the remaining length

 ![3](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/2/2/d/22dd54948eab28217fb2aa306d7e1a3065801197.jpeg)

---

<div class="post-metadata">

**Author:** ![Luke10](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/luke10/32/674817_2.png) [@Luke10](https://discourse.mcneel.com/u/Luke10)\
**Post date:** [May 21, 2025, 12:34pm UTC](https://discourse.mcneel.com/t/how-to-divide-2-or-more-curves-by-the-length-of-other-different-curves/204800/8 "2025-05-21T12:34:48Z")

</div>

Hello friend, you give me good example to use the total length, if curve 1 is very short, how curve 2 get start? Could it following the queue of 4 curves?
