{"id":22090661,"url":"https://github.com/remcoder/gcode-temp-tweaker","last_synced_at":"2025-03-23T23:23:33.440Z","repository":{"id":45743406,"uuid":"373921057","full_name":"remcoder/gcode-temp-tweaker","owner":"remcoder","description":"Inject temp commands (m104) to adjust temp according to the volumetric flow rate per layer","archived":false,"fork":false,"pushed_at":"2023-02-02T17:34:43.000Z","size":4111,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-29T06:32:14.592Z","etag":null,"topics":["3d-printing","gcode-conversion","gcode-processing"],"latest_commit_sha":null,"homepage":"https://gcode-temp-tweaker.firebaseapp.com/","language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/remcoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-06-04T17:52:51.000Z","updated_at":"2022-06-08T12:52:06.000Z","dependencies_parsed_at":"2025-01-29T06:29:26.776Z","dependency_job_id":"d1950109-cb43-4c13-91ab-4ccd591c752f","html_url":"https://github.com/remcoder/gcode-temp-tweaker","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/remcoder%2Fgcode-temp-tweaker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remcoder%2Fgcode-temp-tweaker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remcoder%2Fgcode-temp-tweaker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remcoder%2Fgcode-temp-tweaker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/remcoder","download_url":"https://codeload.github.com/remcoder/gcode-temp-tweaker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245182940,"owners_count":20573936,"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":["3d-printing","gcode-conversion","gcode-processing"],"created_at":"2024-12-01T02:17:11.081Z","updated_at":"2025-03-23T23:23:33.409Z","avatar_url":"https://github.com/remcoder.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GCode temp tweaker\n\nSometimes, layers are so small that they need to be printed more slowly so the layer has time to cool down. But slowing down the feedrate causes the filament to be cooked inside the nozzle. This tool will process the gcode, calculate the overall volumetric flow rate per layer and adjust the temp accordingy. This is achieved by injecting temp commands (M104) in to the gcode. \n\n## How it works\n - go to https://gcode-temp-tweaker.firebaseapp.com/\n - drop a gcode file into the rectangular box\n \u003cimg width=\"612\" alt=\"image\" src=\"https://user-images.githubusercontent.com/461650/172624191-a7f24f72-d9a5-4b97-9f4a-d44515d9a692.png\"\u003e\n - set the minimum and maximum temp you want to vary between\n\u003cimg width=\"385\" alt=\"image\" src=\"https://user-images.githubusercontent.com/461650/172624959-842126b1-8eb3-4b4e-afa5-375a260b4f0d.png\"\u003e\n\n - notice the table that reports the temp changes that will be injected\n \u003cimg width=\"579\" alt=\"image\" src=\"https://user-images.githubusercontent.com/461650/172625205-a571b3b8-7054-458b-9f69-968f9cc93a9d.png\"\u003e\n\n - download the resulting gcode!\n\n\n## Know issues\n - the absolute extrusion speed are off (but the resulting temp changes, which are based on relative speed changes, are surely usable)\n\n## Running locally\n\nInstall the dependencies...\n\n```bash\nnpm install\n```\n\n...then start [Rollup](https://rollupjs.org):\n\n```bash\nnpm run dev\n```\n\nNavigate to [localhost:5000](http://localhost:5000). You should see your app running. \n\nBy default, the server will only respond to requests from localhost. To allow connections from other computers, edit the `sirv` commands in package.json to include the option `--host 0.0.0.0`.\n\n\n\n## Building and running in production mode\n\nTo create an optimised version of the app:\n\n```bash\nnpm run build\n```\n\nYou can run the newly built app with `npm run start`. This uses [sirv](https://github.com/lukeed/sirv), which is included in your package.json's `dependencies` so that the app will work when you deploy to platforms like [Heroku](https://heroku.com).\n\n\n## Single-page app mode\n\nBy default, sirv will only respond to requests that match files in `public`. This is to maximise compatibility with static fileservers, allowing you to deploy your app anywhere.\n\nIf you're building a single-page app (SPA) with multiple routes, sirv needs to be able to respond to requests for *any* path. You can make it so by editing the `\"start\"` command in package.json:\n\n```js\n\"start\": \"sirv public --single\"\n```\n\n## Using TypeScript\n\nThis template comes with a script to set up a TypeScript development environment, you can run it immediately after cloning the template with:\n\n```bash\nnode scripts/setupTypeScript.js\n```\n\nOr remove the script via:\n\n```bash\nrm scripts/setupTypeScript.js\n```\n\n## Deploying to the web\n\n### With [Vercel](https://vercel.com)\n\nInstall `vercel` if you haven't already:\n\n```bash\nnpm install -g vercel\n```\n\nThen, from within your project folder:\n\n```bash\ncd public\nvercel deploy --name my-project\n```\n\n### With [surge](https://surge.sh/)\n\nInstall `surge` if you haven't already:\n\n```bash\nnpm install -g surge\n```\n\nThen, from within your project folder:\n\n```bash\nnpm run build\nsurge public my-project.surge.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremcoder%2Fgcode-temp-tweaker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremcoder%2Fgcode-temp-tweaker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremcoder%2Fgcode-temp-tweaker/lists"}