Giter Site home page Giter Site logo

arthurx70 / mayo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fougue/mayo

0.0 0.0 0.0 11.65 MB

3D CAD viewer and converter based on Qt + OpenCascade

License: BSD 2-Clause "Simplified" License

C++ 97.82% QMake 1.34% Inno Setup 0.53% Ruby 0.14% C 0.16%

mayo's Introduction

Build status License

What is Mayo

Mayo is a 3D viewer and converter inspired by FreeCad

Overview

  • View and convert 3D files in different formats
  • Explore assembly trees and view properties
  • Cross platform: runs on Windows and Linux
  • Underlying toolkits: OpenCascade and Qt

Current features

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

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
glTF Import requires OpenCascade ≥ v7.4.0
Export requires OpenCascade ≥ v7.5.0
Supports 1.0, 2.0 and GLB
VRML v2.0 UTF8
STL ASCII/binary

Gallery

Build instructions

Mayo requires Qt5 and OpenCascade ≥ 7.3.0

It uses the CSF_OCCTIncludePath and CSF_OCCTLibPath environment variables to locate OpenCascade include and library paths. On Windows these two variables are set by the env.bat script which can be found within OpenCascade's base folder, it is recommended to run this script and then build Mayo :

cd .../mayo
qmake
(n)make

In case you don't want to run OpenCascade env.bat you can use the CASCADE_INC_DIRand CASCADE_LIB_DIR qmake variables instead :

qmake "CASCADE_INC_DIR=occ_include_dir" "CASCADE_LIB_DIR=occ_library_dir"

mayo's People

Contributors

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