[Addon] EWOCprojects presents EdgeTune3

the problem was because i rename the addon from edgetune to edgetune3.1.1 this was causing the error only i removed the dot and fixya

People, were up to 3.2.0.

Thanks to lichtwerk pointing me to object raycasts, I could revolutionize the code that does edge occlusion! So now its really fast and lean and doesnt turn the background black anymore, the old hack could go.

I rushed the last version (3.2.0) a bit too much: edge occlusion didnt really work as should…
This is fixed now.

This was a pretty cool addon, unfortunately broken with latest buildbots.
Any chance of a fix?

EdgeTune has been updated for latest builds both as stand-alone and inside EWOCprojects tools collection.

Have fun.

Sweet!

Works well, thanks.

I did run into a bug.
The object that is created (I believe for drawing): (mesh)_EdgeTune, is not deleted on exit.

Also, I use a custom setup that has Maya navigation. I had to edit the script a bit to allow Maya navigation. I didn’t catch that it interferes with the script. In case you want to add it in.

This is the bit that’s changed, passed through LMB + ALT, RMB + ALT. And had to add an ALT exclusion on the LMB and RMB events.



...
    def modal(self, context, event):

        self.viewchange = False
        if ((event.type == 'LEFTMOUSE') and (event.alt != True)):
            if event.value == 'PRESS':
                self.mbns = True
            if event.value == 'RELEASE':
                self.mbns = False
                self.contedge = None
                self.movedoff = True
        if ((event.type == 'RIGHTMOUSE')  and (event.alt != True)):
            # cancel operation, reset to bmumdo mesh
            bpy.types.SpaceView3D.draw_handler_remove(self._handle, 'WINDOW')
            self.bm.free()
            bpy.ops.object.editmode_toggle()
            self.bmundo.to_mesh(self.mesh)
            bpy.ops.object.editmode_toggle()
            return {'CANCELLED'}
        ### Edit: Maya/Silo ALT Navigation
        elif ((event.type == 'RIGHTMOUSE') and (event.alt)):
            self.viewchange = True
            return {'PASS_THROUGH'}
        elif ((event.type == 'LEFTMOUSE') and (event.alt)):
            self.viewchange = True
            return {'PASS_THROUGH'}
        ### Edit: Maya/Silo ALT Navigation
        elif event.type == 'MIDDLEMOUSE':
            # recalculate view parameters
            self.viewchange = True
            return {'PASS_THROUGH'}
        elif event.type in {'WHEELDOWNMOUSE', 'WHEELUPMOUSE'}:
            # recalculate view parameters
            self.viewchange = True
            return {'PASS_THROUGH'}
...

Put in some changes, new version online, thx 0rAngE for the feedback.

Thank you!

Great update, works flawlessly.

There is a version for Blender 2.80 online now!

1 Like

any dl link ?

The download link is, as (mostly) usual in the first post, or here.

thanks, fint it.

I now have a version online that should function with Blender 2.9+. EWOCprojects site link.

1 Like