{"id":18875273,"url":"https://github.com/opencomputeproject/cadcloud","last_synced_at":"2025-10-25T06:39:18.992Z","repository":{"id":45049055,"uuid":"280187233","full_name":"opencomputeproject/CADCloud","owner":"opencomputeproject","description":"CADCloud is a cloud based sharing infrastructure dedicates to CAD engineers. It allows users to share design files, browse them interactively through a simple web interface, and support native file format from popular open source tools.","archived":false,"fork":false,"pushed_at":"2022-01-12T15:43:05.000Z","size":2651,"stargazers_count":88,"open_issues_count":10,"forks_count":15,"subscribers_count":18,"default_branch":"master","last_synced_at":"2024-08-09T14:05:07.027Z","etag":null,"topics":["freecad"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opencomputeproject.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-16T15:17:33.000Z","updated_at":"2024-06-12T08:00:56.000Z","dependencies_parsed_at":"2022-08-25T13:50:52.163Z","dependency_job_id":null,"html_url":"https://github.com/opencomputeproject/CADCloud","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencomputeproject%2FCADCloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencomputeproject%2FCADCloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencomputeproject%2FCADCloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencomputeproject%2FCADCloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opencomputeproject","download_url":"https://codeload.github.com/opencomputeproject/CADCloud/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223639402,"owners_count":17177816,"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":["freecad"],"created_at":"2024-11-08T06:06:47.746Z","updated_at":"2025-10-25T06:39:18.912Z","avatar_url":"https://github.com/opencomputeproject.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CADCloud\nCAD/EDA server\n\n![Image of landing](https://raw.githubusercontent.com/opencomputeproject/CADCloud/master/screenshot/landing.png)\n\n## Description\nThis project aims to create a version tracking and collaboration tool to Open Hardware communities. \n\n## Prerequisites\nIt does \"support\" FreeCAD 0.19 (current developer version) with the CLOUD workbench pre-compiled. \n\n## Usage\nTo use it you need to either import a STEP file into FreeCAD and export it to the server through the following command in the python console:\n\n```python\nimport Cloud \\\nCloud.URL(u\"https://YOUR SERVER URI\") \\\nCloud.TCPPort(u\"443\") \\\nCloud.TokenAuth(u\"YOUR ACCESS KEY\") \\\nCloud.TokenSecret(u\"YOUR PRIVATE KEY\") \\\nCloud.Save(u\"YOUR MODEL NAME (lowercase only)\") \\\n```\n\nNote: You can export a native FreeCAD file. Though be aware that WebGL rendering is still alpha, though it still could work ;).  \nIn any cases your model will be saved on the server side through the amazon S3 protocol  \n\nTo read back a model  \n\n```python\nCloud.cloudrestore(u\"YOUR MODEL NAME (lowercase only)\") \n```\n\n## Docker build\n\nThe Docker container requires at least 2 CPUs, 4 GB, 4 GB of RAM / Storage. This is due to the fact that it is runs FreeCAD and minio locally.\n\nPlease edit the `start_container` file and add the following data to your relevant server ( the SMTP_SERVER must include the port name -\u003e \u003cmyserver:25 or myserver:587\u003e as an example )\n\n```bash\nexport SMTP_SERVER=\nexport SMTP_PASSWORD=\nexport SMTP_ACCOUNT=\n```\n\nNote: CADCloud requires email validation and needs to be able to send email for testing\n\nTo build the container initial self-signed certificate must be generated the process is described in `build_docker`.\nIf you are on linux or MacOS with openssl tools installed you can use that script straight forward.\n\nThe build process is made in 2 steps due to the fact that CADCloud embedded a specific developer version of FreeCAD 0.19\nsnap released on the Ubuntu snap store as test/beta. That version has the Cloud workbench activated.\n\nAfter the `build_docker` script has been executed start the container with the following command\n\n```bash\ndocker run --privileged --name cadcloud  -p 443:443 cadcloud\n```\n\nThe `-privileged` mode is required to get snap working properly\n\nThen connect to the container through\n\n```bash\ndocker exec -it cadcloud /bin/bash\n```\n\nInvoke the `./start_container` command.  \nNote: it may also  be invoked in background like so: `./start_container\u0026` \n\n`./start_container` will download the snap, install it and make it available to the system. It will also install the latest minio build available. When the\nexecution is done it will spawn the various CADCloud daemons.\n\nYou now will be able to enjoy a local instance of CADCloud! \n\nIf you use chrome, please activate this option, this will allow self signed certificate running from localhost server (your docker image) to be accepted by your browser (copy/paste it within the URL path of your browser)\n\nchrome://flags/#allow-insecure-localhost\n\nIf you use Firefox, just accept to pursue the browsing using an insecure connection.\n\nIn your preferred web browser type: `https://127.0.0.1` in the URL field. \n\nEnjoy, debug and issue PR(s) !\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopencomputeproject%2Fcadcloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopencomputeproject%2Fcadcloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopencomputeproject%2Fcadcloud/lists"}