File: common

package info (click to toggle)
solvespace 3.0.rc2%2Brepack1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 13,136 kB
  • sloc: cpp: 121,426; ansic: 8,912; javascript: 1,919; sh: 113; xml: 44; makefile: 25
file content (14 lines) | stat: -rw-r--r-- 395 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

get_all_files() {
    find -name "*.slvs"
}

get_files_with_surfaces() {
    # Can't export the mesh/surfaces of a file with no 3d in it, just 2d
    get_all_files | grep -E -v "(constraint)|(request)|(link)|(contour_area)"
}

get_files_to_thumbnail() {
    # Can't thumbnail files with embedded images: https://github.com/solvespace/solvespace/issues/905
    get_all_files | grep -v "image"
}