Forrest logo
back to the openscad tool

openscad:ai:04dea

in openscad cli how do i use put commands into the -D option
$ openscad -D 'variable_name=variable_value' input_file.scad -o output_file.stl
try on your machine

Use the -D option followed by the variable assignment to define a variable in the openscad command line interface

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • in openscad cli how do i use put commands into the -D option?
back to the openscad tool