
Just simple script to paste image form windows clipboard to 3ds MAX (as reference plate)
It can be used to copy paste selected from Photoshop, screenshot or web page
It reads proportion of image and creates plate with correct aspect ratio.
To try:
Drag and drop to 3ds max window
How to install :
use my other script - > Favorite Scripts:
1. Install Favorite Scripts (drag and drop to max)
2. place on toolbar (customize -> category Pixamoon)
3. run Favorite Scripts
4. settings
5. choose your favorite scripts root folder
6. create "IO" or "Edit" folder
7. copy "CopyPasteImage" script there
Versions:
v0.54
- fix - mirrored UV in X or Y
v0.52
- creates Plate and BitmapTexture without Real-World Map Size
v0.49
- few more fixes - save / load settings
v0.47
- fixed error when press OK
v0.45
- save settings:
- change Image temp folder ( small "s" button )
- opacity
- dialog position
- OK and Cancel buttons
v0.40:
- opacity slider
- align to X, Y,, Z
Coming soon:
- paste image files (Ctrl-C on selected jpg in explorer)
- auto align plate to active vieport
- scale plate
- crop
- collect to project textures folder
- save / load paste settings from ini file
Let me know what you think and if you have any suggestions,
Enjoy!
Pixamoon
.
.
Comments (44)
Comment policy
image IO error
I get this error when i try to paste image from photoshop to max.
Re: image IO error
Hi,
Please let me know which version of 3ds max and windows update/version do you use.
Best,
Pixmaoon
Hi
windows 10 1903 and 3dsmax 2016
image IO error
Hi
windows 10 1903 and 3dsmax 2016
re: image IO error
1. Can you post screenshot of that IO error massage ?
2. Which temp folder did you choose to save images (right top "s" button) ?
3. Can you also try to set the path to other location ( eg. C:\Temp\ ) ?
Best,
Pixamoon
I've never choose any temp folder to save images. all i did is downloaded the script from turbosquid. drop and drag the script to 3dsmax after copy an image from Photoshop. so i got the error. I attached the image below.
Is there anything i should have done ?
Attachments
re: image IO error
oki, I see. Please try new version v0.56
image IO error
I get this error when i try to paste image from photoshop to max.
Feature request
Hi. Can you please add two little spinners for height and width with respect to aspect ratio of image?
`
thanks, yes, resizing is coming in full version - not with spinners but bit easier way.
I'm bit busy now but hopefully soon will find some time soon to finish and post it
macro for toolbar install
Installing the script in a toolbar without the need to install another script first is my number one request. Can you do that?
THX
`
Yes of course, it will be part of installation package in full version, I will upload it soon.
(but I wanted to finish first crop and auto-align to view)
Thanks,
Pixamoon
RealWorld coords
Hi again. I noticed that I'm almost always using realworld texture coords so I enabled "Use realworld texture coordinates" in Max Preferences. Now when I create any object Max automatically enables realworld coords on it. This also happens when I paste images with your script. So I always need to uncheck RW coords to see the image. Can you please add ".realWorldMapSize = off" for your image planes?
re: RealWorld coords
sure, that's easy to add
Real-World Map Size is off now. Check new version v0.52
one more thing
I'm sorry I forgot to mention one more thing. Look at this screenshot. Here I created image plane with X and Y options. Both of them are inverted for default Left-Front viewport.
`
oki, It should be fixed in new version v0.54
Cheers,
Pixamoon
Thanks ;) Your tools makes my work more and more comfortable :)
`
thanks, more scripts coming soon :)
same error with 0.47 version - only first run in session though
`
oki, thanks for info, I'll try to fix it today.
Is it the same error - while pressing OK ? :
"Error Type - GetDialogPos requires RolloutClass - got undefined" ?
copy paste Image v0.49
oki, hope all work good now. Try and let me know.
thank you!
wow. thanks - working great, but sometimes this error occured when press OK - http://dl1.joxi.net/drive/0000/1235/1235/150709/d831df4d84.jpg
`
oki, I think it is reading rollout position on close. I'll fix it today.
Thanks
fix
oki, should be fixed now - v0.47
change folder for screenshots
Hello
some max tools erase Temp folder regularly so screenshots got lost
could you please make ProjectFolder\sceneassets\images\ for that purpose?
thanks!
save dir
Hey, good idea, I'll do small save settings button + save opacity and window location.
I should have time later today or tomorrow.
Cheers,
re: change folder for screenshots
oki,
It should be ready now. Please check v0.45
It saves also dialog position and opacity value.
Enjoy :)
May be sketchup is next?
Okay I'm following you and I can see you are making a great job in collaboration between two different application .. So please let me suggest you to do something really great between 3ds Max & SketchUp ..
Everyone know sketchup and how powerful with measurements and drawing precisely so too many people consider to do modeling there then complete the job at 3ds Max and I found that is very annoying when sometime you need to do everything in 3ds max and few things in sketchup so I dream with something like that:
- Right Click on your selected 3d Model at 3ds Max > Edit with Sketchup > Magically Sketchup will open and You do your fun work there then you just save the file > 3ds Max will update the model there automatically
`
sure, I'll try to do that.
It looks bit complicated but will look at it closer soon...
Thanks !
Good job man! ;) +1!!
`
Thank you :)
`
Thanks,
Good idea! I'll add it as slider to upcoming paste menu, so u can change it after paste (with ini file, so it will remember your defaults)
Next version is coming with few more options - crop, automatic save/collect to project textures folder , etc
Cheers,
great long awaited tool
very handy! thanks
one request - make image's opacity 30 if possible
Fav script menu
I'll test it before I tell you what I think ;)
Feature request
I think it will be nice if script will create image plane in orientation that depends of active viewport.
If active is persp or top then plane must lie on the ground. If active is left then plane must be rotated (90,0,-90), if right (90,0,90). Front is 90,0,0 and back is 90,0,180.
I mean that image planes must automatically facing to active viewport.
Just to be even more cooler than now :)
I downloaded 0.20 and waiting for Changelog :)
And one more thing, don't you want to create a macro for toolbar and quad? I created it for myself, but not all must be able to do that.
`
cool, thanks
I'll add this in next versions plus few other ideas I want to add :)
on paste it will open small dialog with few more options, so it can automatically recognize and suggest orientation (but u can still change it before and after creating plate)
to install... Plewase use my Favorite Scripts Menu script... it automatically search for installed and other sorted scripts. I think this is faster and more organize way than creating icons / buttons then installing, adding to toolbar etc.
http://www.scriptspot.com/3ds-max/scripts/favorite-scripts
what you think ?
re: gamma
oki, gamma for paste image should be fixed now... v0.20
Let me know if all works fine with it.
Image file in buffer
Is it possible to handle not only copied picture but also a *.jpg file itself?
I mean, what if I just Ctrl+C on jpg in Explorer and then paste in 3dsmax. Is it possible?
re: Image file in buffer
Just finishing it now and this will come in next version...
you will be able to select few jpgs and press Ctrl-C -> they will be paste as plates in 3ds max :)
And few more cool features. Coming soon :)
re: gamma
Thanks,
I'll double check it and fix in next version
New version coming with crop too (for screenshots)
Gamma
I got some problems with gamma http://SSMaker.ru/9ba0d60d/
It is a bug or a feature?
If I disable gamma correction in 3dsMax Preferences then texture loads in proper gamma. But this is not a solution! Please fix this, because script is very handy!
super!
Super time saver!
Excellent!!
It`s a big time saver :)