# Divide surface using different spacing distances - Paneling

**URL:** <https://discourse.mcneel.com/t/divide-surface-using-different-spacing-distances-paneling/165246>\
**Category:** Grasshopper\
**Tags:** panel, rhino7, grasshopperrhino, paneling, parametric\
**Created:** [September 7, 2023, 7:53pm UTC](https://discourse.mcneel.com/t/divide-surface-using-different-spacing-distances-paneling/165246 "2023-09-07T19:53:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![emilia1](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/emilia1/32/486388_2.png) [@emilia1](https://discourse.mcneel.com/u/emilia1)\
**Post date:** [September 7, 2023, 7:53pm UTC](https://discourse.mcneel.com/t/divide-surface-using-different-spacing-distances-paneling/165246/1 "2023-09-07T19:53:28Z")

</div>

Hello! I’ve been working on this parametric panel for a while and I’m struggling to modify the grid in the x direction (so that the spacing looks like the curves in the left). I want the division of the inicial surface to vary randomly between 3 values: 0.235; 0.335; 0.435.

![WhatsApp Image 2023-09-07 at 16.44.49](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/c/f/1/cf1a213085d75e11e7990246c80597bf7e22711e.jpeg)

 ![WhatsApp Image 2023-09-07 at 16.21.34](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/7/a/8/7a816ae6d9868655b6775c078c18ca2eb9cbfddc.jpeg)  
[panel secotr.gh](https://discourse.mcneel.com/uploads/short-url/voRmgTrxYVhuwko6ZSzgHRZWCZF.gh) (32.4 KB)

---

<div class="post-metadata">

**Author:** ![Quan\_Li](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/quan_li/32/679256_2.png) [@Quan\_Li](https://discourse.mcneel.com/u/Quan_Li)\
**Post date:** [September 8, 2023, 4:15am UTC](https://discourse.mcneel.com/t/divide-surface-using-different-spacing-distances-paneling/165246/2 "2023-09-08T04:15:43Z")

</div>

What an honour

---

<div class="post-metadata">

**Author:** ![michaelvollrath](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/michaelvollrath/32/479405_2.png) [@michaelvollrath](https://discourse.mcneel.com/u/michaelvollrath)\
**Post date:** [September 8, 2023, 5:02am UTC](https://discourse.mcneel.com/t/divide-surface-using-different-spacing-distances-paneling/165246/3 "2023-09-08T05:02:23Z")

</div>

Hi @emilia1 ,

After messing around with the surface UV domains I found it was faster to just exploit the dash/gap pattern of the surface X border line.

I think this achieves what you are after?

You can establish your possible values and then randomize the pattern by changing the seed value slider.

Graph Space Pt 1:

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/e/1/3/e13bd32c942391b1698a5c75733d4c7c1faee6ba.png)

Graph Space Pt 2:

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/0/9/6/09631862e4adfbb11d40c289afb051f57bb358fd.png)

Model Space:

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/1/5/3/15313d659fed54d06039c889244937a3823fcb4d.jpeg)

Hope it helps!

[20230907\_panel secotr\_Response\_01a.gh](https://discourse.mcneel.com/uploads/short-url/8Bw6MVoruZ0iWCxSE05b3nI1ZPt.gh) (37.7 KB)

---

<div class="post-metadata">

**Author:** ![emilia1](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/emilia1/32/486388_2.png) [@emilia1](https://discourse.mcneel.com/u/emilia1)\
**Post date:** [September 9, 2023, 7:04pm UTC](https://discourse.mcneel.com/t/divide-surface-using-different-spacing-distances-paneling/165246/4 "2023-09-09T19:04:00Z")

</div>

Thank you so much Michael! That’s exactly what I needed

---

<div class="post-metadata">

**Author:** ![michaelvollrath](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/michaelvollrath/32/479405_2.png) [@michaelvollrath](https://discourse.mcneel.com/u/michaelvollrath)\
**Post date:** [September 9, 2023, 7:45pm UTC](https://discourse.mcneel.com/t/divide-surface-using-different-spacing-distances-paneling/165246/5 "2023-09-09T19:45:41Z")

</div>

Great! I’m glad it helps!
