Giter Site home page Giter Site logo

stp2webgl's Introduction

stp2webgl

Facet STEP for Lightweight Viewing

This command line tool converts STEP CAD data into triangular meshes, and then writes the result into lightweight files for use in WebGL and other visualization applications.

The STEP reading and faceting is handled by ST-Developer libraries. This code traverses the resulting mesh data and writes STL or a simple webxml format. If you have a mesh format that you prefer, consider adding a writer for it and including it as a command line option.

The webxml format description and a javascript client for displaying it as WebGL can be found at:

Building

This package contains a Visual Studio 2013 project file for building. When using with ST-Developer Personal Edition, set the platform to either "Release DLL" or "Debug DLL". There is also an NMAKE makefile called win32.mak which can be used for command line builds.

The package uses the ST-Developer libraries to read/write STEP files and mesh the CAD geometry. A downloadable version that is free for personal use can be found at:

ST-Developer Personal Edition

Extending

Is there a different back end that you would need? Create your own write_foo.cxx output driver by using one of the existing ones as a template. See CONTRIBUTING.md if you would like to send a pull request with your changes.

stp2webgl's People

Contributors

david-loffredo 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.