Part Offset2D: Difference between revisions
(initial text, unfinished) |
No edit summary |
||
Line 2: | Line 2: | ||
{{GuiCommand|Name=Part Offset2D|MenuLocation=Part → 2D Offset|Workbenches=[[Part Module|Part]]|SeeAlso=[[Part_Offset|Part_Offset]], [[Part_Thickness|Part Thickness]], [[Draft_Offset|Draft Offset]]}} |
{{GuiCommand|Name=Part Offset2D|MenuLocation=Part → 2D Offset|Workbenches=[[Part Module|Part]]|SeeAlso=[[Part_Offset|Part_Offset]], [[Part_Thickness|Part Thickness]], [[Draft_Offset|Draft Offset]]}} |
||
[[image:Part Offset2D Demo.png|600px]] |
|||
...UNDER CONSTRUCTION... |
...UNDER CONSTRUCTION... |
Revision as of 22:52, 28 March 2017
Part Offset2D |
Menu location |
---|
Part → 2D Offset |
Workbenches |
Part |
Default shortcut |
None |
Introduced in version |
- |
See also |
Part_Offset, Part Thickness, Draft Offset |
...UNDER CONSTRUCTION...
Description
Part 2D Offset constructs a wire, parallel to the original wire, at a certain distance from it. Or enlarges/shrinks a planar face, similarly.
The wire/face must be planar. There can be multiple wires in one object.
How to use
- Select an object to offset
- Invoke Part Offset2D command.
- Set up the offset in Task Panel, and accept the dialog.
A 2D Offset parametric object is created. Original objects are switched to wireframe display mode.
Properties
Offset
- DataValue: The distance to enlarge the wire/face by. If negative, the wire/face is shrunk instead.
...
Scripting
The tool can by used in macros and from the python console by using the following function:
f = App.ActiveDocument.addObject("Part::Offset2D", "Offset2D")
2D offset is also available as a method of Part.Shape:
Part.Circle().makeOffset2D(distance, ...)
Version
The tool was introduced in FreeCAD v0.17.???. Most of non-default modes will only work with OCC 7.0.0 or later.