Macro Screen Wiki/ru

Описание
Данный макрос позволяет пользователю сохранить 3D-вид в нужном формате. Окно 3D-вида FreeCAD принимает нужные размеры. При повороте выбранного объекта или 3D-изображения можно задать угол поворота. Количество изображений рассчитывается автоматически, можно задать начальный и конечный угол. Для создания анимированного файла вы должны использовать дополнительную программу для сборки изображений например Gimp.





Definition

 * 1) (По умолчанию)
 * 1) (По умолчанию)

Format image

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

Окно

 * : The complete FreeCAD window
 * : The 3D view of FreeCAD

Цвет Фона

 * 1) (Default)

Команды

 * 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:, , , [[Image:Macro_Screen_Wiki_ToolBar_04_4b.png]] etc...
 * Save one new image without change the counter
 * Access to the rotation menu (the title of the section "Image options" change to "Rotation options"
 * ___Screen_Wiki end__________
 * Reduce the image window in a toolBar, the option is not available in this mode
 * 1) [[Image:Macro_Screen_Wiki_ToolBar_01.png]][[Image:Macro_Screen_Wiki_ToolBar_02.png]][[Image:Macro_Screen_Wiki_ToolBar_03.png]][[Image:Macro_Screen_Wiki_ToolBar_04.png]]
 * 2) The button Flip/Flop Y/N the mini toolBar [[Image:Macro_Screen_Wiki_ToolBar_Mini.png]]

Rotation on

 * The complete view is rotated
 * The object selected is rotated

Axis

 * Rotation on X axis
 * Rotation on Y axis
 * Rotation on Z axis
 * 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

Углы

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

Command

 * Delay between 2 images
 * : If there is a problem saving images due to speed, then add a delay of X seconds.
 * Checked, this option reverses the rotation 3D view or Object
 * 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

Примеры










Версии
Version=00.05: 2021/05/21 : adding code in Save file section for Linux Mint QFileDialog ignore the extension. Only the Path+name is displayed

Version=00.04: 2021/01/13 : adding mini ToolBar

Version=0.03: 2020/10/30 : create a tool bar for the image and new button for unique image

Version=0.02: 2020/05/04 : correct bug color button (self.PB_01_Color obsolete)

Version=0.01: 2020/03/21