The procedure has been a little simplified and updated. The properties chg and check of the front are omitted.
The angle value 0 is used for this. ( .ang === 0 )
Also in the version in the addon THREEi.
see Addon for triangulation of implicit surfaces