![]() In my next plugin, I am for instance deforming curves based on moving an extremity (something Sketchup does natively in the Move tool, but does not propose for one single vertex).Ĭlass Remustool def onMouseMove(flags, x, y, view) ip view.inputpoint x,y cursor ip.position view.invalidate end def draw(view) view.drawpoints cursor, 10, 1, red end end Remustool.new The main things to learn from it are that tools are their own class. The real issues is to know exactly what to do in real use cases, because moving one vertex is probably not really helpful as such. Remus wrote:Is there any reason why a plugin doesnt exist at the moment that allows you to modify vertices I was thinking of having a crack at it but was wondering if theres some technical reason why its hardimpossible to do.
0 Comments
Leave a Reply. |