Piping > Setting Up Fittings > Fitting Library Files > Fitting Library Creation > Fitting Insertion Location and Alignment Considerations
  
Fitting Insertion Location and Alignment Considerations
A fitting is aligned to the selected insertion point on the pipe segment using pre-defined reference locations on the fitting library part.
Based on the general piping design and pipe modeling practices, preferred locations such as NEAR, FAR or CENTER on a fitting are used to constrain the fitting. The Fitting Insertion functionality provides the option to choose one of these alignment options during fitting insertion.
The Fitting Insertion functionality aligns the specified NEAR, FAR or CENTER locations with the placement point location specified on the pipe segment. A parametric dimension is created up to the placement/alignment location. You can modify this dimension and reposition the fitting along the inserted pipeline segment.
NEAR, FAR, and CENTER Alignment Locations Based on Fitting Ports
For fittings with NEAR or FAR alignment locations that coincide with the respective inlet and outlet port locations, such as butt-welded and flanged fittings, you are not required to provide any additional information during library part creation.
For such fittings, the NEAR/FAR alignment locations are automatically determined to be at the inlet/outlet port origins. The CENTER location is determined as the midpoint of the NEAR and FAR locations.
1. NEAR location (inlet port origin)
2. CENTER location
3. FAR location (outlet port origin)
By default, the NEAR option aligns the fitting inlet port with the selected insertion point on the pipe segment. Similarly, the FAR option aligns the fitting outlet port with the selected insertion point on the pipe segment. The CENTER option aligns the midpoint between the fitting inlet and outlet to the selected insertion point on the pipe segment.
NEAR, FAR, and CENTER Alignment Locations Based on Fitting Ports and an OFFSET Parameter
For fittings with NEAR/FAR alignment locations that do not coincide with the respective inlet/outlet port locations as in the case of socket-welded and screwed fittings, you can still use the inlet/outlet port locations as default NEAR/FAR alignment locations. The CENTER location is determined as the midpoint of the NEAR and FAR locations. Alternatively, you can use an optional OFFSET parameter associated with either or both of the ports to specify an offset location from the inlet/outlet ports. Refer the following figure for details.
1. Optional NEAR location (20.0mm from inlet port)
2. Default NEAR location (inlet port with offset of 20.0mm)
3. Automatic CENTER location
4. Default FAR location (outlet port with offset of 20.0mm)
5. Optional FAR location (20.0mm from outlet port)
Using the OFFSET parameter and the ability to enable/disable it during fitting insertion, you can apply the desired NEAR and FAR alignment locations as required by your design. By this, you will be able to offset a fitting port to a desired location and align that location to the point on the pipe segment where it is inserted. You can create your linear parametric dimensions up to this point on the pipe segment. Using the OFFSET parameter and appropriate offset value, you can optionally create your linear dimensions up to a fitting face (specified by the offset value from the respective port) for socket-welded and threaded fittings.