- Notifications
You must be signed in to change notification settings - Fork1
☠️ Graphic editor for 3D-printable (biomedical implant) models in STL format. WebGL + Rust
License
avbelyaev/3D-STL-model-editor
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
- Vanilla JavaScript frontend
- Graphics based on vanilla WebGL with shaders and geometry maths :)
- Models are stored in Indexed DB in browser
- Nginx for HTTPS and Gzip
- Rust Rocket backend
It was never intented to run in production. The main purpose was to learn fullstack development via project that is more interesting and more difficult that TODO app
Requirements:
- GL-matrix lib should bedownloaded, compiled and placed at
/webclient/js/lib/gl-matrix.js - Axios should bedownloaded and placed at
/webclient/js/lib/axios.min.js
In order to adjust style use SASS-preprocessor fromthis link.Add to PATH:export PATH=$PATH:/path/to/dart-sass. Usage:sass style.scss style.css.Or it can be downloader with brew:brew install --devel sass/sass/sass
Run:docker-compose up
Back to stable version of Rust:
rustup default stableLib
gmpcan be omitted on Mac:brew install gmpAllow Chrome open local files on OSX
open /Applications/Google\ Chrome.app --args --allow-file-access-from-files --disable-web-security --user-data-dirBrew may require proxy. On Unix it can be set with the following command:
export ALL_PROXY=https://host:portProxy for git (cargo/docker):
git config --global http.proxy http://host:portDocker could require https while pulling image.So prior to building image add the following to docker deamon config (dockerd).Docker config on macOS: tray -> preferences -> daemon -> advanced
{ ... other options "insecure-registries" : [ "registry-1.docker.io:443" ]}
переиспользовать шейдеры и программу как предложеноздесь
сделать скрипт для скачивания gl-matrix/Logger/axios, выполнения npm install и перемещения в /js/lib
добавить в панель меню статистику о фигуре кол-во врешин, граней, объем и т.д.
About
☠️ Graphic editor for 3D-printable (biomedical implant) models in STL format. WebGL + Rust
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.

