Code Monkey home page Code Monkey logo

blender_ac_exporter's Introduction

blender_ac_exporter

This script exports fbx for Assetto Corsa tracks in a single click. Created for fast iteration in mind, primarily to make sure all objects are properly setup, avoid opening export dialogue every time and since ksEditor is extremely slow and a terrible experience overall, where getting a single thing wrong can easily lose you 5+ minutes for no reason.

What does it exactly do?

  • Makes sure all objects are unlinked (because cloned objects (copied with alt + D) will have spurrious materials when exported to fbx)
  • Makes sure at least one material slot is present on all objects and all slots have materials assigned (because objects with no or invalid slots will get autocreated FBX_MATERIALs)
  • Makes sure meshes don't have more than 65k vertices/normals/uvs (because AC works with 16bit indices)
  • Sets correct fbx export units and settings
  • Opens KsEditorAt with the exported FBX file. Make sure the path to KsEditorAt is set correctly (you can use shift right click -> copy as path).

How to install

  1. Edit > Preferences.. > Add-Ons > Install.. and select nothke_ac_exporter_v2.py, then activate it on the checkbox
  2. A new tab will appear on the right of the viewport called "ACExporter"

How to use

  1. Select an object from the collection you want to export or the collection itself.
  2. Open the ACExport tab: On the right side of the viewport > ACExporter
  3. Hit "Export FBX". If there are were no warnings, now be in the same folder where .blend is. KsEditorAt will also open if you have given the path to it.

You can also bind a shortcut to the "Export FBX" button by right clicking it and clicking "Assign Shortcut"

blender_ac_exporter's People

Contributors

nothke avatar xcuri0 avatar

Stargazers

Media Explorer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.