TechDraw ActiveView/fr: Difference between revisions

From FreeCAD Documentation
(Created page with "L'outil ActiveView insère une copie d'une fenêtre 3D dans une page de dessin.")
(Created page with "{{Caption|Une vue simple du modèle 3D qui n'effectue aucun calcul complexe.}}")
Line 25: Line 25:
[[File:TechDraw_ActiveView_example.png]]
[[File:TechDraw_ActiveView_example.png]]


{{Caption|A simple view from the 3D model that doesn't perform any complex calculation.}}
{{Caption|Une vue simple du modèle 3D qui n'effectue aucun calcul complexe.}}


==How to use==
==How to use==

Revision as of 20:05, 15 October 2019

Other languages:

Template:Commando

Description

L'outil ActiveView insère une copie d'une fenêtre 3D dans une page de dessin.

Une vue simple du modèle 3D qui n'effectue aucun calcul complexe.

How to use

  1. Navigate to the 3D window you wish to copy.
  2. If you have multiple drawing pages in your document, you will also need to select the desired page in the tree.
  3. Press the File:Techdraw-activeview.svg ActiveView button
  4. A dialog will open to allow you to specify the size, border and background color of the copy.

Notes

  • Active views are static once generated, they are never updated with changes to the 3D model.
  • This tool is still somewhat Experimental.

Properties

see File:Techdraw-symbol.svg Symbol


Dialog Fields

  • DonnéesWidth: The width of the generated view.
  • DonnéesHeight: The height of the generated view.
  • DonnéesBorder: The amount of empty space to be left around the view (but within Width x Height).
  • DonnéesBackground: Show or hide a background.
  • DonnéesBackground Color: Color to paint the background, if applicable.
  • DonnéesLine Width: Thickness of individual lines in the view.
  • DonnéesRender Mode: Various special effects. See Coin3d SoRenderManager for details.

Scripting

See also: TechDraw API and FreeCAD Scripting Basics.

The ActiveView tool can be used in macros and from the Python console by using the following functions:

import TechDrawGui
TechDrawGui.copyActiveViewToSvgFile(Gui.ActiveDocument.ActiveView,"myFile.svg")