New Inset Polygon Addon

add-ons

(howardt) #21

External for now, hopefully contrib very soon.


(RickyBlender) #22

i cannot get quad !

ok i tested as indicated am =0.06 and h=0.15 no region and still get only tris!

anything else to get quads?
i can upload the file if you want !

very sensitive in anycase !
to reduce sensitivity you could make the values as a proportion to let say the side of quad if possible
so might be less sensitive i guess!

thanks


(howardt) #23

You have more quads, and so their sides must be smaller. Try typing a smaller number into the amount box, like .01 or .005 and see what you get.

Everyone: what is the best way to specify inset amount? Choices are:

  1. absolute distance (in Blender Units? or maybe 10ths of Blender Units?)
  2. percentage of the value that would take the inset all the way to a single point or line

Advantage of the first is that you can get the same absolute border size easily on different parts of the model (and scene). Advantage of the second is that you don’t have to worry about sensitivity of the slider depending on the scale of what you are trying to inset, and sometimes you may want the effect of ‘inset is exactly 25% of the way into the center’.


(RickyBlender) #24

for me i would prefer % which means minimum sensitivity!

but the other method could be usefull too for mehcanical design!

so best way is give an option !

ok got quads i did it with a value of am = 0.01
but this means it is extremely sensitive !

have fun


(comeinandburn) #25

this is an outstanding add-on!

thanks for sharing it’s a much needed tool.


(ktysdal) #26

this is my number 1 tool that I feel has been missing for modeling. Thanks for the addon!

but, it does give some very strange results. If you see my attached image, the right one is made with your inset and left one is how I expect an inset to work. The left one is made with chromoly’s outdated “Vertex-align/ Shift faces outline”.


(aidyfuzz) #27

Thanks for the reply! I was thinking in terms of ending up with a functionality that might be able to do this - taking the 2 faces closest to the camera here…

![file:///C:/Users/UKABUR%7E1/AppData/Local/Temp/moz-screenshot.png](file:///C:/Users/UKABUR%7E1/AppData/Local/Temp/moz-screenshot.png)

Then insetting them like this…


And then perhaps then being able to extrude out like this (i’ve angled the camera to look down on it to hopefully make the nature of the type of uniformity of the extrusion clear - well i hope so anyway! :evilgrin:)…


All the angles in this example are 90 degrees.

Anyway, hopefully this isn’t muddying the waters too much, perhaps this is for a different future tool?

Thanks again for the great addition, plus it’s great to see this tool getting exposure on the various blender sites! :evilgrin:

Aidy.


(Carrozza) #28

First of all thanks for this add-on, if you’ll manage to make it work right will definitely gain a fan!

Now for the feedback, I experience weird results insetting some faces on a sphere: it looks like the script don’t maintain height and some faces get lowered.

[ATTACH=CONFIG]139498[/ATTACH]
http://imageshack.us/photo/my-images/217/insetm.jpg/


(tungee) #29

Cool plugin!
thanx.


(crazycourier) #30

Nice work Howardt! This is an awesome addition.

@tungee, love the new photo!


(tungee) #31

Thanx CC :wink:
You can make your own here :
http://www.yearbookyourself.com/


(howardt) #32

@ktysdal and @Carrozza,

I will try to make my addon behave more like you want, as I can see the value of that.

The reason why it is harder than it might seem is that when the inset gets too big, the inner topology changes so it may no longer be possible to maintain the connections the way they were before inside the inset polygon(s).

For example, consider:


After insetting for a bit, we get:



(Notice the corner advancing from the left hitting the inset edge advancing from the right - it is about to split the inside into two polygons.)

This can continue. Sometimes the edges from two adjacent corners meet and have to merge. Eventually the algorithm produces:


To handle the general case, right now I am just tossing whatever faces were inside the inset polygon(s) and re-quadrangulating them from scratch.

I need to figure out how I can preserve what is currently inside the inset polygon if it still make for a valid (non-edge-crossing) set of faces. One probably easy first step would be to at least do this when the insetting stops before the first collision event of the type I talked about above.

@aidyfuzz - thanks for your picture. It does look interesting to do what you’re asking for but right now I have other things with higher priority to fix first, like the above and also preserving face properties like smoothing, materials, UVs, etc.


(howardt) #33

Not sure why the pictures didn’t show in the previous post. Here they are:







(meschoyez) #34

a very very very helpful tool. Thanks a lot for this work!


(Chris_m) #35

Great work. I think, that’s the feature I missed most since starting to use Blender.


(Meta-Androcto) #36

thanks for the awesome work.
Congratultions on Contrib & Welcome!


(AnandhaRaja) #37

Thanks, Looking awesome. keep updating…


(aidyfuzz) #38

Fair enough, it’s a good addition to the toolset as is so thanks again. The inset tool that can be seen in 3dsmax or silo can already do the functionality that i was talking about, (not limited to flat surfaces that is). I used to use 3dsmax all the time but the office where i work use maya, which doesn’t have that kind of functionality, it’s a much missed feature!). Hopefully one day blender can plug that gap! Down the line maybe you’ll be the one to plug it! :smiley:


(howardt) #39

A tiny update in preparation for uploading it to contrib. As well as adding links to the wiki and tracker, I made the sliders max out at 1 instead of 10, to give you more control when using this on normal-sized features. You can still get bigger amounts by just typing a number. I also made the default inset value .05 instead of 0, so that when you click the button it is obvious that the inset function is doing/ready to do something.


(howardt) #40

It is now uploaded to contrib. Thanks meta-androcto and mindrones for your help on this.