Difference between revisions of "TechDraw ActiveView"
Jump to navigation
Jump to search
TechDraw
User documentation
(explain Render Mode) |
(Using the menu text in SeeAlso to match with the other pages, although I do not think this is the standard...) |
||
Line 16: | Line 16: | ||
|MenuLocation=TechDraw → Insert Active View (3D View) | |MenuLocation=TechDraw → Insert Active View (3D View) | ||
|Workbenches=[[TechDraw Module|TechDraw]] | |Workbenches=[[TechDraw Module|TechDraw]] | ||
− | |SeeAlso=[[ | + | |SeeAlso=[[TechDraw_Symbol|Insert SVG Symbol]] |
|Version=0.19 | |Version=0.19 | ||
}} | }} |
Revision as of 19:08, 21 November 2020
Menu location |
---|
TechDraw → Insert Active View (3D View) |
Workbenches |
TechDraw |
Default shortcut |
None |
Introduced in version |
0.19 |
See also |
Insert SVG Symbol |
Description
The ActiveView tool inserts a copy of a 3D window into a drawing page.
A simple view from the 3D model that doesn't perform any complex calculation.
Usage
- Navigate to the 3D window you wish to copy.
- If you have multiple drawing pages in your document, you will also need to select the desired page in the tree.
- Press the
Insert Active View button
- 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.
- ActiveView behind the scenes is a
Symbol View. Its DataScale Type is therefore always initialized as Custom.
- This tool is still somewhat Experimental.
Properties
See Symbol
Dialog Fields
- DataWidth: The width of the generated view.
- DataHeight: The height of the generated view.
- DataBorder: The amount of empty space to be left around the view (but within Width x Height).
- DataBackground: Show or hide a background.
- DataBackground Color: Color to paint the background, if applicable.
- DataLine Width: Thickness of individual lines in the view.
- DataRender Mode: The render mode of the library 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
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")
- Pages: Insert Default Page, Insert Page using Template, Redraw Page
- Views: Insert View, Insert Active View, Insert Projection Group, Insert Section View, Insert Detail View, Insert Draft Workbench Object, Insert Arch Workbench Object, Insert Spreadsheet View
- Clips: Insert Clip Group, Add View to Clip Group, Remove View from Clip Group
- Dimensions: New Length, New Horizontal, New Vertical, New Radius, New Diameter, New Angle, New Angle3Pt, New Links, New Balloon
- Decorations: Hatch Face using Image File, Apply Geometric Hatch to Face, Insert SVG Symbol, Insert Bitmap Image, Turn View Frames On/Off
- Annotations: Insert Annotation, Add Leaderline to View, Insert Rich Text Annotation, Add Cosmetic Vertex, Add Midpoint Vertices, Add Quadrant Vertices, Add Centerline to Face(s), Add Centerline between 2 Lines, Add Centerline between 2 Points, Remove Cosmetic Object, Change Appearance of Line(s), Show/Hide Invisible Edges, Add Welding Information to Leader
- Import/Export: Export Page as SVG, Export Page as DXF
- Additional: Preferences; Hatching, LineGroup, Templates; TechDraw API, TechDrawGui API

- 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, Draft, FEM, Image, Inspection, Mesh, OpenSCAD, Part, PartDesign, Path, Points, Raytracing, Reverse Engineering, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web
- Deprecated or unmaintained workbenches: Complete, Drawing, Robot
- Hubs: User hub, Power users hub, Developer hub