Sweep along 3D Path - profile rotation

daniel.loza
Contributor
Contributor

Sweep along 3D Path - profile rotation

daniel.loza
Contributor
Contributor

Hello,

 

I created sweep along 3d path with 2 methods:

- model in place ->sweep-> pick path (I already had 3d model lines which I used as a path) ->select rectangular profile

- sweep created inside dynamo by using the same 3d lines (polyline) and imported as family into the project

 

the thing is, I achieved slightly different results with both methods - the cross-sections of the solids obtained are not always horizontal - profile is rotating slightly (rectangular cross section is not aligned with global coordinates). Using the first method, the section of the solid rotates differently than using the second method. Could you help me to understand this behaviour? In the dynamo script I use the Coordinate System.By plane node to get the planes perpendicular to the 3d line but I don't know for example what is the relationship of the resulting local coordinate system (X,Y lying on the plane) to the global coordinates).

1.JPG2.png

0 Likes
Reply
Accepted solutions (1)
1,118 Views
3 Replies
Replies (3)

ToanDN
Consultant
Consultant
Accepted solution

There is no control of profile in sweep. Use an adaptive family mass/in place mass, create form using a shape on a path, then you can set its profile to consistent.

0 Likes

barthbradley
Consultant
Consultant

Why is dynamo necessary for this?  Is that the objective here and the crux of your question?

0 Likes

daniel.loza
Contributor
Contributor

I thought Dynamo will help to control profile's rotation

0 Likes