Jump to content

Stop Sweep from interseting itself


raincole

Recommended Posts

With Sweep SOP, I swept this profile:

61fa91d6aa2b8_Screenshot2022-02-02220622.png.9f3266327b64e2c9a9b06d2fe87ec8b5.png

Over this curve:
61fa91dd9287d_Screenshot2022-02-02220648.png.5dd14cafe0300b89746d485f1f5cf963.png

And got this:
61fa91df95cb5_Screenshot2022-02-02220706.png.db7bab5bb52dfbb82f63cacbd68d36ef.png

Now how could I get rid of this self-intersection? I know I can manually remove some points from the original curve, but is there a more procedural way? Like to detect the "concave" part of the curve and adjust their orientation?
Link to comment
Share on other sites

Hi,

probably not working in every situation, but you can collect all points, which have a sharp corner. Once you have these points, you can clip the geometry by the dividing planes (u-value aswell). The clipping part should be restricted to the intervals between each corner.

Sweep_avoid_intersection.hipnc

using carve can be another option, to split the curve into several parts (applied sweep), which can be merged together, after the ends are clipped by the planes.

 

Sweep_avoid_intersection_segments.hipnc

Edited by Aizatulin
  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...
On 2/8/2022 at 11:38 PM, Aizatulin said:

Hi,

probably not working in every situation, but you can collect all points, which have a sharp corner. Once you have these points, you can clip the geometry by the dividing planes (u-value aswell). The clipping part should be restricted to the intervals between each corner.

Sweep_avoid_intersection.hipnc

using carve can be another option, to split the curve into several parts (applied sweep), which can be merged together, after the ends are clipped by the planes.

 

Sweep_avoid_intersection_segments.hipnc

 

Clever! Thank you very much.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...