feat: add extruder drive mode with grip-force and gear presets - #152
Open
robertsamples wants to merge 5 commits into
Open
feat: add extruder drive mode with grip-force and gear presets#152robertsamples wants to merge 5 commits into
robertsamples wants to merge 5 commits into
Conversation
Adds a second drive mode for simulating extruder motors alongside the existing gantry/toolhead mode, selectable via a radio toggle.
…u, add attribution Added new view option for extruder mode that shows print speed on x axis with two boxes that allow extrusion width and layer height to be set, also added the speed at current x axis position in graph hover menu, as well as added my github in attributions for extruder mode
better labelling
Setting for boombox uses 8mm nominal hob with ungeared extruder doubles nominal torque output. I didn't do anything special with speed derating function to account for increased filament contect from double drive gears, unclear if this is perfect but with LDO 42STH40-2004MAH gets just over 1000 mm/s max print speed on a 0.4 nozzle 0.2 mm layer height which feels like the right value.
|
The preview deployment for app is ready. 🟢 Open Preview | Open Build Logs | Open Application Logs Last updated at: 2026-06-21 22:13:39 CET |
forgot to set a default value
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a second drive mode for simulating extruder motors alongside the existing gantry/toolhead mode, selectable via a radio toggle. Example below shows new features with orbiter 2 drivetrain selected for three motors
Extruder settings
Speed derating
Non-derated numbers are more relevant for extruder retraction, but as is numbers greatly overestimate actual extruder performance, likely due the nature of extrusion being a sustained direct load instead of an inertial one. So an optional speed derating factor (on by default) treats the requested speed as closer to the motor's real ceiling than the naive electrical model assumes.
A secondary correction scales the derating by gear-filament interface length (scaling can be modelled from sqrt(diameter / 10mm) ), since a larger drive gear gives more leverage per motor revolution and needs less correction. The reference point and 90% derating factor were tuned to roughly track the real-world extruder behavior documented in Orbiter's extruder benchmark (https://www.orbiterprojects.com/a-benchmark-of-extruders/), rather than the idealized voltage-limited cliff alone.