Hi Pilou, since the node editor uses GeometryFactory::calculate() it runs the factory calculation inside MoI.exe instead of running it in the separate moi_commandprocessor.exe process as will happen when running the regular Revolve command. As a side effect of this there are some kinds of bugs that you can encounter with the node editor that get screened out with the regular commands because if moi_commandprocessor.exe crashes the MoI.exe process just keeps going ok.
In this case the bug is the revolve factory will crash if given a 0 (or perhaps very small) angle value. This could be tuned up in the Revolve node to not try and do the revolve if the angle is very small. Something like: if ( Math.abs(angle) < 0.01 ) return;
I've updated the revolve factory itself to do that as well so in the next release that shouldn't happen even with the current revolve node.
- Michael
|