Destructive Extrude [BETA]


(Darcvizer) #1


-------------------------------------#

Great update to v0.8

The code is made from scratch.
Fixed removal of geometry.
Fixed work with modifiers.

Added offset along the selection normals. Earlier the mouse had to move left or right.

Bandages have been made. They transmit the distance from the nearest point of the object to your goal. I will rewrite further, this is a temporary solution.

Added to the water from the keyboard. You can enter the required value yourself. Supports the arithmetic expressions [+, -, *, /]

Added a status bar, where you can see the length of the offset.

There is no automatic bavel update anymore. If you need to update it, press the spacebar
-------------------------------------#

Thanks mifth and dairin0d

-------------------------------------#

-------------------------------------#

Support me on gumroad
File - https://gum.co/cQjUX


(kakachiex2) #2

nice tool similar to zmodeler

  • it will be much better if it behave like zmodeler with circle brush for visual feedback like zbrush
  • it will be less destructive

(kakachiex2) #3

check this for reference


(servapunk) #4

Very very good Darcvizer, thank you for sharing, but its not working for me on blender 2.78. It is supposed to work with 2.77?


(PyroGXPilot) #5

Looks like mano_wii’s push/pull face!


(Vilem Duha) #6

great tool, will use it every day. Been doing lots of house modelling recently, thought about this tool several times.


(Vilem Duha) #7

great tool, will use it every day. Been doing lots of house modelling recently, thought about this tool several times.

EDIT: doesn’t properly register here.

console writes this. never heard about ‘RestrictContext’ even if I write scripts every day.

Traceback (most recent call last):
File “F:\blenders\current\blender-2.78-f94a460-win64\blender-2.78.0-git.f94a460-windows64\2.78\scripts\modules\addon_utils.py”, line 330, in enable
mod = import(module_name)
File “C:\Users\X3\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\Destructive Extrude.py”, line 14, in <module>
class DestructiveExtrude(bpy.types.Operator):
File “C:\Users\X3\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\Destructive Extrude.py”, line 23, in DestructiveExtrude
object_A = bpy.context.active_object
AttributeError: ‘_RestrictContext’ object has no attribute ‘active_object’


(blacklover) #8

yeah… agree… looks like that :slight_smile:


(mzprox) #9

From the video it seems to be workng with multiple faces which is great. I get an error activating the addon though… :frowning:


(masterxeon1001) #10

very impressive!


(masterxeon1001) #11

very impressive! however with 2.78 it’s not compatible yet.


(jimpaw80) #12

So this is basicly like the push/pull addon but works with several faces? It really looks great, hopefully the bugs will be fixed, can’t wait to try this puppy out, great job!


(obsurveyor) #13

If you want to make it work, comment out or delete:


    object_A = bpy.context.active_object
    object_A_Name = bpy.context.active_object.name

around line 22. These shouldn’t be there. Also need to find all references to object_A and object_A_Name that don’t have “self.” in front of them and add it. Basically around lines 59, 60, 65 and 69.

Feedback for author: L is already a default bound key. Alt-L is available though.

masterxeon1001: Seems to work fine with HardOps’ circles, which is cool!

edit: It also works with multiple selected faces which is real handy.


(Darcvizer) #14

I use 2.78 a. Send me the configuration does not work. Email [email protected]


(obsurveyor) #15

Did you possibly post an out of date version of the addon because the code I quoted is definitely incorrect and will always cause an error(and has since blender 2.5 added _RestrictContext according to my research). Those values should not be attempted to be set in the addon registration. As far as the missing self lines, I’m pretty sure python doesn’t assign new variables to self by default.


(Darcvizer) #16

Update, work version
File - https://gum.co/cQjUX
Hotkey - L

NOT WORKING SNAPPING!


(obsurveyor) #17

File is identical to old, unworking one(link is the same too). Tested with no-cache incognito window.


(Darcvizer) #18

Strange, I sent friends to check. Try this https://yadi.sk/d/tH2PuN8Iy8cWn and delete old version from blender
https://api.monosnap.com/rpc/file/download?id=t1QqbV2UsS7tREROv58SNFH4kUzbID

if you have version 0.3 it’s old
a working version is 0.1

Let me know if it works


(obsurveyor) #19

New link has different code that works without changes. :slight_smile: Hotkey is still broken because it’s blocked by the default Select Linked hotkey.


(Darcvizer) #20

you can put your hotkey. I use the settings :

  1. http://take.ms/CpW4x
  2. key for hotkey : destructive.extrude
  3. using search, press space bar “Auto Extrude” http://take.ms/8JtDX
  4. http://take.ms/PINXD

I don’t even know which buttons in the default layout free:o