Originally created with Maya 2019. From release 2.20 and onwards, I've decided that I will no longer support version of Maya older than 2022. You can still download any release prior to this one if you want to use it with a version older than that.
Hi! Thank you very much for buying this script.
Please don't share it around for free and if you encounter any bug or you think that something could be improved/changed, feel free to let me know on my thread on polycount: [Maya] GN Project Components To Live Surface
Or you can contact me directly on ArtStation.
Also, I would really appreciate if you could leave me a rating or a review on the ArtStation store.
Windows: C:\Users\<username>\Documents\maya\<version>\scripts
Mac: /Users/<username>/Library/Preferences/Autodesk/maya/<version>/scripts
You can you either run the script with the current options:
import GN_ProjectComponentsToLiveSurface GN_ProjectComponentsToLiveSurface.GN_ProjectComponentsToLiveSurface(optionBox=False)
Or you can open the script option box to change the options and run the script from there:
import GN_ProjectComponentsToLiveSurface GN_ProjectComponentsToLiveSurface.GN_ProjectComponentsToLiveSurface(optionBox=True)
For a quick overview of this tool, make sure to check out my video demonstration on Vimeo:
If you check this box, components will be projected to the closest point on the live object if the ray casted in the desired direction doesn't hit it in the first place.
Choose the axis that you want to use as the direction of the projection.
Add an offset to the projected components so that they float over the live object rather than sit directly on it.
Constrain the projection to the direction of the edge that is the closest to the current projection mode and axis.
Offset UVs to prevent texture warping when components are moved.