Cut/Copy/Paste objects and elements #31214

Closed
opened 2012-05-01 20:43:25 +02:00 by dima glib · 10 comments
Member

Project: Blender Extensions
Tracker: Py Scripts Upload
Blender: 2.63
Category: 3D View
Python: 3.2
Script name: Cut/Copy/Paste objects and elements
Wiki page: http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/3D_interaction/CutCopyPaste3D
Author(s): dairin0d
Status: Open

%%%Features


This addon makes it possible to cut/copy/paste objects and elements across different layers, scenes and Blender files.

When enabled, it would add a Copy/Paste panel to the Tool Shelf, and register Ctrl+X, Ctrl+C, Ctrl+V shortcuts for 3D view.

Options:

  • External: if enabled, Copy in Object mode would save current .blend file (so that it can be accessed from other instances of Blender).
  • Append: if enabled, pasted objects would be appended (fully copied); otherwise, they would be linked (similarly to "Link from Library" and "Duplicate Linked").
  • Paste at Cursor: if enabled, pasted selection's pivot would be aligned with the 3D Cursor; otherwise, the selection would be pasted in the same coordinates as the original data.
  • Move to mouse: if enabled, pasted selection's pivot would be aligned to match mouse screen position.
  • Align to view: if enabled, the pasted selection would be rotated to match the original orientation relative to the view.
  • Coordinate System: depending on this setting, geometry/bones would be pasted either in the absolute coordinates, or relative to the active object/bone.

NOTE: currently cut/copy/paste operations are implemented only for objects.

Installing

Hit Ctrl+Alt+u to load up the User Preferences (or File menu -> Save User Settings).
Click the Install Addon... button at the bottom, then navigate to your space_view3d_cut_copy_paste.py script.

Checking the little box on the right of the Addon entry in the list to enable it.
If, for some reason, you have a hard time finding it, you can search for Cut/Copy/Paste, or click on the 3D View button on the left.

If you want to keep this addon available at all times, follow the above steps on a fresh .blend (one you Ctrl+nd), then hit Ctrl+u at this point. The next time you run Blender, you won't have to repeat the above.
%%%

**Project**: Blender Extensions **Tracker**: Py Scripts Upload **Blender**: 2.63 **Category**: 3D View **Python**: 3.2 **Script name**: Cut/Copy/Paste objects and elements **Wiki page**: http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/3D_interaction/CutCopyPaste3D **Author(s)**: dairin0d **Status**: Open %%%Features **** This addon makes it possible to cut/copy/paste objects and elements across different layers, scenes and Blender files. When enabled, it would add a Copy/Paste panel to the Tool Shelf, and register Ctrl+X, Ctrl+C, Ctrl+V shortcuts for 3D view. Options: * External: if enabled, Copy in Object mode would save current .blend file (so that it can be accessed from other instances of Blender). * Append: if enabled, pasted objects would be appended (fully copied); otherwise, they would be linked (similarly to "Link from Library" and "Duplicate Linked"). * Paste at Cursor: if enabled, pasted selection's pivot would be aligned with the 3D Cursor; otherwise, the selection would be pasted in the same coordinates as the original data. * Move to mouse: if enabled, pasted selection's pivot would be aligned to match mouse screen position. * Align to view: if enabled, the pasted selection would be rotated to match the original orientation relative to the view. * Coordinate System: depending on this setting, geometry/bones would be pasted either in the absolute coordinates, or relative to the active object/bone. NOTE: currently cut/copy/paste operations are implemented only for objects. Installing ---------- Hit `Ctrl+Alt+u` to load up the User Preferences (or `File` menu -> `Save User Settings`). Click the `Install Addon...` button at the bottom, then navigate to your `space_view3d_cut_copy_paste.py` script. Checking the little box on the right of the Addon entry in the list to enable it. If, for some reason, you have a hard time finding it, you can search for `Cut/Copy/Paste`, or click on the `3D View` button on the left. If you want to keep this addon available at all times, follow the above steps on a fresh `.blend` (one you `Ctrl+n`d), then hit `Ctrl+u` at this point. The next time you run Blender, you won't have to repeat the above. %%%
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Member

Added subscriber: @BrendonMurphy

Added subscriber: @BrendonMurphy
Brendon Murphy self-assigned this 2015-09-09 11:34:15 +02:00
Member

Assigning to self.
It's worth investigating this furthur. cut/copy/paste works as advertised, I wonder if there's similar function in Blender or if it's worth adding this functionality to the copy attributes addon.

Assigning to self. It's worth investigating this furthur. cut/copy/paste works as advertised, I wonder if there's similar function in Blender or if it's worth adding this functionality to the copy attributes addon.
Author
Member

Sorry for such a late reply,

Blender seems to have some very simple built-in copy/paste functionality:

  • Ctrl+C: copy an object
  • Ctrl+V: paste an object (with duplicated data) in its original location/rotation/scale/layer

This addon attempts to provide a more advanced "3D clipboard" functionality, emulating the feel of cut/copy/paste operations from many other graphical editors. It would be awesome if it was built-in in Blender, though :-)

The Copy Attributes addon seems to serve a completely different purpose (transferring properties from the active object or element to the selection).

Sorry for such a late reply, Blender seems to have some very simple built-in copy/paste functionality: * Ctrl+C: copy an object * Ctrl+V: paste an object (with duplicated data) in its original location/rotation/scale/layer This addon attempts to provide a more advanced "3D clipboard" functionality, emulating the feel of cut/copy/paste operations from many other graphical editors. It would be awesome if it was built-in in Blender, though :-) The Copy Attributes addon seems to serve a completely different purpose (transferring properties from the active object or element to the selection).

Added subscriber: @bliblubli

Added subscriber: @bliblubli

Yep, it owuld be nice to continue the work done by Ton to make it a really complete feature.
For the addon, already really good job. To fine-tune, Ctrl+V could also allow to link data.

Yep, it owuld be nice to continue the work done by Ton to make it a really complete feature. For the addon, already really good job. To fine-tune, Ctrl+V could also allow to link data.
Member

Changed status from 'Open' to: 'Archived'

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

hi, still working well, this should be done in blender code, hopefully it will happen around 2.8.
on a side note, I'm trying to see reasons for the Cut & having trouble justifying it.
@dairin0d thanks for another good addon.
Closing as archived.

hi, still working well, this should be done in blender code, hopefully it will happen around 2.8. on a side note, I'm trying to see reasons for the Cut & having trouble justifying it. @dairin0d thanks for another good addon. Closing as archived.
Author
Member

If this addon will become obsolete, I would be extra happy :-)
I implemented Cut primarily for the sake of completeness (users accustomed to other programs would expect to be able to do this), but there are some cases when it might come in handy:

  • moving objects between files and scenes: more intuitive/quicker than [Copy, Delete, Paste].
  • moving geometry data between objects: more intuitive/quicker than [Copy, Delete, Paste] or [Separate, Join].
    Perhaps it might be a good idea to ask on forum/mailing list for other possible uses of the Cut.
If this addon will become obsolete, I would be extra happy :-) I implemented Cut primarily for the sake of completeness (users accustomed to other programs would expect to be able to do this), but there are some cases when it might come in handy: * moving objects between files and scenes: more intuitive/quicker than [Copy, Delete, Paste]. * moving geometry data between objects: more intuitive/quicker than [Copy, Delete, Paste] or [Separate, Join]. Perhaps it might be a good idea to ask on forum/mailing list for other possible uses of the Cut.

Added subscriber: @Jackson_Counts

Added subscriber: @Jackson_Counts
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 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#31214
No description provided.