This is a list of meta commands used by LeoCAD when saving files in LDraw format. Parameters in square brackets are optional and 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, it can be made visible again 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 don't 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, it can be made visible again using the Piece menu.
Sets the camera to use an orthographic projection, if not present it will use a perspective projection.
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.
Creates a new group if a group with the same name doesn't exist already and makes all pieces and groups added before the next END command a part of this group.
Marks the end of the current group, pieces and groups will not be added to it anymore. If the current group is part of another group then the parent group will be the new current group.