TechDraw ActiveView: Difference between revisions
(Using the menu text in SeeAlso to match with the other pages, although I do not think this is the standard...) |
No edit summary |
||
(39 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
<translate> |
<translate> |
||
<!--T:19--> |
<!--T:19--> |
||
{{Docnav |
{{Docnav |
||
|[[TechDraw_BrokenView|BrokenView]] |
|||
|[[TechDraw_View|Insert View]] |
|||
|[[TechDraw_ProjectionGroup| |
|[[TechDraw_ProjectionGroup|ProjectionGroup]] |
||
|[[ |
|[[TechDraw_Workbench|TechDraw]] |
||
|IconL= |
|IconL=TechDraw_BrokenView.svg |
||
⚫ | |||
|IconR=TechDraw_ProjectionGroup.svg |
|IconR=TechDraw_ProjectionGroup.svg |
||
⚫ | |||
}} |
}} |
||
Line 14: | Line 15: | ||
{{GuiCommand |
{{GuiCommand |
||
|Name=TechDraw ActiveView |
|Name=TechDraw ActiveView |
||
|MenuLocation=TechDraw → Insert Active View (3D View) |
|MenuLocation=TechDraw → Views From Other Workbenches → Insert Active View (3D View) |
||
|Workbenches=[[ |
|Workbenches=[[TechDraw_Workbench|TechDraw]] |
||
|SeeAlso=[[TechDraw_Symbol|Insert SVG Symbol]] |
|||
|Version=0.19 |
|Version=0.19 |
||
|SeeAlso=[[TechDraw_Image|TechDraw Image]] |
|||
}} |
}} |
||
Line 23: | Line 24: | ||
<!--T:10--> |
<!--T:10--> |
||
The ActiveView tool inserts a |
The '''TechDraw ActiveView''' tool inserts a bitmap image of the active 3D window into a drawing page. |
||
</translate> |
</translate> |
||
[[File:TechDraw_ActiveView_example.png]] |
[[File:TechDraw_ActiveView_example.png]] |
||
<translate> |
<translate> |
||
<!--T:21--> |
<!--T:21--> |
||
{{Caption|A simple view from the 3D model |
{{Caption|A simple view from the 3D model.}} |
||
==Usage== <!--T:3--> |
==Usage== <!--T:3--> |
||
<!--T:12--> |
<!--T:12--> |
||
# Navigate to the 3D |
# Navigate to the correct [[3D_view|3D view]]. |
||
# If |
# If there are multiple drawing pages in the document: optionally select the desired page in the [[Tree_view|Tree view]]. |
||
# There are several ways to invoke the tool: |
|||
# Press the {{Button|[[Image: |
#* Press the {{Button|[[Image:TechDraw_ActiveView.svg|16px]] [[TechDraw_ActiveView|Insert Active View (3D View)]]}} button. |
||
# A dialog will open to allow you to specify the size, border and background color of the copy. |
|||
#* Select the {{MenuCommand|TechDraw → Views From Other Workbenches → [[Image:TechDraw_ActiveView.svg|16px]] Insert Active View (3D View)}} option from the menu. |
|||
# If there are multiple drawing pages in the document and you have not yet selected a page, the {{MenuCommand|Page Chooser}} dialog box opens: {{Version|0.20}} |
|||
## Select the desired page. |
|||
## Press the {{Button|OK}} button. |
|||
# The {{MenuCommand|ActiveView to TD View}} task panel opens. See [[#Options|Options]] for more information. |
|||
# Press the {{Button|OK}} button. |
|||
⚫ | |||
⚫ | |||
The following can be specified: |
|||
⚫ | |||
⚫ | |||
⚫ | |||
* {{MenuCommand|Height}}: The height (in mm) to crop the generated view. |
|||
* {{MenuCommand|No Background}}: If checked, the generated bitmap will have a transparent background. |
|||
* {{MenuCommand|Solid Background}}: If checked, the generated will have a background of the selected color. |
|||
* {{MenuCommand|Use 3d Background}}: If checked, the generated bitmap will use the background from the 3D window. |
|||
== Notes == <!--T:7--> |
== Notes == <!--T:7--> |
||
<!--T:13--> |
<!--T:13--> |
||
* |
* ActiveViews are static once generated, they are never updated with changes to the 3D model. |
||
* ActiveView behind the scenes is |
* An ActiveView behind the scenes is an [[TechDraw_Image|Image]]. Its {{PropertyData|Scale Type}} is therefore always initialized as {{Value|Custom}}. |
||
* In {{VersionMinus|0.20}} ActiveView was a [[TechDraw_Symbol|Symbol]]. |
|||
* This tool is still somewhat '''Experimental'''. |
|||
==Properties== <!--T:5--> |
==Properties== <!--T:5--> |
||
<!--T:22--> |
<!--T:22--> |
||
See [[ |
See [[TechDraw_Image#Properties|TechDraw Image]]. |
||
=== Dialog Fields === <!--T:14--> |
|||
⚫ | |||
⚫ | |||
* {{PropertyData|Border}}: The amount of empty space to be left around the view (but within Width x Height). |
|||
* {{PropertyData|Background}}: Show or hide a background. |
|||
* {{PropertyData|Background Color}}: Color to paint the background, if applicable. |
|||
* {{PropertyData|Line Width}}: Thickness of individual lines in the view. |
|||
* {{PropertyData|Render Mode}}: The [https://grey.colorado.edu/coin3d/classSoRenderManager.html#a4b8d99cff0fd91e31bc2c5d33610f6eb render mode] of the library [https://en.wikipedia.org/wiki/Coin3D Coin3d]. The possible modes are |
|||
** '''AS_IS''' Render primitives as they are |
|||
** '''WIREFRAME''' Render polygons as wireframe |
|||
** '''POINTS''' Render only the vertices of the polygons and lines |
|||
** '''WIREFRAME_OVERLAY''' Render a wireframe overlay in addition to the '''AS_IS''' mode |
|||
** '''HIDDEN_LINE''' As '''WIREFRAME''', but culls lines which would otherwise not be shown due to geometric culling |
|||
** '''BOUNDING_BOX''' Only show the bounding box of each object |
|||
⚫ | |||
⚫ | |||
{{Emphasis|See also:}} [[TechDraw API|TechDraw API]] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]]. |
|||
⚫ | |||
The ActiveView tool can be used in [[macros|macros]] and from the [[Python|Python]] console by using the following functions: |
|||
</translate> |
|||
{{Code|code= |
|||
import TechDrawGui |
|||
TechDrawGui.copyActiveViewToSvgFile(Gui.ActiveDocument.ActiveView,"myFile.svg") |
|||
}} |
|||
<translate> |
|||
<!--T:20--> |
<!--T:20--> |
||
{{Docnav |
{{Docnav |
||
|[[TechDraw_BrokenView|BrokenView]] |
|||
|[[TechDraw_View|Insert View]] |
|||
|[[TechDraw_ProjectionGroup| |
|[[TechDraw_ProjectionGroup|ProjectionGroup]] |
||
|[[ |
|[[TechDraw_Workbench|TechDraw]] |
||
|IconL= |
|IconL=TechDraw_BrokenView.svg |
||
⚫ | |||
|IconC=Workbench_TechDraw.svg |
|IconC=Workbench_TechDraw.svg |
||
⚫ | |||
}} |
}} |
||
Line 95: | Line 85: | ||
{{TechDraw Tools navi{{#translation:}}}} |
{{TechDraw Tools navi{{#translation:}}}} |
||
{{Userdocnavi{{#translation:}}}} |
{{Userdocnavi{{#translation:}}}} |
||
{{clear}} |
Latest revision as of 09:26, 8 April 2024
TechDraw ActiveView |
Menu location |
---|
TechDraw → Views From Other Workbenches → Insert Active View (3D View) |
Workbenches |
TechDraw |
Default shortcut |
None |
Introduced in version |
0.19 |
See also |
TechDraw Image |
Description
The TechDraw ActiveView tool inserts a bitmap image of the active 3D window into a drawing page.
A simple view from the 3D model.
Usage
- Navigate to the correct 3D view.
- If there are multiple drawing pages in the document: optionally select the desired page in the Tree view.
- There are several ways to invoke the tool:
- Press the Insert Active View (3D View) button.
- Select the TechDraw → Views From Other Workbenches → Insert Active View (3D View) option from the menu.
- If there are multiple drawing pages in the document and you have not yet selected a page, the Page Chooser dialog box opens: introduced in version 0.20
- Select the desired page.
- Press the OK button.
- The ActiveView to TD View task panel opens. See Options for more information.
- Press the OK button.
Options
The following can be specified:
- Crop: Crop the generated bitmap.
- Width: The width (in mm) to crop the generated view.
- Height: The height (in mm) to crop the generated view.
- No Background: If checked, the generated bitmap will have a transparent background.
- Solid Background: If checked, the generated will have a background of the selected color.
- Use 3d Background: If checked, the generated bitmap will use the background from the 3D window.
Notes
- ActiveViews are static once generated, they are never updated with changes to the 3D model.
- An ActiveView behind the scenes is an Image. Its DataScale Type is therefore always initialized as
Custom
. - In version 0.20 and below ActiveView was a Symbol.
Properties
See TechDraw Image.
TechDraw
- Pages: Insert Default Page, Insert Page using Template, Redraw Page, Print All Pages
- Views: Insert View, Insert Active View, Insert Projection Group, Insert Section View, Insert Complex Section View, Insert Detail View, Insert Draft Workbench Object, Insert Arch Workbench Object, Insert Spreadsheet View, Insert Clip Group, Share View, Project Shape
- Stacking: Move view to top of stack, Move view to bottom of stack, Move view up one level, Move view down one level
- Decorations: Hatch Face using Image File, Apply Geometric Hatch to Face, Insert SVG Symbol, Insert Bitmap Image, Turn View Frames On/Off
- Dimensions: Insert Length Dimension, Insert Horizontal Dimension, Insert Vertical Dimension, Insert Radius Dimension, Insert Diameter Dimension, Insert Angle Dimension, Insert 3-Point Angle Dimension, Insert Horizontal Extent Dimension, Insert Vertical Extent Dimension, Link Dimension to 3D Geometry, Insert Balloon Annotation, Insert Axonometric Length Dimension, Insert Landmark Dimension, Adjust Geometric References of Dimension
- Annotations: Insert Annotation, Add Leaderline to View, Insert Rich Text Annotation, Add Cosmetic Vertex, Add Midpoint Vertices, Add Quadrant Vertices, Add Centerline to Faces, Add Centerline between 2 Lines, Add Centerline between 2 Points, Add Cosmetic Line Through 2 points, Add Cosmetic Circle, Change Appearance of Lines, Show/Hide Invisible Edges, Add Welding Information to Leader, Add Surface Finish Symbol, Add Hole or Shaft Tolerances
- Extensions:
- Attributes and modifications: Select Line Attributes, Cascade Spacing and Delta Distance, Change Line Attributes, Extend Line, Shorten Line, Lock/Unlock View, Position Section View, Position Horizontal Chain Dimensions, Position Vertical Chain Dimensions, Position Oblique Chain Dimensions, Cascade Horizontal Dimensions, Cascade Vertical Dimensions, Cascade Oblique Dimensions, Calculate the area of selected faces, Calculate the arc length of selected edges, Customize format label
- Centerlines and threading: Add Circle Centerlines, Add Bolt Circle Centerlines, Add Cosmetic Thread Hole Side View, Add Cosmetic Thread Hole Bottom View, Add Cosmetic Thread Bolt Side View, Add Cosmetic Thread Bolt Bottom View, Add Cosmetic Intersection Vertex(es), Add an offset vertex, Add Cosmetic Circle, Add Cosmetic Arc, Add Cosmetic Circle 3 Points, Add Cosmetic Parallel Line, Add Cosmetic Perpendicular Line
- Dimensions: Create Horizontal Chain Dimensions, Create Vertical Chain Dimensions, Create Oblique Chain Dimensions, Create Horizontal Coordinate Dimensions, Create Vertical Coordinate Dimensions, Create Oblique Coordinate Dimensions, Create Horizontal Chamfer Dimension, Create Vertical Chamfer Dimension, Create Arc Length Dimension, Insert '⌀' Prefix, Insert '〼' Prefix, Remove Prefix, Increase Decimal Places, Decrease Decimal Places
- Export: Export Page as SVG, Export Page as DXF
- Additional: Line Groups, Templates, Hatching, Geometric dimensioning and tolerancing, Preferences
User documentation
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub