[Bf-extensions-cvs] [c39c6d58] master: remove ewoc_projects_tools/ Unmaintained: T46865
meta-androcto
noreply at git.blender.org
Fri Apr 7 13:16:51 CEST 2017
Commit: c39c6d587e4670ee6d45b042946507e57a6d5be0
Author: meta-androcto
Date: Fri Apr 7 21:16:19 2017 +1000
Branches: master
https://developer.blender.org/rBACc39c6d587e4670ee6d45b042946507e57a6d5be0
remove ewoc_projects_tools/ Unmaintained: T46865
===================================================================
D ewoc_projects_tools/__init__.py
D ewoc_projects_tools/mesh_deathguppie.py
D ewoc_projects_tools/mesh_edgegrow.py
D ewoc_projects_tools/mesh_edgetune.py
D ewoc_projects_tools/mesh_fanconnect.py
D ewoc_projects_tools/mesh_filletplus.py
D ewoc_projects_tools/mesh_floodsel.py
D ewoc_projects_tools/mesh_heal.py
D ewoc_projects_tools/mesh_innerweld.py
D ewoc_projects_tools/mesh_laprelax.py
D ewoc_projects_tools/mesh_paredge.py
D ewoc_projects_tools/mesh_polyredux.py
D ewoc_projects_tools/mesh_quadder.py
D ewoc_projects_tools/mesh_selproject.py
D ewoc_projects_tools/mesh_straightenplus.py
D ewoc_projects_tools/object_creaprim.py
D ewoc_projects_tools/object_decouple.py
D ewoc_projects_tools/object_fastorigin.py
D ewoc_projects_tools/object_keeptrans.py
===================================================================
diff --git a/ewoc_projects_tools/__init__.py b/ewoc_projects_tools/__init__.py
deleted file mode 100644
index fbf03e82..00000000
--- a/ewoc_projects_tools/__init__.py
+++ /dev/null
@@ -1,244 +0,0 @@
-# ##### BEGIN GPL LICENSE BLOCK #####
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# ##### END GPL LICENSE BLOCK #####
-# Contributed to by
-# meta-androcto #
-
-bl_info = {
- "name": "EWOCprojects tools",
- "author": "Gert De Roost - paleajed",
- "version": (1, 4, 2),
- "blender": (2, 65, 0),
- "location": "View3D > Toolbar and View3D > Specials (W-key)",
- "description": "Edit mode tools - contrib version",
- "warning": "",
- "wiki_url": "",
- "tracker_url": "https://developer.blender.org/maniphest/task/edit/form/2/",
- "category": "Mesh"}
-
-
-if "bpy" in locals():
- import imp
- imp.reload(mesh_edgetune)
- imp.reload(mesh_quadder)
- imp.reload(mesh_paredge)
- imp.reload(mesh_edgegrow)
- imp.reload(mesh_fanconnect)
- imp.reload(object_fastorigin)
- imp.reload(mesh_laprelax)
- imp.reload(mesh_polyredux)
- imp.reload(mesh_filletplus)
- imp.reload(mesh_innerweld)
- imp.reload(mesh_straightenplus)
- imp.reload(mesh_floodsel)
- imp.reload(mesh_deathguppie)
- imp.reload(mesh_selproject)
- imp.reload(object_creaprim)
- imp.reload(object_decouple)
- imp.reload(object_keeptrans)
-
-else:
- from . import mesh_edgetune
- from . import mesh_quadder
- from . import mesh_paredge
- from . import mesh_edgegrow
- from . import mesh_fanconnect
- from . import object_fastorigin
- from . import mesh_laprelax
- from . import mesh_polyredux
- from . import mesh_filletplus
- from . import mesh_innerweld
- from . import mesh_straightenplus
- from . import mesh_floodsel
- from . import mesh_deathguppie
- from . import mesh_selproject
- from . import object_creaprim
- from . import object_decouple
- from . import object_keeptrans
-
-import bpy
-from bpy.app.handlers import persistent
-
-
-
-class VIEW3D_MT_edit_mesh_paleajed(bpy.types.Menu):
- # Define the "Extras" menu
- bl_idname = "VIEW3D_MT_edit_mesh_paleajed"
- bl_label = "EWOCprojects tools"
-
- def draw(self, context):
- layout = self.layout
- layout.operator_context = "INVOKE_REGION_WIN"
- layout.operator("mesh.edgetune",
- text="EdgeTune")
- layout.operator("mesh.quadder",
- text="Quadder")
- layout.operator("mesh.paredge",
- text="ParEdge")
- layout.operator("mesh.edgegrow",
- text="EdgeGrow")
- layout.operator("mesh.fanconnect",
- text="FanConnect")
- layout.operator("object.fastorigin",
- text="FastOrigin")
- layout.operator("mesh.laprelax",
- text="LapRelax")
- layout.operator("mesh.polyredux",
- text="PolyRedux")
- layout.operator("mesh.filletplus",
- text="FilletPlus")
- layout.operator("mesh.innerweld",
- text="InnerWeld")
- layout.operator("mesh.straightenplus",
- text="StraightenPlus")
- layout.operator("mesh.floodsel",
- text="FloodSel")
- layout.operator("mesh.deathguppie",
- text="DeathGuppie")
- layout.operator("mesh.selproject",
- text="SelProject")
-
-
-class PaleajedPanel(bpy.types.Panel):
- bl_label = "EWOCprojects tools"
- bl_space_type = 'VIEW_3D'
- bl_region_type = 'TOOLS'
- bl_category = 'Tools'
-
- def draw(self, context):
- scn = bpy.context.scene
- layout = self.layout
- layout.operator("mesh.edgetune")
- layout.operator("mesh.quadder")
-
- layout.operator("mesh.paredge")
- if mesh_paredge.started:
- layout.prop(mesh_paredge.mainop, "Distance")
- layout.prop(mesh_paredge.mainop, "Both")
- if mesh_paredge.mainop.Both:
- layout.prop(mesh_paredge.mainop, "Cap")
-
- layout.operator("mesh.edgegrow")
- layout.operator("mesh.fanconnect")
- layout.operator("object.fastorigin")
- layout.operator("mesh.laprelax")
- layout.operator("mesh.polyredux")
- layout.operator("mesh.filletplus")
- layout.operator("mesh.innerweld")
-
- if not(mesh_straightenplus.started):
- layout.operator("mesh.straightenplus")
- else:
- layout.operator("mesh.straightenplus")
- msop = mesh_straightenplus.mainop
- layout.prop(msop, "Percentage")
- if mesh_straightenplus.started and msop.Percentage != msop.oldperc:
- msop.do_straighten()
- msop.oldperc = msop.Percentage
- layout.prop(msop, "CancelAxis")
-
- layout.operator("mesh.floodsel", text="Flood Sel")
- if mesh_floodsel.started:
- layout.prop(mesh_floodsel.mainop, "SelectMode")
- layout.prop(mesh_floodsel.mainop, "Multiple")
- layout.prop(mesh_floodsel.mainop, "Preselection")
- layout.prop(mesh_floodsel.mainop, "Diagonal")
-
- layout.operator("mesh.deathguppie")
- layout.prop(scn, "Smooth")
- layout.prop(scn, "Inner")
-
- if not(mesh_selproject.started):
- self.layout.operator("mesh.selproject", text="SelProject")
- if context.mode == 'EDIT_MESH':
- self.layout.prop(scn, "UseSel")
- if not(scn.UseSel):
- self.layout.prop(scn, "FromObject")
- else:
- scn.FromObject = bpy.context.active_object.name
- context.region.tag_redraw()
- else:
- self.layout.prop(scn, "FromObject")
- self.layout.prop(scn, "ToObject")
- else:
- self.layout.label(text="ENTER to confirm")
-
- self.layout.operator("object.creaprim")
- self.layout.prop(scn, "Name")
- self.layout.prop(scn, "Apply")
-
- if not(object_decouple.unparented):
- layout.operator("object.decouple",
- text="DeCouple")
- else:
- layout.operator("object.recouple",
- text="ReCouple")
-
- layout.operator("object.keeptrans")
-
-# Register all operators and panels
-
-# Define "Extras" menu
-def menu_func(self, context):
- self.layout.menu("VIEW3D_MT_edit_mesh_paleajed", icon='PLUGIN')
-
-
-def register():
-
- bpy.app.handlers.scene_update_post.append(sceneupdate_handler)
-
- bpy.utils.register_module(__name__)
-
- # Add "Extras" menu to the "Add Mesh" menu
- bpy.types.VIEW3D_MT_edit_mesh_specials.prepend(menu_func)
-
-
-def unregister():
- bpy.app.handlers.scene_update_post.remove(sceneupdate_handler)
-
- bpy.utils.unregister_module(__name__)
-
- # Remove "Extras" menu from the "Add Mesh" menu.
- bpy.types.VIEW3D_MT_edit_mesh_specials.remove(menu_func)
-
-if __name__ == "__main__":
- register()
-
-
-
-
- at persistent
-def sceneupdate_handler(dummy):
-
- scn = bpy.context.scene
-
- if not(list(scn.objects) == mesh_selproject.oldobjs):
- itemlist = []
- objs = list(scn.objects)
- for ob in objs:
- if ob.type == 'MESH':
- itemlist.append((ob.name, ob.name, "Set From:"))
- bpy.types.Scene.FromObject = bpy.props.EnumProperty(
- items = itemlist,
- name = "From",
- description = "Object to project")
- bpy.types.Scene.ToObject = bpy.props.EnumProperty(
- items = itemlist,
- name = "To",
- description = "Object to project onto")
- mesh_selproject.oldobjs = list(scn.objects)
-
diff --git a/ewoc_projects_tools/mesh_deathguppie.py b/ewoc_projects_tools/mesh_deathguppie.py
deleted file mode 100644
index da58ed3e..00000000
--- a/ewoc_projects_tools/mesh_deathguppie.py
+++ /dev/null
@@ -1,611 +0,0 @@
-# ##### BEGIN GPL LICENSE BLOCK #####
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# ##### END GPL LICENSE BLOCK #####
-
-"""
-This addon implements a subdivision scheme called deathguppie.
-It is ideal for creating more detail locally when sculpting.
-
-
-Documentation
-
-First go to User Preferences->Addons and enable the DeathGuppie addon in the Mesh category.
-Go to EditMode, select some elements and invoke the addon (button in the Mesh Tool panel).
-The selected area will be subdivided according to the deathguppie algorithm.
-Subdivision is destructive so this is no modifier but a mesh operation.
-Selected area after operation allows for further sudividing the area.
-The smooth tickbox chooses between smooth and non-smooth subdivision.
-The Select inner only tickbox sets what is left selected after operation, only inner faces or everything.
-
-BEWARE - deathguppie will only subdivide grids of quads!
-
-If you wish to hotkey DeathGuppie:
-In the Input section of User Preferences at the bottom of the 3D View > Mesh section click 'Add New' button.
-In the Operator Identifier box put 'mesh.deathguppie'.
-Assign a hotkey.
-Save as Default (Optional).
-"""
-
-
-bl_info = {
- "name": "DeathGuppie",
- "author": "Gert De Roost",
- "version": (0, 3, 1),
- "blender": (2, 63, 0),
- "location": "View3D > Tools",
- "description": "Deathguppie subdivision operation",
- "warning": "",
- "wiki_url": "",
- "tracker_url": "",
- "category": "Mesh"}
-
-
-
-import bpy
-import bmesh
-
-
-bpy.types.Scene.Smooth = bpy.props.BoolProperty(
- name = "Smoothing",
- description = "Subdivide smooth",
- default = True)
-
-bpy.types.Scene.Inner = bpy.props.BoolProperty(
- name = "Select inner only",
- description = "After operation only inner verts selected",
- default = True)
-
-
-class DeathGuppie(bpy.types.Operator):
- bl_idname = "mesh.deathguppie"
- bl_label = "DeathGuppie"
- bl_description = "Deathguppie subdivision operation"
- bl_op
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-extensions-cvs
mailing list