Skip to content

chuongmep/UnityForgeImporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnityForgeImporter

GitHub issues platforms license

Forge & Unity logos

A simple importer for Unity to load Autodesk Forge SVF models in runtime.

It has been developed using the Forge-Convert-Utils package. Most of this code is only Typescript to C# adaptation and the majority of the SVF reading logic is preserved.

Usage

This library only works with local SVF files.

  1. Download or clone this repo

  2. Download your SVF using Forge-Convert-Utils or Extract-Autodesk. Samples can downloaded from Forge-RCDB Gallery

  3. Put SVF files into your Unity project (StreamingAssets folder for exemple)

  4. Create an instance of the ForgeSvfImporter and load the model with the ReadSvf method

    ForgeSvfImporter svfImporter = new ForgeSvfImporter();
    svfImporter.ReadSvf(svf-model-path);

Unity project

This project has been developed under Unity 2019.4.23f1. It should work on newer versions of Unity but not tested yet.

Dependencies

License

This project is licensed under the terms of the MIT License. Please see the LICENSE file for full details.

Trademarks

Unity is a registered trademark of Unity Technologies
Forge is a registered trademark of Autodesk

Written by

Alexandre Piro
Piro CIE

About

A simple Unity importer for Autodesk Forge SVF files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%