How to encrypt python script like MAXScript?

How to encrypt python script like MAXScript?

jeremyliu1989
Enthusiast Enthusiast
1,429 Views
1 Reply
Message 1 of 2

How to encrypt python script like MAXScript?

jeremyliu1989
Enthusiast
Enthusiast

Hi there or Autodesk support team:

 

I'll release my script file coding by python. I know there is a way to encrypt the MAXScript file, reference: https://help.autodesk.com/view/3DSMAX/2017/ENU/?guid=__files_GUID_6736979B_D33A_4968_8BD2_FE2365A3A5...

 

My question: how to encrypt my python file just like what MAXScript done? Ps: Python with MaxPlus module.

 

Thanks for any suggestion in advance.

0 Likes
1,430 Views
1 Reply
Reply (1)
Message 2 of 2

eric.brosseau
Autodesk
Autodesk

Hi @jeremyliu1989 ,

The 3ds Max team does not provide any encryption mechanism for Python scripts. However, you might be interested in this post, from the Python organization, which would provide you some guidance and might answer your question.

 

Since MAXScript is a proprietary language, it is easier for us to create an encryption mechanism. We can manage the loading of such script before interpreting those. The situation is definitely not the same with Python.

 

Hope it helps,

 

Eric Brosseau
Senior Software Developer, 3ds Max, Autodesk