Coder Social home page Coder Social logo

stp2x3d's Introduction

NIST STEP to X3D Translator (STP2X3D)

The NIST STEP to X3D Translator is an open-source software that translates a STEP (ISO 10303) Part 21 file (.stp or .step) to an X3D (ISO/IEC 19776) file (.x3d) or X3DOM file (.html). Developed at the National Institute of Standards and Technology (NIST), the software is based on the Open CASCADE STEP Processor and written in C++.

Prerequisites

  • Open CASCADE Technology (OCCT) 7.7.0 or higher
    • You must rebuild the OCCT solution to regenerate DLL files.
      • vc14 or higher (x64) should be selected.
    • The complete set of DLL files required for STP2X3D to run is as follows.
      • OCCT related: freetype.dll, TKBO.dll, TKBRep.dll, TKCAF.dll, TKCDF.dll, TKernel.dll, TKG2d.dll, TKG3d.dll, TKGeomAlgo.dll, TKGeomBase.dll, TKHLR.dll, TKLCAF.dll. TKMath.dll, TKMesh.dll, TKPrim.dll, TKService.dll, TKShHealing.dll, TKSTEP.dll, TKSTEP209.dll, TKSTEPAttr.dll, TKSTEPBase.dll, TKTopAlgo.dll, TKV3d.dll, TKVCAF.dll, TKXCAF.dll, TKXDE.dll, TKXDESTEP.dll, TKXSBase.dll
      • VC++ related: msvcp140.dll, vcruntime140.dll (vcruntime140_1.dll will also be required when vc141 or higher was used to build.)

Build the STEP to X3D Translator

Windows

  • Use CMake 3.12.2 or higher to build the software.
    • vc14 or higher (x64) should be selected for the generator.
  • You can also create a new project, include source files, and build the project in Visual Studio.
  • Additional Directories should be added as follows.
    • Add "OCCTPath\inc" to Additional Include Directories.
    • Add "OCCTPath\win64\vc14\lib" to Additional Library Directories.

Linux (tested Ubuntu 20.10 64bit)

  • Use CMake 3.12.2 or higher to build the software.
  • Modify lines 5-6 of STP2X3D/CMakeLists.txt to properly set link to OCCT on your local machine.
  • Run the following commands from the repository root directory (where this README is located):
mkdir build
cd build  
cmake ..
make

Usage

  • NIST STP2X3D is a command line software. Please check out the Usage guide.

Work In Progress

  • Determination of appropriate tessellation parameters per each body.

Contact Information

Used By

Reference

Version

1.21

Disclaimers

NIST Disclaimer

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.