Skip to content

ogoudey/sdf-export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Three.js scene -> SDFormat Exporter

This tool provides a function that takes a Three.js scene and outputs a workable SDFormat file.

Installation

To use this tool in a Node project, do:

npm install ogoudey/sdf-export

And to import it:

import exportSDF  from 'sdf-export';

And later:

const { sdf, meshFiles } = await exportSDF(scene);

Now you have the SDFormat file as a string, and a list of mesh blobs ready to write (the SDF references files with meshes/..., so that's where they should be written).

About

A tool for generating a working SDF file (for Gazebo Sim) from a Three.js scene.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors