Macro Screen Wiki

Description
This macro allows the user save the 3D view in a desired format. The 3D view or the full 3D window of FreeCAD takes the desired dimensions. A rotation of the selected object or of the 3D view is possible to give a rotation angle the number of images is calculated automatically it is possible to give a departure angle and an arrival angle. You must use another Gimp example program to assemble the images and create the animated file.





Definition

 * 1) 400x200
 * 2) 600x400 (Default)
 * 3) 1024x768
 * 4) 320x240
 * 5) 320x480
 * 6) 400x300
 * 7) 480x360
 * 8) 640x480
 * 9) 768x576
 * 10) 800x600
 * 11) 960x720
 * 12) 1024x768

Format image

 * 1) Length (Default: 600 px)
 * 2) Height (Default: 400 px)

Window

 * 1) Window FC : The complete FreeCAD window
 * 2) Screen 3D : The 3D view of FreeCAD

Background Color

 * 1) Current (Default)
 * 2) Color
 * 3) Transparent

Command

 * Docked window
 * Fly window
 * Save the image ex: (the _000 is incremented with each new image)
 * After saving the first image, press this button to save the next image with the same name. The images saved is incremented ex:, , , etc...
 * ___Screen_Wiki end__________
 * Access to the rotation menu (the title of the section "Image options" change to "Rotation options"

Rotation on

 * 1) 3D View: The complete view is rotated
 * 2) Object: The object selected is rotated

Axis

 * X: Rotation on X axis
 * Y: Rotation on Y axis
 * Z: Rotation on Z axis
 * D: Rotation on Direction.
 * To use this option: select first the object, then afterwards select the wire guideline. If is checked and no wire is selected the direction is

Point Rotation BoundBox

 * 1) Object: Rotation on the BoundBox center of the object selected
 * 2) Sub Object: Rotation on the BoundBox center of the sub object selected

Angles

 * Angle Rotation
 * Decrease the value by 10 degrees
 * 1) Degrees: Value
 * Increase the value by 10 degrees
 * Number images: The number image saved with the values given is calculated (approximation + 1)
 * Angle Start Rotation
 * Decrease the value by 10 degrees
 * 1) Degrees: Value: Angle of the starting rotation
 * Increase the value by 10 degrees
 * Angle End Rotation
 * Decrease the value by 10 degrees
 * 1) Degrees: Value: Angle of the end rotation
 * Increase the value by 10 degrees

Command

 * Delay between 2 images
 * 1) Delay second: If there is a problem saving images due to speed, then add a delay of X seconds.
 * 2) Reverse: Checked, this option reverses the rotation 3D view or Object
 * 3) Original position: This option restores the original position of the 3D View or the Object rotated. Instead fo the 3D view or the Object staying in the last position of the rotation.
 * Save the animation

Examples










Versions
Version=0.01: 2020/03/21