Update Readme
This commit is contained in:
parent
12f1670925
commit
9d85f2bb61
32
Readme.md
32
Readme.md
|
@ -455,7 +455,8 @@ view, and you can create a constraint, regardless how many levels of
|
|||
hierarchies in-between. All intermediate `Elements` and `ElementLinks` will be
|
||||
created automatically. Although, for the sake of re-usability, it is best for
|
||||
the user as an assembly author to explicitly create `Element` as interfaces,
|
||||
and give them proper names for easy (re)assembling.
|
||||
and give them proper names for easy (re)assembling. Check the [section](#replace-sub-assembly)
|
||||
below for a demonstration of part replacement.
|
||||
|
||||
Last but not the least, `Element`, as well as the `ElementLink` inside
|
||||
a constraint, make use of a new core feature, `OnTopWhenSelected`, to
|
||||
|
@ -742,6 +743,35 @@ recomputation by holding `CTRL` key while dragging.
|
|||

|
||||
|
||||
|
||||
### Replace Sub-Assembly
|
||||
|
||||
Continue from the Multi-join assembly we created in previous section. Suppose
|
||||
we want to change the sub-assembly with another part. The screencast below
|
||||
shows how to do it.
|
||||
|
||||

|
||||
|
||||
All geometry element references used in any constraints will be referenced
|
||||
through some auto created `Element` object. Find out those elements, and give
|
||||
them some meaningful name. When you rename some `Element` object that are
|
||||
referenced by some constraint, or high level `Element` objects, all involved
|
||||
subname references will be automatically updated. Be careful, though. If you are
|
||||
editing an external assembly that are referenced in some other super assembly
|
||||
file that are not currently opened in FreeCAD, you will obviously break the link
|
||||
reference.
|
||||
|
||||
Now, to replace the sub-assembly, manually create the corresponding elements
|
||||
with selection, drag and drop, and give them the same names. Because the
|
||||
original sub-assembly is brought in by a `Link` object, simply re-point the
|
||||
`Link` to the replacement part, and re-solve the constraint system. Done!
|
||||
|
||||
Note that, in the screencast, we didn't rename the first two elements. It is
|
||||
because that those elements are used internally by the original sub-assembly. It
|
||||
is not involved in the parent assembly. If you modified the geometry model of
|
||||
the sub-assembly, then you should double check all the elements for any geometry
|
||||
topological name changes.
|
||||
|
||||
|
||||
### Import External Assembly
|
||||
|
||||
In some cases, it will be easier to distribute your multi-hierarchy assembly as
|
||||
|
|
Loading…
Reference in New Issue
Block a user