like zprojection in zbrush, help to texture clone. #30521

Closed
opened 2012-03-12 03:03:19 +01:00 by Krantz Geoffroy · 13 comments

Project: Blender Extensions
Tracker: Py Scripts Contrib
Python: 3.2
Blender: 2.62
Author(s): kgeogeo
Script name: Z projection
Wiki page: http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/3D_interaction/bprojection
Category: Texture Paint
SVN Download: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons/BProjection.py
Status: Open

%%%In the following video you can see what the addon can do.
Under the video it's explain how to use it.

http://vimeo.com/38248151%%%

**Project**: Blender Extensions **Tracker**: Py Scripts Contrib **Python**: 3.2 **Blender**: 2.62 **Author(s)**: kgeogeo **Script name**: Z projection **Wiki page**: http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/3D_interaction/bprojection **Category**: Texture Paint **SVN Download**: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons/BProjection.py **Status**: Open %%%In the following video you can see what the addon can do. Under the video it's explain how to use it. http://vimeo.com/38248151%%%
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'

This task was automatically closed as archived as part of migration, because it was determined to be no longer active.

The authoritative list of addons is on the wiki, we no longer have a report for each addon to track bugs and updates. Bugs can be reported individually and assigned to the addon developers. See the #Addons project page for more information on the workflow.

This task was automatically closed as archived as part of migration, because it was determined to be no longer active. The authoritative list of addons is on the wiki, we no longer have a report for each addon to track bugs and updates. Bugs can be reported individually and assigned to the addon developers. See the #Addons project page for more information on the workflow.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Member

%%%Moved from Py Scripts Upload to Py Scripts Contrib%%%

%%%Moved from Py Scripts Upload to Py Scripts Contrib%%%
Member

%%%moving to contrib%%%

%%%moving to contrib%%%
Member

%%%[canned response]

We gave you bf-extensions rights, read details at:


  • You can work on svn in contrib/ directory
See a help panel about svn here:
http://wiki.blender.org/index.php/Dev:Extensions/Sharing/SVN_Help
Don\'t forget to add a meaningful message at each svn commit
The password for svn is the same as the one you use to log in in this tracker.
  • We invited you to our commits mailing list
see http://lists.blender.org/mailman/listinfo/bf-extensions-cvs
Please subscribe, so that your commit mail will be sent to

subscribers instead of hanging on

You should have received a mail already about it, if not,

please leave a line here, thx!

  • Move your script in contrib/ directory in svn (if it's not
    there already)

  • We are assigning this script to yourself, so that you are
    responsible for maintenance.

Please click on "Monitor" to receive updates when people edit

your extension tracker page

  • Finally, we have moved this tracker page from the original
    location in "Upload", so check the tracker_url field and commit
    in bf-extensions

Thanks and welcome aboard! :)%%%

%%%[canned response] We gave you bf-extensions rights, read details at: - http://wiki.blender.org/index.php/Dev:Py/Sharing - http://wiki.blender.org/index.php/Dev:2.5/Py/Scripts/Guidelines/Addons ----- * You can work on svn in contrib/ directory ``` See a help panel about svn here: http://wiki.blender.org/index.php/Dev:Extensions/Sharing/SVN_Help ``` ``` Don\'t forget to add a meaningful message at each svn commit ``` ``` The password for svn is the same as the one you use to log in in this tracker. ``` * We invited you to our commits mailing list ``` see http://lists.blender.org/mailman/listinfo/bf-extensions-cvs ``` ``` Please subscribe, so that your commit mail will be sent to ``` subscribers instead of hanging on ``` You should have received a mail already about it, if not, ``` please leave a line here, thx! * Move your script in contrib/ directory in svn (if it\'s not there already) * We are assigning this script to yourself, so that you are responsible for maintenance. ``` Please click on "Monitor" to receive updates when people edit ``` your extension tracker page * Finally, we have moved this tracker page from the original location in "Upload", so check the tracker_url field and commit in bf-extensions Thanks and welcome aboard! :)%%%
Member

%%%fixed links%%%

%%%fixed links%%%
Member

%%%Traceback (most recent call last):

File "C:\SVN\BlenderPlugins\build\vc9_x64_trunk\bin\Release\2.63\scripts\modules\addon_utils.py", line 276, in enable
  mod.register()
File "C:\SVN\BlenderPlugins\build\vc9_x64_trunk\bin\Release\2.63\scripts\addons_contrib\space_view3d_paint_bprojection

.py", line 1309, in register

  createcustomprops(bpy.context)
File "C:\SVN\BlenderPlugins\build\vc9_x64_trunk\bin\Release\2.63\scripts\addons_contrib\space_view3d_paint_bprojection

.py", line 336, in createcustomprops

  Ob.custom_active_object = StringProperty(name = "custom_active_object",default = context.object.name)

AttributeError: 'Context' object has no attribute 'object'
read blend: C:\SVN\Modeling\HystSim\BasicSkills\Distension\blend\Uterus1.blend
[ VirtaScene.proxyListProps.getOriginalItemIndex 2012-08-08 11:43:32,609 ]

Traceback (most recent call last):

File "C:\SVN\BlenderPlugins\build\vc9_x64_trunk\bin\Release\2.63\scripts\addons_contrib\space_view3d_paint_bprojection

.py", line 519, in draw

  if  'Empty for BProjection' in [ob.name for ob in bpy.data.objects]:

AttributeError: 'NoneType' object has no attribute 'data'%%%

%%%Traceback (most recent call last): ``` File "C:\SVN\BlenderPlugins\build\vc9_x64_trunk\bin\Release\2.63\scripts\modules\addon_utils.py", line 276, in enable mod.register() File "C:\SVN\BlenderPlugins\build\vc9_x64_trunk\bin\Release\2.63\scripts\addons_contrib\space_view3d_paint_bprojection ``` .py", line 1309, in register ``` createcustomprops(bpy.context) File "C:\SVN\BlenderPlugins\build\vc9_x64_trunk\bin\Release\2.63\scripts\addons_contrib\space_view3d_paint_bprojection ``` .py", line 336, in createcustomprops ``` Ob.custom_active_object = StringProperty(name = "custom_active_object",default = context.object.name) ``` AttributeError: 'Context' object has no attribute 'object' read blend: C:\SVN\Modeling\HystSim\BasicSkills\Distension\blend\Uterus1.blend [ VirtaScene.proxyListProps.getOriginalItemIndex 2012-08-08 11:43:32,609 ] Traceback (most recent call last): ``` File "C:\SVN\BlenderPlugins\build\vc9_x64_trunk\bin\Release\2.63\scripts\addons_contrib\space_view3d_paint_bprojection ``` .py", line 519, in draw ``` if 'Empty for BProjection' in [ob.name for ob in bpy.data.objects]: ``` AttributeError: 'NoneType' object has no attribute 'data'%%%

%%%Hi Kgeogeo,

There is an error now with the last Blender 2.64 RC1 on win32x86:

Traceback:
"Exception in module register(): 'C:\Program Files\Blender Foundation\Blender\2.63\scripts\addons_contrib\space_view3d_paint_bprojection.py'
Traceback (most recent call last):

File "C:\Program Files\Blender Foundation\Blender\2.63\scripts\modules\addon_utils.py", line 276, in enable
  mod.register()
File "C:\Program Files\Blender Foundation\Blender\2.63\scripts\addons_contrib\space_view3d_paint_bprojection.py", line 1308, in register
  createcustomprops(bpy.context)
File "C:\Program Files\Blender Foundation\Blender\2.63\scripts\addons_contrib\space_view3d_paint_bprojection.py", line 336, in createcustomprops
  Ob.custom_active_object = StringProperty(name = "custom_active_object",default = context.object.name)

AttributeError: 'Context' object has no attribute 'object'"
%%%

%%%Hi Kgeogeo, There is an error now with the last Blender 2.64 RC1 on win32x86: Traceback: "Exception in module register(): 'C:\\Program Files\\Blender Foundation\\Blender\\2.63\\scripts\\addons_contrib\\space_view3d_paint_bprojection.py' Traceback (most recent call last): ``` File "C:\Program Files\Blender Foundation\Blender\2.63\scripts\modules\addon_utils.py", line 276, in enable mod.register() File "C:\Program Files\Blender Foundation\Blender\2.63\scripts\addons_contrib\space_view3d_paint_bprojection.py", line 1308, in register createcustomprops(bpy.context) File "C:\Program Files\Blender Foundation\Blender\2.63\scripts\addons_contrib\space_view3d_paint_bprojection.py", line 336, in createcustomprops Ob.custom_active_object = StringProperty(name = "custom_active_object",default = context.object.name) ``` AttributeError: 'Context' object has no attribute 'object'" %%%
Member

%%%Error when pressing "Add Bprojection plane" with blender 2.68a on Linux:

bpy.ops.mesh.delete(type='VERT')
bpy.ops.object.delete(use_global=False)
Traceback (most recent call last):

File "/usr/share/blender/2.68/scripts/addons_contrib/space_view3d_paint_bprojection.py", line 807, in execute
  bpy.ops.object.vertex_group_assign(new = True)
File "/usr/share/blender/2.68/scripts/modules/bpy/ops.py", line 188, in __call__
  ret = op_call(self.idname_py(), None, kw)

TypeError: Converting py args to operator properties: : keyword "new" unrecognized

location: :-1%%%

%%%Error when pressing "Add Bprojection plane" with blender 2.68a on Linux: bpy.ops.mesh.delete(type='VERT') bpy.ops.object.delete(use_global=False) Traceback (most recent call last): ``` File "/usr/share/blender/2.68/scripts/addons_contrib/space_view3d_paint_bprojection.py", line 807, in execute bpy.ops.object.vertex_group_assign(new = True) File "/usr/share/blender/2.68/scripts/modules/bpy/ops.py", line 188, in __call__ ret = op_call(self.idname_py(), None, kw) ``` TypeError: Converting py args to operator properties: : keyword "new" unrecognized location: <unknown location>:-1%%%

%%%Hi,

I can confirm the bug gandalf3 reported on windows8. I have found a fix for this, but I am not sure if anything else is broken.

In the file space_view3d_paint_bprojection.py change the line 807 from

bpy.ops.object.vertex_group_assign(new = True)

to

bpy.ops.object.vertex_group_assign_new()%%%

%%%Hi, I can confirm the bug gandalf3 reported on windows8. I have found a fix for this, but I am not sure if anything else is broken. In the file space_view3d_paint_bprojection.py change the line 807 from bpy.ops.object.vertex_group_assign(new = True) to bpy.ops.object.vertex_group_assign_new()%%%

Added subscriber: @redwankarimrafi

Added subscriber: @redwankarimrafi

@Brendon Murphy bprojection is not workin.. some error is showing ,.. do you have any solution .. please let me know

@Brendon Murphy bprojection is not workin.. some error is showing ,.. do you have any solution .. please let me know
Sign in to join this conversation.
No Milestone
No project
No Assignees
8 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#30521
No description provided.