All Projects → ADN-DevTech → 3dsMax-Python-HowTos

ADN-DevTech / 3dsMax-Python-HowTos

Licence: MIT license
3ds Max python samples

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects
MAXScript
40 projects

Projects that are alternatives of or similar to 3dsMax-Python-HowTos

howto
Terminal client for stack overflow
Stars: ✭ 25 (-70.93%)
Mutual labels:  howto
sample-react-ts-app
Sample TypeScript + React companion app to my talks
Stars: ✭ 17 (-80.23%)
Mutual labels:  sample
azure-sdk-for-python-keyvault-secrets-get-set-managedid
How to set and get secrets from Azure Key Vault with Azure Managed Identities and Python
Stars: ✭ 13 (-84.88%)
Mutual labels:  sample
play-java-rest-api-example
REST API using Play in Java
Stars: ✭ 44 (-48.84%)
Mutual labels:  sample
AsyncVoid
Project related to the site's posts about async void.
Stars: ✭ 32 (-62.79%)
Mutual labels:  sample
cloud-cf-helloworld-nodejs
A "Hello World" application for Cloud Foundry using a simple RESTful API in Node.js with persistency in PostgreSQL and SAPUI5 UIs.
Stars: ✭ 45 (-47.67%)
Mutual labels:  sample
kmm-integration-sample
No description or website provided.
Stars: ✭ 58 (-32.56%)
Mutual labels:  sample
llapi-example
LLAPI Networking sample (Top Down Shooter)
Stars: ✭ 26 (-69.77%)
Mutual labels:  sample
hcp-portal-service-samples
Code samples of site and page templates, applications, widgets, shell plugins and more, intended to be used as references for development of custom content for SAP HANA Cloud Platform portal service sites.
Stars: ✭ 29 (-66.28%)
Mutual labels:  sample
teched2021-developer-keynote
SAP TechEd 2021 Developer Keynote: Improving Developers' Lives.
Stars: ✭ 23 (-73.26%)
Mutual labels:  sample
ui5-service-worker-sample
ui5-service-worker-sample demonstrates how the Service Worker API, available in modern web browsers, could be used in a UI5 app to realize different caching strategies.
Stars: ✭ 16 (-81.4%)
Mutual labels:  sample
cloud-cap-walkthroughs
This project contains exercises and tutorials for SAP Cloud Application Programming Model.
Stars: ✭ 66 (-23.26%)
Mutual labels:  sample
play-scala-streaming-example
Example Play application showing Comet and Server Sent Events in Scala
Stars: ✭ 42 (-51.16%)
Mutual labels:  sample
imooc-promise-sample
📝 幕课网Promise入门视频源码(https://www.imooc.com/learn/949)
Stars: ✭ 87 (+1.16%)
Mutual labels:  sample
old-browserhax
Fast and free old 3ds browser exploit for latest firmware.
Stars: ✭ 37 (-56.98%)
Mutual labels:  3ds
cheat-sheet
collection of cheat sheets
Stars: ✭ 150 (+74.42%)
Mutual labels:  howto
php-finder refactoring-kata
🐘🔍Incomprehensible Finder Refactoring Kata port for PHP
Stars: ✭ 22 (-74.42%)
Mutual labels:  sample
pfc-howtos
Here you will find all the example code for extensions and tools for the pfc family
Stars: ✭ 31 (-63.95%)
Mutual labels:  howto
firejailed-tor-browser
HOWTO: Firejailed Tor Browser
Stars: ✭ 18 (-79.07%)
Mutual labels:  howto
GStreamer-Python
Fetch RTSP Stream using GStreamer in Python and get image in Numpy
Stars: ✭ 81 (-5.81%)
Mutual labels:  sample

3ds Max 2021 and 2022 Python How Tos

Practical Python 3.7 Development Examples For 3ds Max

Splash

This repo contains various Python programming examples and tutorials targeting 3ds Max 2021 and 2022's Python 3.7 support (the samples are not meant to be used with the Python 2.7 interpreter shipped in previous versions of 3ds Max).

All the examples in the tutorials are implemented as pip packages. This is a bit heavy for small things (we provide a setup.py, a LICENSE and everything) but makes things installable and shareable more easily. As soon as something has dependencies on external packages or requires more than one Python file, pip packages become very convenient. Because we think it is a good practice to package 3ds Max Python tools with pip, we provide all our examples in this form.

Installation

It is not necessary to install the HowTos: the repo can simply be used as a passive directory of samples and documentation for Python developers.

  • Installing the HowTos will add menu items to 3ds Max, and is documented here
  • After an update from github it is necessary to rerun install scripts to get everything working as expected

Python How Tos

New content

mxthread demonstrates a worker running code on the main thread.

Samples

The samples below are translations of MAXScript How Tos that can be found in the 3ds Max online documentation.

The conversion from MaxScript to Python could have been more mechanical but we chose to implement the Python version in the best Python way known to us. An example of this is that we use PySide2 (Qt) for the UI as much as possible instead of using more traditional 3ds Max ui mechanisms.

How To?

Python Examples that don't come from maxscript howtos

Python Samples

Python samples can be found in src/samples. These samples may already be in your 3ds Max installation directories.

3dsMax startup entry point

pystartup provides the maxscript code that, when copied to 3ds Max's startup directory, will automatically launch pip packages with the 3dsMax startup entry point.

Tools

The following packages are not really examples but Python tools.

  • menuhook is not meant to be an example (but is still interesting as such!) but as a way of attaching Python functions to 3ds Max menu items. The menuhook package is used by most of the other samples.

  • realoadmod is small tool that will reload all development modules in one operation

  • mxvscode is a small tool that will automatically import ptvsd (the VSCode debugging interface) during the startup of 3ds Max and make it accept remote connections. This may slow down the startup of 3ds Max quite a bit and is meant as a developer-only tool.

Extra Goodies

  • install.sh will install pip, install pystartup and pip install all the samples
  • uninstall.sh will uninstall what was installed with install.sh
  • installstartup.sh will install pip and pystartup and nothing more
  • installhowtos.sh will install only the howtos (works in a virtual env)
  • checks.sh runs pylint on the code, validates that 3ds Max is named properly, validates that code blocks in markdown always specify the programming language, checks that all links are valid in all markdown files of the repo
  • create.sh will generate an empty pip package in the current working directory.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].