Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

3D CAD viewer and converter based on Qt + OpenCascade

License

NotificationsYou must be signed in to change notification settings

fougue/mayo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 IGES/STEP/BRep formats for import/export operations
  • Support of STEP/IGES assemblies (colors and tree structure)
  • Support of STL format with either OpenCascade orgmio (optional)
  • Perspective/orthographic 3D view projection
  • 3D clip planes with configurable capping
  • 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

Build instructions

Mayo requires Qt5 and OpenCascade-7.2.0.
Although only tested with VC++/Windows it should build fine on Linux and MacOS.
It uses theCSF_OCCTIncludePath andCSF_OCCTLibPath environment variables to locateOpenCascade include and lib paths. On Windows these two variables are set by theenv.batscript which can be found within OpenCascade's base folder. You should run this batch beforebuilding mayo :
cd .../mayo
qmake
(n)make
In case you don't want to run this file you can use theCASCADE_INC_DIR andCASCADE_LIB_DIR qmakevariables 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"

Screencast


[8]ページ先頭

©2009-2025 Movatter.jp