Giter VIP home page Giter VIP logo

mayo's Introduction

What is Mayo

Mayo is a basic 3D viewer inspired by FreeCad.

Current features are :

  • Multi-documents support, user can open many parts in the session
  • Support of STEP/IGES assemblies (colors and tree structure)
  • Perspective/orthographic 3D view projection
  • 3D clip planes with configurable capping
  • 3D view cube providing intuitive camera manipulation
  • Save image(snapshot) of the current 3D view
  • Editable name of STEP/IGES entities
  • Editable 3D properties of the imported items, eg. material, color, display mode, ...
  • Area and volume properties for meshes and shapes

3D viewer operations :

  • Rotate : mouse left + move
  • Pan : mouse right + move
  • Zoom : mouse wheel(scroll)
  • Window zoom : mouse wheel + move
  • Instant zoom : space bar

Supported formats

Formats Import Export Notes
STEP AP203, 214, 242(some parts)
IGES v5.3
OpenCascade BREP
OBJ Requires OpenCascade ≥ v7.4.0
STL ASCII/binary

Build instructions

Mayo requires Qt5 and OpenCascade-7.3.0 Although only tested with VC++/Windows it should build fine on Linux and MacOS.
It uses the CSF_OCCTIncludePath and CSF_OCCTLibPath environment variables to locate OpenCascade include and lib paths. On Windows these two variables are set by the env.bat script which can be found within OpenCascade's base folder. You should run this batch before building mayo :
cd .../mayo
qmake
(n)make
In case you don't want to run this file you can use the CASCADE_INC_DIR and CASCADE_LIB_DIR qmake variables instead :
qmake "CASCADE_INC_DIR=occ_include_dir" "CASCADE_LIB_DIR=occ_library_dir"

To enable optional gmio library, add this option to the qmake command line:
"GMIO_ROOT=path_to_gmio"

Screenshots

mayo's People

Contributors

huguesdelorme avatar luzpaz 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.