# Solid by Loft problem, twisted loft solid result

**URL:** <https://forum.dynamobim.com/t/solid-by-loft-problem-twisted-loft-solid-result/69556>\
**Category:** Geometry\
**Tags:** geometry, dynamo\
**Created:** [October 22, 2021, 3:31am UTC](https://forum.dynamobim.com/t/solid-by-loft-problem-twisted-loft-solid-result/69556 "2021-10-22T03:31:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PiDo](https://avatars.discourse-cdn.com/v4/letter/p/59ef9b/32.png) [@PiDo](https://forum.dynamobim.com/u/PiDo)\
**Post date:** [October 22, 2021, 3:31am UTC](https://forum.dynamobim.com/t/solid-by-loft-problem-twisted-loft-solid-result/69556/1 "2021-10-22T03:31:32Z")

</div>

Hi  
I encounter a problem with solid by loft. The result is twisted, seems it connects wrong points of two crosssections. I attached relevant files, Any ideas?  
[ground data.xlsx](https://forum.dynamobim.com/uploads/short-url/sszFqd1iJB0O7xuJFD4SDu2UaI4.xlsx) (20.3 KB)  
[loft test.dyn](https://forum.dynamobim.com/uploads/short-url/ymQ3vuihDUcxLkiyWfbQzR4lRYC.dyn) (15.5 KB)

 ![loft problem Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/6/86a63a38ee2cba23a62918f364b0b4cc17ffdc13.png) ![loft problem Capture2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/7/1707875e18788cbf762a397f81a304d5bd9b4d8a.jpeg)

---

<div class="post-metadata">

**Author:** ![wusaga](https://avatars.discourse-cdn.com/v4/letter/w/958977/32.png) [@wusaga](https://forum.dynamobim.com/u/wusaga)\
**Post date:** [October 24, 2021, 2:04pm UTC](https://forum.dynamobim.com/t/solid-by-loft-problem-twisted-loft-solid-result/69556/2 "2021-10-24T14:04:37Z")

</div>

You can only loft 2D profil. In your example you try to do it with two polysurfaces/mashes and this isnt possible.

You can try to create polysurface surfaces between your current two polysurfaces.

1. get outer Boundary from Polysurface;  
PolySurface.UnconnectedBoundaries

2. write script: start at 1 point from outer boundary to find left point at lower surface and next point from upper surface. Creat from those 3 points a surface.

3. do the same from upper to lower polysurfacesurface.

4. combine ale 3point surfaces to polysurface

5. create surface with: Solid.ByJoinedSurfaces

---

<div class="post-metadata">

**Author:** ![PiDo](https://avatars.discourse-cdn.com/v4/letter/p/59ef9b/32.png) [@PiDo](https://forum.dynamobim.com/u/PiDo)\
**Post date:** [October 25, 2021, 2:01am UTC](https://forum.dynamobim.com/t/solid-by-loft-problem-twisted-loft-solid-result/69556/3 "2021-10-25T02:01:02Z")

</div>

![图片](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/f/cf349b0c98dfc572c1cb5099d0223b2a570e5eea.jpeg)  
I don’t think it’s the problem buddy, If you check the rest of the data in excel,you can find, only 2 sections of loft went wrong.

---

<div class="post-metadata">

**Author:** ![PiDo](https://avatars.discourse-cdn.com/v4/letter/p/59ef9b/32.png) [@PiDo](https://forum.dynamobim.com/u/PiDo)\
**Post date:** [October 27, 2021, 2:26am UTC](https://forum.dynamobim.com/t/solid-by-loft-problem-twisted-loft-solid-result/69556/4 "2021-10-27T02:26:22Z")

</div>

Solved it, it’s a mismatched between upper points and lower points.
