{"id":13393010,"url":"https://github.com/solvespace/solvespace","last_synced_at":"2025-03-13T19:31:21.833Z","repository":{"id":29371183,"uuid":"32905910","full_name":"solvespace/solvespace","owner":"solvespace","description":"Parametric 2d/3d CAD","archived":false,"fork":false,"pushed_at":"2025-03-13T15:53:59.000Z","size":23099,"stargazers_count":3354,"open_issues_count":287,"forks_count":506,"subscribers_count":112,"default_branch":"master","last_synced_at":"2025-03-13T16:41:20.495Z","etag":null,"topics":["cad","parametric"],"latest_commit_sha":null,"homepage":"http://solvespace.com/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/solvespace.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"COPYING.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-03-26T03:39:11.000Z","updated_at":"2025-03-13T15:54:03.000Z","dependencies_parsed_at":"2023-10-02T07:25:47.441Z","dependency_job_id":"bc5d53a6-be3f-434b-b529-4e386591075d","html_url":"https://github.com/solvespace/solvespace","commit_stats":{"total_commits":1956,"total_committers":81,"mean_commits":24.14814814814815,"dds":0.668200408997955,"last_synced_commit":"25b5977962449a734721c667b5347831e8aaa109"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solvespace%2Fsolvespace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solvespace%2Fsolvespace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solvespace%2Fsolvespace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solvespace%2Fsolvespace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/solvespace","download_url":"https://codeload.github.com/solvespace/solvespace/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243447628,"owners_count":20292452,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cad","parametric"],"created_at":"2024-07-30T17:00:40.990Z","updated_at":"2025-03-13T19:31:21.818Z","avatar_url":"https://github.com/solvespace.png","language":"C++","funding_links":[],"categories":["C++","others","CAD — Computer-Aided Design"],"sub_categories":["Parametric \u0026 Solid Modelling"],"readme":"# SolveSpace\n\n\u003cimg src=\"res/freedesktop/solvespace-scalable.svg\" width=\"70\" height=\"70\" alt=\"SolveSpace Logo\" align=\"left\"\u003e\n\n[![Build Status](https://github.com/solvespace/solvespace/workflows/CD/badge.svg)](https://github.com/solvespace/solvespace/actions)\n[![solvespace](https://snapcraft.io/solvespace/badge.svg)](https://snapcraft.io/solvespace)\n[![solvespace](https://snapcraft.io/solvespace/trending.svg?name=0)](https://snapcraft.io/solvespace)\n\nThis repository contains the source code of [SolveSpace][], a parametric\n2d/3d CAD tool.\n\n[solvespace]: https://solvespace.com\n\n## Community\n\nThe official SolveSpace [website][sswebsite] has [tutorials][sstutorial],\n[reference manual][ssref] and a [forum][ssforum]; there is also an official\nIRC channel [#solvespace at web.libera.chat][ssirc].\n\n[sswebsite]: http://solvespace.com/\n[ssref]: http://solvespace.com/ref.pl\n[sstutorial]: http://solvespace.com/tutorial.pl\n[ssforum]: http://solvespace.com/forum.pl\n[ssirc]: https://web.libera.chat/#solvespace\n\n## Installation\n\n### Via Official Packages\n\n_Official_ release packages for macOS (\u003e=10.6 64-bit) and Windows\n(\u003e=Vista 32-bit) are available via [GitHub releases][rel]. These packages are\nautomatically built by the SolveSpace maintainers for each stable release.\n\n[rel]: https://github.com/solvespace/solvespace/releases\n\n### Via Flathub\n\nOfficial releases can be installed as a Flatpak from Flathub.\n\n[Get SolveSpace from Flathub](https://flathub.org/apps/details/com.solvespace.SolveSpace)\n\nThese should work on any Linux distribution that supports Flatpak.\n\n### Via Snap Store\n\nOfficial releases can be installed from the `stable` channel.\n\nBuilds from master are automatically released to the `edge` channel in the Snap\nStore. Those packages contain the latest improvements, but receive less testing\nthan release builds.\n\n[![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-black.svg)](https://snapcraft.io/solvespace)\n\nOr install from a terminal:\n\n```sh\n# for the latest stable release:\nsnap install solvespace\n\n# for the bleeding edge builds from master:\nsnap install solvespace --edge\n```\n\n### Via automated edge builds\n\n\u003e :warning: **Edge builds might be unstable or contain severe bugs!**\n\u003e They are intended for experienced users to test new features or verify bugfixes.\n\nCutting edge builds from the latest master commit are available as zip archives\nfrom the following links:\n\n- [macOS](https://nightly.link/solvespace/solvespace/workflows/cd/master/macos.zip)\n- [Windows](https://nightly.link/solvespace/solvespace/workflows/cd/master/windows.zip)\n- [Windows with OpenMP enabled](https://nightly.link/solvespace/solvespace/workflows/cd/master/windows-openmp.zip)\n\nExtract the downloaded archive and install or execute the contained file as is\nappropriate for your platform.\n\n### Via source code\n\nIrrespective of the OS used, before building, check out the project and the\nnecessary submodules:\n\n```sh\ngit clone https://github.com/solvespace/solvespace\ncd solvespace\ngit submodule update --init\n```\n\nYou will need `git`. See the platform specific instructions below to install it.\n\n## Building on Linux\n\n### Building for Linux\n\nYou will need the usual build tools, CMake, zlib, libpng, cairo, freetype. To\nbuild the GUI, you will need fontconfig, gtkmm 3.0 (version 3.16 or later),\npangomm 1.4, OpenGL and OpenGL GLU, and optionally, the Space Navigator client\nlibrary. On a Debian derivative (e.g. Ubuntu) these can be installed with:\n\n```sh\nsudo apt install git build-essential cmake zlib1g-dev libpng-dev \\\n            libcairo2-dev libfreetype6-dev libjson-c-dev \\\n            libfontconfig1-dev libgtkmm-3.0-dev libpangomm-1.4-dev \\\n            libgl-dev libglu-dev libspnav-dev\n```\n\nOn a RedHat derivative (e.g. Fedora) the dependencies can be installed with:\n\n```sh\nsudo dnf install git gcc-c++ cmake zlib-devel libpng-devel \\\n            cairo-devel freetype-devel json-c-devel \\\n            fontconfig-devel gtkmm30-devel pangomm-devel \\\n            mesa-libGL-devel mesa-libGLU-devel libspnav-devel\n```\n\nBefore building, [check out the project and the necessary submodules](#via-source-code).\n\nAfter that, build SolveSpace as following:\n\n```sh\nmkdir build\ncd build\ncmake .. -DCMAKE_BUILD_TYPE=Release -DENABLE_OPENMP=ON\nmake\n\n# Optionally\nsudo make install\n```\n\nLink Time Optimization is supported by adding `-DENABLE_LTO=ON` to cmake at the\nexpense of longer build time.\n\nThe graphical interface is built as `build/bin/solvespace`, and the command-line\ninterface is built as `build/bin/solvespace-cli`. It is possible to build only\nthe command-line interface by passing the `-DENABLE_GUI=OFF` flag to the cmake\ninvocation.\n\n### Building for Windows\n\nUbuntu will require 20.04 or above. Cross-compiling with WSL is also confirmed\nto work.\n\nYou will need the usual build tools, CMake, and a Windows cross-compiler. On a\nDebian derivative (e.g. Ubuntu) these can be installed with:\n\n```sh\napt-get install git build-essential cmake mingw-w64\n```\n\nBefore building, [check out the project and the necessary submodules](#via-source-code).\n\nBuild 64-bit SolveSpace with the following:\n\n```sh\nmkdir build\ncd build\ncmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-mingw64.cmake \\\n            -DCMAKE_BUILD_TYPE=Release\nmake\n```\n\nThe graphical interface is built as `build/bin/solvespace.exe`, and the\ncommand-line interface is built as `build/bin/solvespace-cli.exe`.\n\nSpace Navigator support will not be available.\n\n### Building for web (very experimental)\n\n**Please note that this port contains many critical bugs and unimplemented core functions.**\n\nYou will need the usual build tools, cmake and [Emscripten][]. On a Debian derivative (e.g. Ubuntu) dependencies other than Emscripten can be installed with:\n\n```sh\napt-get install git build-essential cmake\n```\n\nFirst, install and prepare `emsdk`:\n\n```sh\ngit clone https://github.com/emscripten-core/emsdk\ncd emsdk\n./emsdk install latest\n./emsdk activate latest\nsource ./emsdk_env.sh\ncd ..\n```\n\nBefore building, [check out the project and the necessary submodules](#via-source-code).\n\nAfter that, build SolveSpace as following:\n\n```sh\nmkdir build\ncd build\nemcmake cmake .. -DCMAKE_BUILD_TYPE=Release -DENABLE_LTO=\"ON\" -DENABLE_TESTS=\"OFF\" -DENABLE_CLI=\"OFF\" -DENABLE_COVERAGE=\"OFF\"\nmake\n```\n\nThe graphical interface is built as multiple files in the `build/bin` directory with names\nstarting with `solvespace`. It can be run locally with `emrun build/bin/solvespace.html`.\n\nThe command-line interface is not available.\n\n[emscripten]: https://emscripten.org/\n\n## Building on macOS\n\nYou will need git, XCode tools, CMake and libomp. Git, CMake and libomp can be installed\nvia [Homebrew][]:\n\n```sh\nbrew install git cmake libomp\n```\n\nXCode has to be installed via AppStore or [the Apple website][appledeveloper];\nit requires a free Apple ID.\n\nBefore building, [check out the project and the necessary submodules](#via-source-code).\n\nAfter that, build SolveSpace as following:\n\n```sh\nmkdir build\ncd build\ncmake .. -DCMAKE_BUILD_TYPE=Release -DENABLE_OPENMP=ON\nmake\n```\n\nLink Time Optimization is supported by adding `-DENABLE_LTO=ON` to cmake at the\nexpense of longer build time.\n\nAlternatively, generate an XCode project, open it, and build the \"Release\" scheme:\n\n```sh\nmkdir build\ncd build\ncmake .. -G Xcode\n```\n\nThe application is built in `build/bin/SolveSpace.app`, the graphical interface executable\nis `build/bin/SolveSpace.app/Contents/MacOS/SolveSpace`, and the command-line interface executable\nis `build/bin/SolveSpace.app/Contents/MacOS/solvespace-cli`.\n\n[homebrew]: https://brew.sh/\n[appledeveloper]: https://developer.apple.com/download/\n\n## Building on OpenBSD\n\nYou will need git, cmake, libexecinfo, libpng, gtk3mm and pangomm.\nThese can be installed from the ports tree:\n\n```sh\npkg_add -U git cmake libexecinfo png json-c gtk3mm pangomm\n```\n\nBefore building, [check out the project and the necessary submodules](#via-source-code).\n\nAfter that, build SolveSpace as following:\n\n```sh\nmkdir build\ncd build\ncmake .. -DCMAKE_BUILD_TYPE=Release\nmake\nsudo make install\n```\n\nUnfortunately, on OpenBSD, the produced executables are not filesystem location independent\nand must be installed before use. By default, the graphical interface is installed to\n`/usr/local/bin/solvespace`, and the command-line interface is built as\n`/usr/local/bin/solvespace-cli`. It is possible to build only the command-line interface\nby passing the `-DENABLE_GUI=OFF` flag to the cmake invocation.\n\n## Building on Windows\n\nYou will need [git][gitwin], [cmake][cmakewin] and a C++ compiler\n(either Visual C++ or MinGW). If using Visual C++, Visual Studio 2015\nor later is required.\nIf gawk is in your path be sure it is a proper Windows port that can handle CL LF line endings.\nIf not CMake may fail in libpng due to some awk scripts - issue #1228.\n\nBefore building, [check out the project and the necessary submodules](#via-source-code).\n\n### Building with Visual Studio IDE\n\nCreate a directory `build` in\nthe source tree and point cmake-gui to the source tree and that directory.\nPress \"Configure\" and \"Generate\", then open `build\\solvespace.sln` with\nVisual C++ and build it.\n\n### Building with Visual Studio in a command prompt\n\nFirst, ensure that `git` and `cl` (the Visual C++ compiler driver) are in your\n`%PATH%`; the latter is usually done by invoking `vcvarsall.bat` from your\nVisual Studio install. Then, run the following in cmd or PowerShell:\n\n```bat\nmkdir build\ncd build\ncmake .. -G \"NMake Makefiles\" -DCMAKE_BUILD_TYPE=Release\nnmake\n```\n\n### Building with MinGW\n\nIt is also possible to build SolveSpace using [MinGW][mingw], though\nSpace Navigator support will be disabled.\n\nFirst, ensure that git and gcc are in your `$PATH`. Then, run the following\nin bash:\n\n```sh\nmkdir build\ncd build\ncmake .. -DCMAKE_BUILD_TYPE=Release\nmake\n```\n\n[gitwin]: https://git-scm.com/download/win\n[cmakewin]: http://www.cmake.org/download/#latest\n[mingw]: http://www.mingw.org/\n\n## Contributing\n\nSee the [guide for contributors](CONTRIBUTING.md) for the best way to file issues, contribute code,\nand debug SolveSpace.\n\n## License\n\nSolveSpace is distributed under the terms of the [GPL v3](COPYING.txt) or later.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolvespace%2Fsolvespace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolvespace%2Fsolvespace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolvespace%2Fsolvespace/lists"}