[NodeEditor] How i can Filet / Chamfer Points (corners) from a Rectangle Node ?

 From:  Michael Gibson
9666.22 In reply to 9666.21 
Hi Brian, the factory.generateVertices() call in Fillet.js calls a function on the fillet factory that creates point objects and puts them in the geometry database.

That's done in the regular fillet command because it has a selection step where it waits for the user to select those points and when that selection step is done it then builds the boolean list with a value of true set if that point object was selected.

Also I was previously thinking that the boolean list needed to have one entry for each sharp corner in the curve. But that's not correct, it actually needs to have one entry for each segment of the curve. A value of true will mean to put a fillet at the start of that segment, but it will only do anything if the start of the segment is a sharp point.

So the previous code that makes the list by calling .getSubObjects() on the curve to get all of its segments should be fine, you won't actually need the new .numVertices property after all.

Let me know if any of this isn't clear.

- Michael