# AdaptiveComponent Unwanted Rotation

**URL:** <https://forum.dynamobim.com/t/adaptivecomponent-unwanted-rotation/34267>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [April 2, 2019, 6:22am UTC](https://forum.dynamobim.com/t/adaptivecomponent-unwanted-rotation/34267 "2019-04-02T06:22:22Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mu\_Jica](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Mu\_Jica](https://forum.dynamobim.com/u/Mu_Jica)\
**Post date:** [April 2, 2019, 6:22am UTC](https://forum.dynamobim.com/t/adaptivecomponent-unwanted-rotation/34267/1 "2019-04-02T06:22:22Z")

</div>

Hi All,  
I’v got almost every techniques for dynamo and revit from you.  
I deeply appreciate it…

and today, I brings 2 questions about AdaptiveComponent.by points

I made this graph

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/e/4e9fe048981b65dad7c0e852938c7d925c6c846b.png)

and I found 2 problems

I made family like this

 ![K-007](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/c/4c6bb8cf957ef7fc630531d3e4e2228afd40c8bc.jpeg)

but some families has rotated.

 ![K-006](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/b/aba95bbbd23f093501616657dcc13151ab0a04de.jpeg)

I want to my families to be drawn unrotated…

where is the problem?  
Should I make this family in other way?  
or  
there has some missing stuffs in graph?

[T1002243E2A라이닝.rfa](https://forum.dynamobim.com/uploads/short-url/eD439VPhdYMbecRtZlEHscOiyDV.rfa) (388 KB)  
[Tunnel Structural Framings\_V.0.0.22 By Jicaprio\_Import Families by path that their length has defined by Excel AdaptiveComponents 3points.dyn](https://forum.dynamobim.com/uploads/short-url/5475xGF9UVfhMp64WRYVFaoX8hd.dyn) (151.5 KB)

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [April 2, 2019, 12:35pm UTC](https://forum.dynamobim.com/t/adaptivecomponent-unwanted-rotation/34267/2 "2019-04-02T12:35:20Z")

</div>

One idea: Try adding another point to control rotation (project point one a single unit along the Z axis).

---

<div class="post-metadata">

**Author:** ![Mu\_Jica](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Mu\_Jica](https://forum.dynamobim.com/u/Mu_Jica)\
**Post date:** [April 3, 2019, 11:38pm UTC](https://forum.dynamobim.com/t/adaptivecomponent-unwanted-rotation/34267/3 "2019-04-03T23:38:51Z")

</div>

Thanks, Jacob  
But you know, my curve is a bit complicate,  
It is difficult to draw a new point in the exact position.  
is there another way to solve this problem?

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [April 4, 2019, 12:40am UTC](https://forum.dynamobim.com/t/adaptivecomponent-unwanted-rotation/34267/4 "2019-04-04T00:40:50Z")

</div>

Translating the first point of each section by one unit along the Z axis seems rather simple a solution to me… or are you intending to rotate the profile by some complex formula which as of yet is unseen?

---

<div class="post-metadata">

**Author:** ![pkennethaustin](https://avatars.discourse-cdn.com/v4/letter/p/c5a1d2/32.png) [@pkennethaustin](https://forum.dynamobim.com/u/pkennethaustin)\
**Post date:** [April 8, 2019, 4:17am UTC](https://forum.dynamobim.com/t/adaptivecomponent-unwanted-rotation/34267/6 "2019-04-08T04:17:46Z")

</div>

Maybe the curves are flipped.

---

<div class="post-metadata">

**Author:** ![Mu\_Jica](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Mu\_Jica](https://forum.dynamobim.com/u/Mu_Jica)\
**Post date:** [April 9, 2019, 11:39pm UTC](https://forum.dynamobim.com/t/adaptivecomponent-unwanted-rotation/34267/7 "2019-04-09T23:39:23Z")

</div>

Then, I have to take 4th point in the z axis direction, I think this is almost impossible…  
Do you know the node that find offset points of nurbs curve?

 ![20190408_104407](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/a/2a935e651e2d7162fdeb0b6f725160418ed6f3b7.jpeg)

---

<div class="post-metadata">

**Author:** ![Mu\_Jica](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Mu\_Jica](https://forum.dynamobim.com/u/Mu_Jica)\
**Post date:** [April 12, 2019, 8:16am UTC](https://forum.dynamobim.com/t/adaptivecomponent-unwanted-rotation/34267/8 "2019-04-12T08:16:10Z")

</div>

I’m sorry Jacob,

But, like I was trying to build a structural frame that alongs 3D curve, I did not think it was impossible. It was too much time later when I realized that it was the limit of the program. Nobody told me it was impossible. I had to waste too much time.  
Maybe this looks like that again.  
Is it impossible to find an offset point of a 3D curve and create an adaptive point?  
Is it impossible to modelling tunnels using adaptivecomponent and structural frames?

Well, if so, what method will you use when you are writing tunnel modeling?  
There are some topics related to tunnels in this forum, but I can not see how I can find the answer…

---

<div class="post-metadata">

**Author:** ![Mu\_Jica](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Mu\_Jica](https://forum.dynamobim.com/u/Mu_Jica)\
**Post date:** [April 18, 2019, 7:08am UTC](https://forum.dynamobim.com/t/adaptivecomponent-unwanted-rotation/34267/9 "2019-04-18T07:08:19Z")

</div>

> [@jacob.small](#):
>
> “Translating the first point of each section by one unit along the Z axis”

I understood this to mean creating an offset point.  
But, Maybe I did not understand your words properly. I’m terribly sorry, but can I get other explanations or materials related to this?

---

<div class="post-metadata">

**Author:** ![khuzaimah.ElecEng](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/khuzaimah.eleceng/32/92768_2.png) [@khuzaimah.ElecEng](https://forum.dynamobim.com/u/khuzaimah.ElecEng)\
**Post date:** [April 18, 2019, 8:27am UTC](https://forum.dynamobim.com/t/adaptivecomponent-unwanted-rotation/34267/10 "2019-04-18T08:27:09Z")

</div>

have you try to sort them ?  
take every 3 points ( adaptive points), and take the Distance between each point with original point ( like the start point of the curve), and use sort by key node  
it should work
