Skip to content

TimTheBig/bevy_step_loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bevy_step_loader

An STEP loader for bevy.

STEP is a widely used CAD data exchange format, that represents 3D solids.

It is supported as an output format by most CAD software.

Usage

  1. Add bevy_step_loader to your Cargo.toml
  2. Add bevy_step_loader::StepPlugin plugin to the bevy App
  3. Load STEP assets by passing paths with ".step"/".stp" extension to asset_server.load(..)

Example

fn main() {
    App::new()
        .add_plugins(bevy_step_loader::StepPlugin)
        .add_systems(Startup, setup)
        .run();
}

fn setup(commands: Commands, asset_server: Res<AssetServer>) {
    commands.spawn((
        Mesh3d(asset_server.load("arm.step")),
    ));
}

About

STEP/STP loader for bevy, using the foxtrot parser

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Contributors

Languages