Main Menu ========== File ***** New ___ Cleans the canvas, code panel, and Python interpreter's namespace. Open ____ Brings up the open file dialog to open an existing model. Rerun code ___________ Runs the code in the interpreter. If you have added some custom code to the code editor, in some cases resetting from the VCR control cannot initialize the model completely. In these cases you may have to manually reset the system. Save ____ Saves the current model. If the current model does not have a name, brings up the save as dialog. Save As _______ Brings up the save as dialog and saves the current model with the provided name. Quit ____ Exits the application. Edit **** Undo ____ Undoes the last action. Not available if there is no previous action. Redo ____ Restores the last undo action. Not available if there is no previous undo. Cut ___ Used for cutting and pasting text in the code editor. Copy ____ If the model tab is active then used for copying selected :term:`elements ` in the canvas. If the code panel is active then used for copying text. Paste _____ If the model tab is active then used for pasting copied :term:`elements ` in the canvas. If the code panel is active then used for pasting copied text. Delete ______ If the model tab is active used for deleting :term:`elements ` in the canvas. If the code panel is active then used for deleting selected text. Find ____ Brings up the find dialog. From the dialog you can search for text in the code editor. Find Next _________ Searches for the next repetition of the search text. Replace _______ Replaces the Go To _____ Goes to the specified line in the code editor. Select All __________ Selects all text in the code editor. Source Code ___________ Indent Region ------------- Indents the selected lines by one level (4 spaces). Detent Region ------------- Detents the selected lines by one level (4 spaces). View **** Box ____ Hides or shows the :term:`system box`. CG Indicators ______________ Hides or shows the :term:`CG indicators`. Coordinate System __________________ Hides or shows the coordinate system. Grid ______________ Hides or shows the :term:`grid`. Tracking ______________ Turns the :term:`tracking` on or off. Transparency ______________ Turns the transparency on or off. Show ______________ From this menu you can select the object type to show. All hidden objects with the selected type becomes visible again. Hide ______________ From this menu you can select the object type to hide. All objects with the selected type becomes hidden. Zoom _______ Zoom in -------- Zooms in by the *canvas.zoomFactor*. Center point of the canvas stays in the same position. Zoom out -------- Zooms out by *canvas.zoomFactor*. Center point of the canvas stays in the same position. Fit to Screen ------------- Changes the canvas scale factor so that all :term:`elements ` in the system can be viewed at the same time. Original Size --------------- Changes the canvas scale factor to 1. Code Editor ____________ End of line characters ---------------------- Displays or hides the end of line characters in the code editor. Indentation guides ------------------- Displays or hides the indentation guides in the code editor. White space ------------ Displays or hides the white space in the code editor. Object ****** Assign Behavior _______________ Brings up the behavior dialog. There needs to be only one selected object so that the specified behavior can be bound to it. Same dialog can be brought up by double-clicking on an object. Set Sprite ___________ Brings up a list of existing :term:`sprites ` in the system so that selected sprite can be assigned to the selected object in the canvas. Set Texture ___________ Brings up a list of existing :term:`textures ` in the system so that selected texture can be assigned to the selected object in the canvas. Flip Sprite Left/Right ______________________ Changes the selected object's horizontal sprite orientation. Activate/Deactivate ___________________ Deactivates or activates the selected objects. Inactive objects are visible but do not move or interact with other objects while the :term:`solver` is running. Show/Hide __________ Makes the selected objects visible or hidden. Show/Hide CG ____________ Shows or hides the :term:`CG indicators` of the selected rigid bodies. Show/Hide tag _______________ Shows or hides the selected elements :term:`tags `. Show/Hide accel. vector _______________________ Rigid bodies' :term:`acceleration` can be visualized while the :term:`solver` is running. From this menu, acceleration arrows can be turned on or off. Show/Hide velocity vector ___________________________ Rigid bodies' :term:`velocity` can be visualized while the :term:`solver` is running. From this menu, velocity arrows can be turned on or off. Bring forward ______________ When the objects overlap, the object created the latest is shown on top (:term:`Z order`). From this menu, the selected object's Z order is increased by one level. Bring to front ______________ When the objects overlap, the object created the latest is shown on top (:term:`Z order`). From this menu, the selected object can be brought to the top of the Z order. Send backward ______________ When the objects overlap, the object created the latest is shown on top (:term:`Z order`). From this menu, the selected object's Z order is decreased by one level. Send to back _____________ When the objects overlap, the object created the latest is shown on top (:term:`Z order`). From this menu, the selected object can be send to the bottom of the Z order. Flip Left/Right _______________ Flip Up/Down ____________ Never collide _____________ Assembly ********* Create ______ Creates an :term:`assembly` from the selected elements. There needs to be at least two selected elements. Disassemble _____________ Dissassembles the selected :term:`assembly`. Delete _______ Deletes the selected :term:`assembly` and its :term:`components ` Output ******** Video Format ____________ MPEG ---- When the *MPEG* video output option is selected Mekanimo records the video in MPEG format. To see how to record video please see :ref:`recording_video`. Animated GIF ------------ When the *Animated GIF* video output option is selected Mekanimo records the video in animated GIF format. To see how to record video please see :ref:`recording_video`. Sequence of pics. ----------------- When the *Sequence of Pictures* video output option is selected Mekanimo saves each :term:`time step` as a JPEG picture. To see how to record video please see :ref:`recording_video`. Examples ********* Mekanimo comes with several example models. You can open these examples and run them or study the code. Programming reference refers to these examples to clarify some subjects. Settings ********* Background Color ________________ Brings up a color picker dialog. The color you pick from this dialog becomes the canvas background color. System-Box Color ________________ Brings up a color picker dialog. The color you pick from this dialog becomes the :term:`System box ` color. Snap to Grid ____________ Turns snap to grid option on or off. ID Help ________ Zero Gravity _____________ Sets the zero gravity option *True* or *False*. When the system.zeroGravity is True then there is no gravity and consequently objects do not fall. Random colored bodies _____________________ Sets the canvas.randomColors option *True* or *False*. When this option is True each new rigid body's fill color is randomly picked. Window ******** Object Tree ___________ Displays or hides the :term:`object tree` window. Python Interpreter ____________________ Displays or hides the :term:`Python interpreter` window. Construction Tools ____________________ Displays or hides the :term:`construction tools` window. GUI Editor ____________________ Displays or hides the :term:`GUI editor` window. User Controls ___________________ Displays or hides the :term:`user controls` window. Colors ____________ Displays or hides the :term:`color box` window. Toolbars __________ File ---- VCR ---- Counter ------- Run speed ---------- Shortcuts ----------- Help ******** Quick Help __________ Tutorials _________ API Reference _____________ Credits ________ About ______