Skip to content

Commit f88a35d

Browse files
committed
Merge branch 'release/0.7.0'
2 parents e55c5ee + f79ca7e commit f88a35d

File tree

240 files changed

+11451
-5508
lines changed

Some content is hidden

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

240 files changed

+11451
-5508
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
os: [ubuntu-latest]
11-
#os: [ubuntu-latest, macos-latest]
10+
os: [ubuntu-latest, macos-latest]
1211

1312
runs-on: ${{matrix.os}}
1413

@@ -45,10 +44,9 @@ jobs:
4544
if: startsWith(matrix.os, 'macos')
4645
run: |
4746
brew install opencascade
48-
GH_CASCADE_BASE_DIR=`brew --cellar opencascade`
49-
GH_CASCADE_VERSION=`brew info opencascade | grep -E --only-matching --max-count=1 "[0-9]\.[0-9]\.[0-9]"`
50-
echo "GH_CASCADE_INC_DIR=$GH_CASCADE_BASE_DIR/$GH_CASCADE_VERSION/include/opencascade" >> $GITHUB_ENV
51-
echo "GH_CASCADE_LIB_DIR=$GH_CASCADE_BASE_DIR/$GH_CASCADE_VERSION/lib" >> $GITHUB_ENV
47+
GH_CASCADE_BASE_DIR=`brew info opencascade | grep -E -i --only-matching --max-count=1 "^(/[a-z\.\-_0-9]+)+"`
48+
echo "GH_CASCADE_INC_DIR=$GH_CASCADE_BASE_DIR/include/opencascade" >> $GITHUB_ENV
49+
echo "GH_CASCADE_LIB_DIR=$GH_CASCADE_BASE_DIR/lib" >> $GITHUB_ENV
5250
5351
- name: Get count of CPU cores
5452
uses: SimenB/github-actions-cpu-cores@v1
@@ -62,6 +60,8 @@ jobs:
6260
run: |
6361
echo CASCADE_INC_DIR=${{env.GH_CASCADE_INC_DIR}}
6462
echo CASCADE_LIB_DIR=${{env.GH_CASCADE_LIB_DIR}}
63+
[ ! -d $CASCADE_INC_DIR ] && echo "ERROR: OpenCascade include dir doesn't exist"
64+
[ ! -d $CASCADE_LIB_DIR ] && echo "ERROR: OpenCascade lib dir doesn't exist"
6565
qmake ../source CASCADE_INC_DIR=${{env.GH_CASCADE_INC_DIR}} CASCADE_LIB_DIR=${{env.GH_CASCADE_LIB_DIR}} CONFIG+=withtests
6666
6767
- name: Build
@@ -75,8 +75,14 @@ jobs:
7575
env:
7676
DISPLAY: :0
7777
run: |
78+
# Install french locale for testing case
79+
echo "fr_FR ISO-8859-1" | sudo tee -a /etc/locale.gen
80+
sudo locale-gen
81+
localectl list-locales
82+
# Start X11 display server
7883
Xvfb $DISPLAY -screen 0 1280x1024x24 &
7984
sleep 5s
85+
# Run tests
8086
./mayo --runtests
8187
8288
- name: Execute Unit Tests[macOS]

README.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<div align="center">
22

33
[![CI](https://github.com/fougue/mayo/actions/workflows/ci.yml/badge.svg?branch=develop)](https://github.com/fougue/mayo/actions/workflows/ci.yml)
4-
[![Build status](https://ci.appveyor.com/api/projects/status/6d1w0d6gw28npxpf?svg=true)](https://ci.appveyor.com/project/HuguesDelorme/mayo)
4+
[![Build status](https://ci.appveyor.com/api/projects/status/6d1w0d6gw28npxpf/branch/develop?svg=true)](https://ci.appveyor.com/project/HuguesDelorme/mayo)
55
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/d51f8ca6fea34886b8308ff0246172ce)](https://www.codacy.com/gh/fougue/mayo/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=fougue/mayo&amp;utm_campaign=Badge_Grade)
66
[![Downloads](https://img.shields.io/github/downloads/fougue/mayo/total.svg)](https://github.com/fougue/mayo/releases)
77
[![License](https://img.shields.io/badge/license-BSD%202--clause-blue.svg)](https://github.com/fougue/mayo/blob/develop/LICENSE.txt)
8-
[![Version](https://img.shields.io/badge/version-v0.6.0-blue.svg?style=flat)](https://github.com/fougue/mayo/releases)
8+
[![Version](https://img.shields.io/badge/version-v0.7.0-blue.svg?style=flat)](https://github.com/fougue/mayo/releases)
99

1010
</div>
1111

@@ -30,6 +30,10 @@ Mayo runs on Windows, Linux and macOS
3030
- **Solid foundations** <br/>
3131
Mayo is developed in modern C++ with [Qt](https://www.qt.io) and [OpenCascade](https://dev.opencascade.org)
3232

33+
For more details have a look at this fine review [Introducing Mayo](https://librearts.org/2023/01/introducing-mayo-free-cad-files-viewer) by Libre Arts<br/>
34+
There's also a complete [video](https://www.youtube.com/watch?v=qg6IamnlfxE&ab_channel=LibreArts) on YouTube
35+
36+
3337
## :zap: Features
3438
- **3D clip planes** with configurable capping
3539

@@ -56,10 +60,11 @@ BREP | :white_check_mark: | :white_check_mark: | OpenCascade format
5660
DXF | :white_check_mark: | :x: |
5761
OBJ | :white_check_mark: | :white_check_mark: |
5862
glTF | :white_check_mark: | :white_check_mark: | 1.0, 2.0 and GLB
59-
VRML | :x: | :white_check_mark: | v2.0 UTF8
63+
VRML | :white_check_mark: | :white_check_mark: | v2.0 UTF8
6064
STL | :white_check_mark: | :white_check_mark: | ASCII/binary
6165
AMF | :x: | :white_check_mark: | v1.2 Text/ZIP
6266
PLY | :white_check_mark: | :white_check_mark: | ASCII/binary
67+
OFF | :white_check_mark: | :white_check_mark: |
6368
Image | :x: | :white_check_mark: | PNG, JPEG, ...
6469

6570
See also this dedicated [wikipage](https://github.com/fougue/mayo/wiki/Supported-formats) for more details
@@ -86,12 +91,20 @@ Mayo supports also multiple 3D viewer navigation styles to mimic common CAD appl
8691

8792
## :clapper: Gallery
8893

89-
<img src="doc/screencast_cli.gif"/>
90-
94+
_Easy to use command-line utility for batch conversion of CAD files_
95+
<img src="doc/screencast_cli.gif"/>
96+
97+
_Import of glTF file with textures_
9198
<img src="doc/screenshot_2.png"/>
9299

100+
_Import of STEP file with many parts_
93101
<img src="doc/screenshot_3.png"/>
94102

103+
_Import of PLY file defining point cloud_
104+
<img src="doc/screenshot_6.png"/>
105+
106+
_Options dialog with import/export configuration per CAD format_
95107
<img src="doc/screenshot_4.png"/>
96108

109+
_Home page with quick access to recent files_
97110
<img src="doc/screenshot_5.png"/>

appveyor.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,33 @@
1-
version: 0.6_build{build}
1+
version: 0.7_build{build}
22

33
image: Visual Studio 2017
44
platform: x64
55
configuration: Release
66

77
clone_folder: c:\projects\mayo
88

9-
branches:
10-
only:
11-
- develop
12-
- master
9+
#branches:
10+
# only:
11+
# - develop
12+
# - master
1313

1414
matrix:
1515
fast_finish: true
1616

1717
environment:
1818
matrix:
19+
- APPVEYOR_OCC_VERSION: 7.3.0
1920
- APPVEYOR_OCC_VERSION: 7.4.0
2021
- APPVEYOR_OCC_VERSION: 7.5.0
2122
- APPVEYOR_OCC_VERSION: 7.6.0
23+
- APPVEYOR_OCC_VERSION: 7.7.0
2224

2325
cache:
26+
- OpenCASCADE-7.3.0-vc14-64.rar
2427
- OpenCASCADE-7.4.0-vc14-64.rar
2528
- OpenCASCADE-7.5.0-vc14-64.rar
2629
- OpenCASCADE-7.6.0-vc14-64.rar
30+
- OpenCASCADE-7.7.0-vc14-64.rar
2731

2832
install:
2933
- if not exist OpenCASCADE-%APPVEYOR_OCC_VERSION%-vc14-64.rar

0 commit comments

Comments
 (0)