Cutting and Pasting Coordinates

Started by PabloMack, April 18, 2014, 12:28:59 PM

Previous topic - Next topic

PabloMack

I like the ability to copy and paste three coordinates at a time. These operations are labor-saving and error-avoiding operations that I use frequently. This is an area that could be improved. When I find I have to delete an object and reinsert it again in order to force the mtl file to be reloaded, I copy the position and orientation of the object before deleting it so that I can get the new version in the same place where I had the one that is deleted. I copy the position then paste into Notepad and then copy the rotational coordinates and paste them into Notepad. But when I copy the string back into the cut/paste buffer, TG does not recognize it as such and the paste option is grayed out. I have to individually copy and paste each coordinate into its respective field individually. It would be nice if when I did a string copy TG would look at the buffer and recognize it as a threesome of coordinates in the format: "xyz: #.#, #.#, #.#" and then make the paste option active and ready for use.

Matt

I agree. I'll log this feature request in our issue tracker.

Matt
Just because milk is white doesn't mean that clouds are made of milk.

bobbystahr

Quote from: PabloMack on April 18, 2014, 12:28:59 PM
I like the ability to copy and paste three coordinates at a time. These operations are labor-saving and error-avoiding operations that I use frequently. This is an area that could be improved. When I find I have to delete an object and reinsert it again in order to force the mtl file to be reloaded, I copy the position and orientation of the object before deleting it so that I can get the new version in the same place where I had the one that is deleted. I copy the position then paste into Notepad and then copy the rotational coordinates and paste them into Notepad. But when I copy the string back into the cut/paste buffer, TG does not recognize it as such and the paste option is grayed out. I have to individually copy and paste each coordinate into its respective field individually. It would be nice if when I did a string copy TG would look at the buffer and recognize it as a threesome of coordinates in the format: "xyz: #.#, #.#, #.#" and then make the paste option active and ready for use.

In that situation I simply reload the object and C&P from the original object's dialogue. Y gotta click back and forth twice, then delete the original model...I do this a lot but it's an easy work around for now.
something borrowed,
something Blue.
Ring out the Old.
Bring in the New
Bobby Stahr, Paracosmologist

PabloMack

Quote from: bobbystahr on April 19, 2014, 10:25:59 AMIn that situation I simply reload the object and C&P from the original object's dialogue. Y gotta click back and forth twice, then delete the original model...I do this a lot but it's an easy work around for now.

If your software outsmarts you by noticing it came from the same file location and uses a cached copy of what it read from the file earlier then you're done for. The reason for the whole operation is defeated. As a helpless end user, you never know for sure what's happening under the covers.

jo

Hi,

Quote from: PabloMack on April 19, 2014, 01:13:42 PM
If your software outsmarts you by noticing it came from the same file location and uses a cached copy of what it read from the file earlier then you're done for. The reason for the whole operation is defeated. As a helpless end user, you never know for sure what's happening under the covers.

TG doesn't do that though.

Regards,

Jo

PabloMack

Looks like if you do want to duplicate an existing object, though, copy and pasting of nodes seems to do that with only an automatic name change to avoid confusion.

jo

Hi,

Quote from: PabloMack on April 20, 2014, 09:43:42 AM
Looks like if you do want to duplicate an existing object, though, copy and pasting of nodes seems to do that with only an automatic name change to avoid confusion.

If you copy and paste an imported object node it will reload the geometry from the file on disk. However in your situation where you want to delete an object to force the MTL to be reloaded all you need to do is import the object again, which creates new nodes for it, and then copy and paste settings from the old nodes. Then you can delete the old nodes.

This is not to say I don't think it's a good idea to allow copying and pasting three coordinates as text, which I think we should support (I had thought we did already!). However there is an easier way to do what you want now.

Regards,

Jo

bobbystahr

Quote from: jo on April 20, 2014, 04:31:09 PM
Hi,

Quote from: PabloMack on April 20, 2014, 09:43:42 AM
Looks like if you do want to duplicate an existing object, though, copy and pasting of nodes seems to do that with only an automatic name change to avoid confusion.

If you copy and paste an imported object node it will reload the geometry from the file on disk. However in your situation where you want to delete an object to force the MTL to be reloaded all you need to do is import the object again, which creates new nodes for it, and then copy and paste settings from the old nodes. Then you can delete the old nodes.

This is not to say I don't think it's a good idea to allow copying and pasting three coordinates as text, which I think we should support (I had thought we did already!). However there is an easier way to do what you want now.

Regards,

Jo


Yup..kinda what I said earlier but it bears repeating as it's an easy work around
something borrowed,
something Blue.
Ring out the Old.
Bring in the New
Bobby Stahr, Paracosmologist

jo

Hi Bobby,

Quote from: bobbystahr on April 20, 2014, 07:41:23 PM
Yup..kinda what I said earlier but it bears repeating as it's an easy work around

Yes, just thought I'd restate it another way in an effort help understanding :-) You were right on the money though.

Regards,

Jo

bobbystahr

Heh heh...tells you how often I tweak a model that I actually figured that out from necessity,,,,,
something borrowed,
something Blue.
Ring out the Old.
Bring in the New
Bobby Stahr, Paracosmologist