Jump to content

polygon split


Recommended Posts

Hi, guys.

I get a problem maybe it was be asked before, but i can't find any tips.

There is a grid polygon and i add a line on it by add SOP.  Is it any way split the grid to two part by the line even the vertex number was not right.

I can split it by polySplit or Clip, Break SOP, but they were not flexible enough.

Any help will be appreciated!

Thanks.

 

post-9982-0-86525400-1409252982_thumb.pn

grid_split.hip

Link to comment
Share on other sites

I think you have to write some Python expression for PolySplit SOP to generate the points you want split unless the point numbers to split is fixed.

I think the expression was a great way to do it, i will take a try.

Since i not good at python, i look forward someone have a simply way to achieve it. :)

Link to comment
Share on other sites

first thought.

1.create a transform and center the grid to the cplane Y

2.create a transform to set the grid parallel to the construction plane Y(if needed)

3.us 2 deletesop extraction left and rightside using >$TX and $TX.

4.add the line in both extraction and use a join sop.for each output.

5.merge them back

 

not so elegant but i think that will give you 2 primitive with the line the center line atop of each other

Edited by willow wafflebeard
Link to comment
Share on other sites

first thought.

1.create a transform and center the grid to the cplane Y

2.create a transform to set the grid parallel to the construction plane Y(if needed)

3.us 2 deletesop extraction left and rightside using >$TX and $TX.

4.add the line in both extraction and use a join sop.for each output.

5.merge them back

 

not so elegant but i think that will give you 2 primitive with the line the center line atop of each other

Thank you. Willow.

It was feasible, but i think it not not flexible enough.

Actually i want split many parts in a SOP once, it seems the polysplit with expression was the best solution.

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...