• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

Maxwell Render | Batch Scene Export?

Scheduled Pinned Locked Moved Extensions & Applications Discussions
extensions
2 Posts 2 Posters 4.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    cmast316
    last edited by 30 Apr 2020, 19:18

    Using Maxwell 4 and trying to figure out if I can batch export scenes. I have around 30 scenes in one file and it takes around 55 minutes to do this manually. Mostly sitting watching it export each time. Can't find this in their documentation anywhere.

    I'm going to switch to Vray eventually, I just have been using Maxwell for 9 years and have a lot invested into it. I know it's super easy to do this in Vray.

    If anyone knows, I would appreciate it. Thank you!

    1 Reply Last reply Reply Quote 0
    • J Offline
      JD Hill
      last edited by 5 May 2020, 13:05

      If you write the model to mxs, then reference that mxs in another skp with all the various scenes, you can use this one-liner to quickly write out an mxs for each scene:

      Sketchup.active_model.pages.each { |p| Sketchup.active_model.pages.selected_page = p; puts "Exporting #{p.name}"; MX::Util.set_output_property('output.scene_name', p.name, true); MX::Export.export('mxs') }

      You will want to disable scene transitions and set delay to 0 in window > model info > animation, since it appears ruby does not wait for the transition to complete between scenes. Then, you can use the network render button to set up a batch job for rendering all the mxs files.

      Other ways are possible as well, since each scene is written as a camera into the mxs -- e.g. you can write one mxs, and use a python script to open it and render out each camera. But the way given above is probably easiest.

      Developer - Bella Render

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      1 / 1
      • First post
        2/2
        Last post
      Buy SketchPlus
      Buy SUbD
      Buy WrapR
      Buy eBook
      Buy Modelur
      Buy Vertex Tools
      Buy SketchCuisine
      Buy FormFonts

      Advertisement