Notifications
Clear all

[Closed] Break cluster of polygons in UVW Unwrap

I’ve seen a couple of threads on this topic but none that helped me find my answer.

  1. I have an object,
  2. I apply a UVW Unwrap modifier
  3. I select a cluster of polygons inside the UVW Unwrap editor window
  4. Press break. (this wont do anything, since I selected multiple polygons and it only works on single selection)

So I tried to write a script for this.

Found the following code:

for o in selection do
(
o.modifiers[#unwrap_uvw].unwrap.breakSelected()
)
)

However this only works in vertexselection mode. How can I get this to work in Polygon mode so that the entire selection is split up in separate polygons?

2 Replies
1 Reply
(@denist)
Joined: 10 months ago

Posts: 0

so convert face selection to vertices and apply…

breakselected works in the Edge Mode as well. I prefer to break in the edge mode:

(
	unwrap = $.unwrap_uvw

	unwrap.faceToEdgeSelect()
	unwrap.setTVSubObjectMode 2
	unwrap.breakSelected()
	unwrap.setTVSubObjectMode 3
)

Fantastic! Thank you for the quick help DenisT