Skip to content

Commit 1cec4f6

Browse files
committed
Merge branch 'release-0.2'
2 parents 1e0dde6 + 3be65fe commit 1cec4f6

File tree

419 files changed

+38272
-25646
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

419 files changed

+38272
-25646
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
build-*
2+
*.user
3+
*.user.*
4+
installer/setupvars.iss
5+
installer/Output

README.md

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,42 @@
11
# Mayo
22
Mayo is a basic 3D viewer inspired by FreeCad.
3-
Its primary goal is to visualize CAD files imported/exported
4-
with the [gmio](https://github.com/fougue/gmio) library.
53

64
Current features are :
75
* Multi-documents support, user can open many parts in the session
86
* Support of IGES/STEP/BRep formats for import/export operations
9-
* Support of STL format with either [gmio](https://github.com/fougue/gmio) or OpenCascade(see the speed performance of gmio!)
7+
* Support of STEP/IGES assemblies (colors and tree structure)
8+
* Support of STL format with either OpenCascade or [gmio](https://github.com/fougue/gmio) (optional)
9+
* Perspective/orthographic 3D view projection
10+
* 3D clip planes with configurable capping
1011
* Save image(snapshot) of the current 3D view
12+
* Editable name of STEP/IGES entities
1113
* Editable 3D properties of the imported items, eg. material, color, display mode, ...
14+
* Area and volume properties for meshes and shapes
15+
16+
3D viewer operations :
17+
* Rotate : mouse left + move
18+
* Pan : mouse right + move
19+
* Zoom : mouse wheel(scroll)
20+
* Window zoom : mouse wheel + move
21+
* Instant zoom : space bar
1222

1323
# Build instructions
14-
Mayo requires Qt5 and OpenCascade-7.0.0.
24+
Mayo requires Qt5 and OpenCascade-7.2.0.
1525
Although only tested with VC++/Windows it should build fine on Linux and MacOS.
26+
It uses the `CSF_OCCTIncludePath` and `CSF_OCCTLibPath` environment variables to locate
27+
OpenCascade include and lib paths. On Windows these two variables are set by the `env.bat`
28+
script which can be found within OpenCascade's base folder. You should run this batch before
29+
building mayo :
1630
`cd .../mayo`
17-
`qmake "GMIO_ROOT=path_to_gmio" "CASCADE_ROOT=path_to_opencascade"`
18-
`(n)make`
31+
`qmake`
32+
`(n)make`
33+
In case you don't want to run this file you can use the `CASCADE_INC_DIR` and `CASCADE_LIB_DIR` qmake
34+
variables instead :
35+
`qmake "CASCADE_INC_DIR=occ_include_dir" "CASCADE_LIB_DIR=occ_library_dir"`
36+
37+
To enable optional gmio library, add this option to the qmake command line:
38+
`"GMIO_ROOT=path_to_gmio"`
1939

20-
# Screenshots
40+
# Screencast
2141

22-
<img src="doc/screenshot_stl.png"/>
23-
<img src="doc/screenshot_irb.png"/>
42+
<img src="doc/screencast.gif"/>

doc/screencast.gif

4.49 MB
Loading

doc/screenshot_irb.png

-120 KB
Binary file not shown.

doc/screenshot_stl.png

-114 KB
Binary file not shown.

doc/src_modules.odg

10.1 KB
Binary file not shown.

doc/src_modules.png

6.82 KB
Loading

images/appicon.ico

24.3 KB
Binary file not shown.

images/appicon_128.png

1.24 KB
Loading

images/appicon_16.png

398 Bytes
Loading

0 commit comments

Comments
 (0)