Skip to content

Conversation

@gommzystudio
Copy link

This PR introduces a new configuration option cli_safe_params (default: true) which controls whether the CLI applies built-in safety limits to machine parameters such as acceleration.

Motivation:
Power users may want to apply custom values beyond the default safety limits (e.g., machine_max_acceleration_x = 12000) for experimental or performance-driven use cases.
Until now, the CLI forcibly clamped such values (e.g., to 6000) even if they were explicitly set in machine.json.

What this adds:
• New config entry cli_safe_params (type: bool)
• When set to false, the CLI will skip the safety check and use the values defined in config files as-is.
• Default behavior remains unchanged to protect less experienced users.

Example usage:
BambuStudio --cli_safe_params=false --load machine.json --load process.json --export_gcode

Use new cli_safe_params option
add new param definition
@lanewei120 lanewei120 self-requested a review May 30, 2025 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant