Forum Groups
  All forums
    Help & Feedback
      Questions
      Work in progress
      Finished Art
      Non-Max related
    Community
      Offtopic
      News
    Hardware
    Photography


Featured Threads
  inspiration alert!!!
(36 replies)
  Indespensible MaxScripts, Plugins and 3rd Party Tools
(37 replies)
  The allmighty FREE Resources Thread !
(17 replies)
  spam alert!!!
(4886 replies)
  Maxforums member photo gallery index
(114 replies)
  Maxforums Member Tutorials
(89 replies)
  three cheers to maxforums...
(240 replies)
  101 Things you didnt know in Max...
(198 replies)
  A Face tutorial from MDB101 :D
(95 replies)
  Maxforums.org Members Gallery
(516 replies)
  SON OF POST YOURSELF
(637 replies)
  Dub's Maxscript Tutorial Index
(119 replies)

Maxunderground news unavailable

Kivy python uses in the world of 3D
show user profile  9krausec
I was wondering if any of yous guys know of any applications for Kivy in a production environment? I'm interested in learning Kivy to develop stand alone python apps to assist in our production environment, but I'm actually having a hard time coming up with creative uses for it being that most plugins/script I develop can just be ran straight from Maya and are set to manipulate Maya stuff.

So far I'm thinking of these possible uses-

-Sanity checks on our storage volume which has a strict naming convention. Could sweep through the entire thing to check for naming conventions that don't conform to the rules we setup (so scan a few thousand folders and make sure they are named correctly).

-Batch manipulation of Maya scenes via mayapy. Could theoretically push commands to manipulate however many scenes without ever opening Maya GUI (huge time savor).

-Batch render submission to Deadline. In our hundreds of product maya scenes I've installed "hooks" or "switches" into the scene. So changing product color is a simple process for instance. Also, in the future I'm going to setup SQLite databases retaining profiles. So camera profiles (raw data of camera attribute and positions), lighting profiles (more-so to go along with the camera profiles... Load a 3/4th profile for a specific product with a 3/4 lighting profile for that specific product).

I think that last use-case scenario would be the most powerful in our production as we have 600+ products that have various frame colors and options. So it could be like this-

-Choose product maya files

-Choose what angles you want to have rendered (3/4th, profile, whatever..).

-Choose if you want to have your lighting profiles that are linked to the camera profiles or if you want to break the link and choose a different sort of lighting profile.

-Choose render settings and frame color variations

-Submit all to Deadline


Anyways.. anyone here use Kivy for their production? If so, what do you use it for? Is there a better alternative that would allow for a person to run a standalone python GUI application?

Let me know pals. Thanks.




- Portfolio-




read 165 times
9/28/2017 12:47:32 AM (last edit: 9/28/2017 12:47:32 AM)
show user profile  ScotlandDave
I've never used Kivy it looks probably ideal for what you are looking for - lightweight framework that'll allow you to hook in to the Maya api's.. QT would be the other obvious option, i think pyqt is the python binding for it.

I did some basic scripting for Maya recently and although Mel obviously has a long and well documented history, the python api's are pretty easy to use and can pretty much call any Mel function either way..

The one benefit of QT might be actually that you can build your tools to run either within maya as a plugin or as external 'native apps' both using the same framework..


Website | Blog | Contact | Vimeo

read 155 times
9/28/2017 10:54:39 AM (last edit: 9/28/2017 10:54:39 AM)
show user profile  9krausec
^That is a good point. I do plan on running QT inside of Maya for the primary toolset UI. It would be nice to utilize the same GUI for offline stuff as well (perhaps hiding or graying out options for direct Maya manipulation when Maya is not open).

I'll have to study up on QT outside of Maya. So far I've only looked at it briefly as something running inside of Maya.

I'm starting to cobble together a pipeline now, but it's time to put my big boy pants on soon and start developing a unified, strict system. Sort of excited for that and exploring options right now.

My worst nightmare is to spend the time developing a system that needs to the be changed at a fundamental level down the road. I'd rather build a system that works with most contingencies.




- Portfolio-




read 140 times
9/28/2017 5:04:22 PM (last edit: 9/28/2017 5:04:22 PM)
show user profile  ScotlandDave
It sounds like you are aiming at a scene-management toolset with customisation-automation and rendering options.. Those hooks that you mentioned i'm guessing would be ideal for that - an easy way to grab scene handles for example a material diffuse color via the external app, tweak it, render to a specific location and naming system, rinse and repeat. I'm guessing say if you had a specific group of colours that each item in a particular product group were manufactured in, you could automate half a dozen camera angles, in each predefined colour, all rendering to the correct locations.. If there's any comp or post work, qt might also allow interfacing with other software again via the same core app.. A full pipeline automation if you have an absolute ton of repetition to get through :)



Website | Blog | Contact | Vimeo

read 126 times
9/29/2017 1:34:33 AM (last edit: 9/29/2017 1:34:33 AM)
show user profile  9krausec
You hit the nail on the head good sir. Cherry on top is we just got Fusion 9 which has Python integration. So depending on how well python is integrated into fusion, I'm thinking there is a good chance of having a start to finish automation. Exactly what you said.

4 years ago I never thought I'd get excited about taking this stuff on, but I think I have a small small amount of TD blood in me. :)




- Portfolio-




read 111 times
9/29/2017 2:26:52 PM (last edit: 9/29/2017 2:26:52 PM)
show user profile  ScotlandDave
That sounds awesome :) My idea of fun hehe. Hope they recognize the work you put in to it all :)


Website | Blog | Contact | Vimeo

read 106 times
9/29/2017 4:45:22 PM (last edit: 9/29/2017 4:45:22 PM)
show user profile  9krausec
Surely no one will recognize the work involved. Right now I'm a black box at the company I work for. They know they need what I can produce, trust my judgement and provide me resources, but have zero clue what I'm doing. :)

Not to mention I'm building a completely custom GPU render farm for them too (5 4u units setup to hold potentially 6x 1080ti cards each).

Good thing I love what I do and don't need the recognition so much. Just a paycheck, resources and jurisdiction to run the 3D Productions operation as I see fit.

Really enjoying being in command of our operation over here. Only trade off is that I don't get to cross pollinate with other 3D Artists directly to learn (in person) from artists that know more than I do.

That's what maxforums and the rest of the interwebz are for. :)




- Portfolio-




read 103 times
9/29/2017 8:32:39 PM (last edit: 9/29/2017 8:32:39 PM)
#Maxforums IRC
Open chat window


Support Maxforums.org