The following is a list of meta commands that are used by LeoCAD when saving files in LDraw format. Note that parameters in square brackets are optional and that parameters in angle brackets are required.
Sets the name of the model.
Sets the name of the model’s author.
Sets the description of the model.
Adds a line to the model’s comments section. Multiple lines are allowed and will be appended in the order they appear.
Sets the model’s background to a solid color.
Sets the model’s background to a gradient.
Sets the model’s background to an image file (if “TILE” is specified, the image will be display in its original size and tiled as needed, otherwise it will be stretched to fit the entire view).
Piece commands will apply to the first piece added to the model after they are seen.
Stops showing the piece at a given step.
Hides the piece (can be made visible again by using the “Piece” menu).
Adds a key frame at a given time.
Sets the pivot point of this piece.
Camera commands can be grouped in the same line; they do not need to be on separate lines. A camera must contain either a set of position, target position and up vector or a set of keys for those parameters.
Hides the camera (can be made visible again by using the “Piece” menu).
Sets the camera to use orthographic projection (perspective projection is used by default).
Sets the field of view for the camera (default: 30 degrees).
Sets the distance of the near plane (default: 25).
Sets the distance of the far plane (default: 50000).
Sets the position of the camera.
Sets the target position.
Sets the up vector.
Adds a key frame at a given time.
Creates a new camera with all the parameters listed up to this statement.
All pieces and groups added inside a “GROUP BEGIN” and “GROUP END” block will be added as children of that group (If a group with the same name appears twice in a model, it will be considered the same group).
Marks the end of the current group and will not allow the addition of more pieces and groups (If the current group is part of another group, then the parent group will be the new current group).