Giter VIP home page Giter VIP logo

figma2unreal's Introduction

Figma2Unreal

Demonstration Video

Figma2Unreal uses the Figma API and python scripts to take assets created in Figma and create nested UMG widgets suitable for making more advanced prototypes.

It is rudimentary at the moment so complex Figma functionality is not maintained, but it should still speed up the process with some manual cleanup required.

Installation and Usage

  • Install the plugin to your Unreal Project and make sure you have Python scripting enabled.
  • Use pip install requests to install the requests module to your Unreal Python environment {IMPORTANT: Must be your Unreal python envinronment found in "Engine/Binaries/ThirdParty/Python3" folder
  • Edit "Content/Python/runImportFigmaDoc.py" to use your Personal Access Token, FileID, and desired import directory.
  • Run "runImportFigmaDoc.py" from inside Unreal and you should get sub-folders with all of your newly created widgets and asssets
  • Restart Unreal to have all of your referenced widgets update in their parents (seems to be a new-ish bug with Unreal that editing User Widgets isn't reflected in parents until restart)

Known Issues

  • Only supports a single canvas
  • Reimporting overrides assets and brings up dialogue boxes for each overrides
  • Doesn't seem to release access to some widgets so deleting/editing widgets immedietly after running can cause issues
  • Requires restart to update widgets in their parents (think this is an Unreal bug)
  • Doesn't support gradient fills
  • Doesn't support outlines
  • Doesn't support advanced layouts
  • Doesn't use text justification
  • Text doesn't wrap or set up spacing correctly
  • Would like to support multiple fonts (could download google fonts with separate API)
  • Would idealy like to use native unreal materials for rectangles and lines to allow more flexible editibility
  • Would like to use native Unreal layouts for grids, horizontal, vertical boxes etx

figma2unreal's People

Contributors

phil-l-101 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.