File: common

package info (click to toggle)
solvespace 3.1%2Bds1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,996 kB
  • sloc: cpp: 122,491; ansic: 11,375; javascript: 1,919; sh: 89; 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"
}