|
Menu location |
---|
Cable Wires → CompoundPath |
Workbenches |
Cables |
Default shortcut |
C P |
Introduced in version |
0.2.0 |
See also |
Cables WireFlex |
The CompoundPath command is designed to create a wire object based on a group of other wire objects. Its topological shape is a compound of wire shapes or a single wire shape.
It is possible to use CompoundPath as a base for Cable or CableConduit. Proper combination of WireFlex and CompoundPath can be used to simplify process of creation complex cable bundles or cables inside cable conduits avoiding unnecessary redundant base wires. Single WireFlex object can be a part of a few different CompoundPath objects influencing their shapes.
The below example ilustrates the main purpose and possibilities of CompoundPath object. The source example file can be downloaded from here: compoundPath_Test2.FCStd.
CompoundPath built of two distant wires
The CompoundPath cannot be directly edited like WireFlex. Its shape is a result of algorithms behind the Path Type property values: Complex
, Wire
or Simple
and other additional properties processing its base wires declared under Links property.
The Path Type:Complex
algorithm creates a single wire shape based on all objects listed in Links property and partially on their Points property. Therefore, the use of this algorithm is possible only if all base objects listed in Links have Points property. Otherwise it will fail. Additionally the algorithm uses other properties "guessing" user intentions to create the desired shape.
Here are some rules used by the algorithm:
The Path Type:Wire
algorithm creates a single wire shape from Points property of all objects listed in Links property. Therefore, the use of this algorithm is possible only if all base objects listed in Links have Points property. Otherwise it will fail. It produces a wire shape based on a given points which is similar to what the command Draft Wire would do.
The rules used by the algorithm are similar to those used by the Path Type:Complex
with the exception of a Bézier curve usage. The only allowed edge shapes in this mode are lines and arcs. If base object contains other shapes (e.g. BSpline), they will be replaced by the above two.
The Path Type:Simple
algorithm creates a compound of wire shapes listed in Links property. It produces exactly the same result like the command Part Compound would do.
Here any wire like objects (see Note 1) can be used as a base for CompoundPath shape not guaranteeing the success of producing the right wire to be useful as a base for a Cable or CableConduit. To successfully create such a wire (for CableConduit) the base shapes have to touch with their end vertices and additionally (to be useful as a base for Cable) they have to be properly ordered, i.e. the first vertex of the first shape must be the beginning of CompoundPath and the last vertex of the last shape must be the end of CompoundPath.
No additional automatic actions are done with Simple
algorithm. If e.g. tangent connections between base shapes are needed, they have to be done manually.
The Simple
algorithm can be used if results produced by Complex
or Wire
algorithms are not satisfactory. Keeping in mind the above rules, the series of connected sketches freely aligned in a 3D space can be used for example as a base shapes for a CompoundPath.
The example shows how to create three different CompoundPaths by using base wires marking the beginning, middle and end of path. Gaps between individual wires are filled in automatically. In addition the middle wire is used by all three paths with a different offset. For details see the example document file: compoundPath_x3.FCStd.
(1) Set of base wires, (2) 3x CompoundPath with offsets built upon base wires, (3) Cables based on CompoundPaths
Complex
). Using other objects (e.g.Sketches) can be successful when Path Type property has value: Simple
. However Cable or Cable Conduit creation can fail if there are e.g. gaps between such objects.Base
LinkList
): contains list of objects added to CompoundPathCompound Path
Angle
): specifies the angle of a connection offset distance.Length
): specifies the distance of the offset point in relation to the calculated connection point of the boundary edges of two consecutive base wires. It is used e.g. to fit different CompoundPaths based on the same base wire inside a single cable conduit.Enumeration
): specifies the type of curves used to connect base wires. Possible values are: Arc
or Bez
. Valid for Complex
Path Type only.Integer
): specifies the degree of a Bezier function used in Connection Type property.String
): (read-only) shows the name of edge containing smallest radius or preceding smallest radius if radius is 0. It can be used, together with Smallest Bending Radius, for identification of the edge with the smallest bending radius and comparing it with the specification of the cable built on its basis.Length
): specifies the length of this CompoundPath.Length
): specifies the minimum fillet radius in the connections between base wires. The final radius can be longer if possible.Enumeration
): specifies the type of the CompoundPath shape. Possible values are: Complex
, Wire
or Simple
. They are presented in the Description.VectorList
): specifies the points of the CompoundPath in its local coordinate system.Float
): specifies the proportions of segments in the curve created inside the gap between base wires. Usually the value between 1 and 2 gives the best results.Length
): (read-only) shows the smallest detected radius across all edges.