Std LinkReplace: Difference between revisions
(→Description: The inverse operation is Std LinkUnlink) |
mNo edit summary |
||
(11 intermediate revisions by 5 users not shown) | |||
Line 2: | Line 2: | ||
<translate> |
<translate> |
||
<!--T:16--> |
|||
{{Docnav |
|||
|[[Std_LinkMakeRelative|LinkMakeRelative]] |
|||
|[[Std_LinkUnlink|LinkUnlink]] |
|||
|[[Std_Base|Std Base]] |
|||
|IconL=Std_LinkMakeRelative.svg |
|||
|IconR=Std_LinkUnlink.svg |
|||
|IconC=Freecad.svg |
|||
⚫ | |||
<!--T:1--> |
|||
{{GuiCommand |
{{GuiCommand |
||
|Name=Std LinkReplace |
|Name=Std LinkReplace |
||
Line 10: | Line 21: | ||
}} |
}} |
||
== Description == |
== Description == <!--T:2--> |
||
<!--T:3--> |
|||
{{Button|[[File:Std_LinkReplace.svg|16px]] [[Std_LinkReplace|Std LinkReplace]]}} replaces an object that is inside another for an [[App_Link|App Link]] version of the former. |
{{Button|[[File:Std_LinkReplace.svg|16px]] [[Std_LinkReplace|Std LinkReplace]]}} replaces an object that is inside another for an [[App_Link|App Link]] version of the former. |
||
<!--T:4--> |
|||
This operation acts on the "children" of a "parent" object as seen in the [[tree_view|tree view]]. For example, given two objects (A and B) that participate in a [[File:Part_Boolean.svg| |
This operation acts on the "children" of a "parent" object as seen in the [[tree_view|tree view]]. For example, given two objects (A and B) that participate in a {{Button|[[File:Part_Boolean.svg|16px]] [[Part_Boolean|Part Boolean]]}} operation, say, <code>C = A + B</code>, the A object can be replaced by a Link, so that <code>C = A_link + B</code>. |
||
<!--T:5--> |
|||
This operation can be done to replace nested objects that are in a complex [[assembly|assembly]] for a Link, which may be more efficient if that nested object is used many times in different sub-assemblies. The inverse operation is {{Button|[[File:Std_LinkUnlink.svg|16px]] [[Std_LinkUnlink|Std LinkUnlink]]}}. To create a generic Link see {{Button|[[File:Std_LinkMake.svg|16px]] [[Std_LinkMake|Std LinkMake]]}}. |
This operation can be done to replace nested objects that are in a complex [[assembly|assembly]] for a Link, which may be more efficient if that nested object is used many times in different sub-assemblies. The inverse operation is {{Button|[[File:Std_LinkUnlink.svg|16px]] [[Std_LinkUnlink|Std LinkUnlink]]}}. To create a generic Link see {{Button|[[File:Std_LinkMake.svg|16px]] [[Std_LinkMake|Std LinkMake]]}}. |
||
== Usage == |
== Usage == <!--T:6--> |
||
<!--T:7--> |
|||
# Make sure you have one object that is inside another one. For example, consider that a {{Button|[[File:Part_Fuse.svg|16px]] [[ |
# Make sure you have one object that is inside another one. For example, consider that a {{Button|[[File:Part_Fuse.svg|16px]] [[Part_Fuse|Part Fuse]]}} was used with two previously created objects, a {{Button|[[File:Part_Sphere.svg|16px]] [[Part_Sphere|Part Sphere]]}} and a {{Button|[[File:Part_Cylinder.svg|16px]] [[Part_Cylinder|Part Cylinder]]}}. |
||
# Select the [[File:Tree_Part_Sphere_Parametric.svg|16px]] [[Part_Sphere|Sphere]] in the [[tree_view|tree view]]. |
# Select the [[File:Tree_Part_Sphere_Parametric.svg|16px]] [[Part_Sphere|Sphere]] in the [[tree_view|tree view]]. |
||
# Press {{Button|[[File:Std_LinkReplace.svg|16px]] [[Std_LinkReplace| |
# Press {{Button|[[File:Std_LinkReplace.svg|16px]] [[Std_LinkReplace|Replace with link]]}}. |
||
<!--T:8--> |
|||
The original [[File:Tree_Part_Sphere_Parametric.svg|16px]] [[Part_Sphere|Sphere]] must now be outside the {{Button|[[File:Part_Fuse.svg|16px]] [[ |
The original [[File:Tree_Part_Sphere_Parametric.svg|16px]] [[Part_Sphere|Sphere]] must now be outside the {{Button|[[File:Part_Fuse.svg|16px]] [[Part_Fuse|Part Fuse]]}}, and inside there must be a Link instead (a small overlay arrow is shown in the icon). |
||
<!--T:9--> |
|||
</translate> |
|||
[[File:Std_Link_tree_replace_fuse_1_example.png]] [[File:Std_Link_tree_replace_fuse_2_example.png]] |
|||
{{Code|code= |
|||
<nowiki> |
|||
Sphere |
|||
Fusion |
|||
|-- Sphere001 (Link) |
|||
|-- Cylinder |
|||
</nowiki> |
|||
⚫ | |||
<translate> |
|||
<!--T:10--> |
|||
⚫ | |||
{{Caption|An object inside another one is replaced by a Link; the Link is now inside, and the real object is placed outside.}} |
|||
<!--T:11--> |
|||
</translate> |
|||
⚫ | |||
{{Code|code= |
|||
<nowiki> |
|||
Cone |
|||
Part |
|||
|-- Cone001 (Link) |
|||
</nowiki> |
|||
⚫ | |||
<translate> |
|||
<!--T:12--> |
|||
⚫ | |||
[[File:Std_Link_tree_replace_part_1_examples.png]] [[File:Std_Link_tree_replace_part_2_examples.png]] |
|||
<!--T:13--> |
|||
{{Caption|An object inside a container is replaced by a Link; the Link is now inside, and the real object is placed outside.}} |
|||
⚫ | |||
<!--T:15--> |
|||
This command creates a new [[App_Link|App Link]]; its properties are described in {{Button|[[File:Std_LinkMake.svg|16px]] [[Std_LinkMake|Std LinkMake]]}}. |
This command creates a new [[App_Link|App Link]]; its properties are described in {{Button|[[File:Std_LinkMake.svg|16px]] [[Std_LinkMake|Std LinkMake]]}}. |
||
<!--T:17--> |
|||
{{Docnav |
|||
|[[Std_LinkMakeRelative|LinkMakeRelative]] |
|||
|[[Std_LinkUnlink|LinkUnlink]] |
|||
|[[Std_Base|Std Base]] |
|||
|IconL=Std_LinkMakeRelative.svg |
|||
|IconR=Std_LinkUnlink.svg |
|||
|IconC=Freecad.svg |
|||
⚫ | |||
</translate> |
</translate> |
||
{{Std Base navi{{#translation:}}}} |
{{Std Base navi{{#translation:}}}} |
Latest revision as of 15:27, 30 January 2022
Std LinkReplace |
Menu location |
---|
None |
Workbenches |
All |
Default shortcut |
None |
Introduced in version |
0.19 |
See also |
Std LinkMake, Std LinkMakeRelative, Std LinkUnlink |
Description
Std LinkReplace replaces an object that is inside another for an App Link version of the former.
This operation acts on the "children" of a "parent" object as seen in the tree view. For example, given two objects (A and B) that participate in a Part Boolean operation, say, C = A + B
, the A object can be replaced by a Link, so that C = A_link + B
.
This operation can be done to replace nested objects that are in a complex assembly for a Link, which may be more efficient if that nested object is used many times in different sub-assemblies. The inverse operation is Std LinkUnlink. To create a generic Link see Std LinkMake.
Usage
- Make sure you have one object that is inside another one. For example, consider that a Part Fuse was used with two previously created objects, a Part Sphere and a Part Cylinder.
- Select the Sphere in the tree view.
- Press Replace with link.
The original Sphere must now be outside the Part Fuse, and inside there must be a Link instead (a small overlay arrow is shown in the icon).
An object inside another one is replaced by a Link; the Link is now inside, and the real object is placed outside.
This can also be done with objects contained inside Std Parts and Std Groups.
An object inside a container is replaced by a Link; the Link is now inside, and the real object is placed outside.
Properties
This command creates a new App Link; its properties are described in Std LinkMake.
- File: New, Open, Close, Close All, Save, Save As, Save a Copy, Save All, Revert, Import, Export,Merge project, Project information, Print, Print preview, Export PDF, Recent files, Exit
- Edit: Undo, Redo, Cut, Copy, Paste, Duplicate selection, Refresh, Box selection, Box element selection, Select All, Delete, Send to Python Console, Placement, Transform, Alignment, Toggle Edit mode, Edit mode, Preferences
- View:
- Miscellaneous: Create new view, Orthographic view, Perspective view, Fullscreen, Bounding box, Toggle axis cross, Clipping plane, Texture mapping, Toggle navigation/Edit mode, Appearance, Random color, Workbench, Status bar
- Standard views: Fit all, Fit selection, Isometric, Dimetric, Trimetric, Home, Front, Top, Right, Rear, Bottom, Left, Rotate Left, Rotate Right
- Freeze display: Save views, Load views, Freeze view, Clear views
- Draw style: As is, Points, Wireframe, Hidden line, No shading, Shaded, Flat lines
- Stereo: Stereo red/cyan, Stereo quad buffer, Stereo Interleaved Rows, Stereo Interleaved Columns, Stereo Off, Issue camera position
- Zoom: Zoom In, Zoom Out, Box zoom
- Document window: Docked, Undocked, Fullscreen
- Visibility: Toggle visibility, Show selection, Hide selection, Select visible objects, Toggle all objects, Show all objects, Hide all objects, Toggle selectability, Toggle measurement, Clear measurement
- Toolbars: File, Edit, Clipboard, Workbench, Macro, View, Structure, Help
- Panels: Tree view, Property view, Selection view, Tasks, Python console, DAG view, Model, Report view
- Link navigation: Go to linked object, Go to the deepest linked object, Select all links
- Tree view actions: Sync view, Sync selection, Sync placement, Pre-selection, Record selection, Single document, Multi document, Collapse/Expand, Initiate dragging, Go to selection, Selection Back, Selection Forward
- Tools: Edit parameters, Save image, Load image, Scene inspector, Dependency graph, Project utility, Measure distance, Add text document, View turntable, Units calculator, Customize, Addon manager
- Macro: Macro recording, Macros, Recent macros, Execute macro, Attach to remote debugger, Debug macro, Stop debugging, Step over, Step into, Toggle breakpoint
- Help: Help, FreeCAD Website, Donate, Users documentation, Python scripting documentation, Automatic Python modules documentation, FreeCAD Forum, FreeCAD FAQ, Report a bug, About FreeCAD, What's This
- 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