|
|
|
|---|
Creating a piping component
![]()
Configuration of the library:
To create a user standard piping component, you just need to create a classic standard component and respect the supplementary following manipulations:
Declare in the top.cfg file (..Missler\Config\) a new standard:
Example:
D_COMPO_STANDARD [tab] STD_PIPING [tab] D:\STD_PIPING
Copy in this new repertory (D:\STD_PIPING) the file lib.cfg (which is in ..\Missler\V68\lib\TOPPIPING), and modify it according to your standard. This file contains various words of configuration:
D_COMPO_PIPE_FAMILY: allows to define the various families where the components piping are.
Examples:
D_COMPO_PIPE_FAMILY [tab] food
D_COMPO_PIPE_FAMILY [tab] oil
It contains then three keywords which define various types:
D_COMPO_PIPE_PIPE_TYPE: type of the tubes used during the creation of the pipeline.
D_COMPO_PIPE_ELBOW_TYPE: type of the elbows used during the creation of the pipeline.
D_COMPO_PIPE_ACCESSORY_TYPE: type of the accessories that could be inserted in a pipeline.
Examples:
D_COMPO_PIPE_PIPE_TYPE [tab] type_of_tubes
D_COMPO_PIPE_ELBOW_TYPE [tab] type_of_elbows
D_COMPO_PIPE_ACCESSORY_TYPE [tab] type_of_accessories
D_COMPO_PIPE_DRIVER: the component drives the pipe line.
Example:
D_COMPO_PIPE_DRIVER [tab] family_name [tab] type_name [tab] variant_name
This way, your standard will contain (with this example) two folders (oil and food) and in each folder you will be able to have files having names of the style:
Type_of_tubes#V=pipe 1#I=00#R=NR.top
Type_of_elbows#V=blend 1#I=00#R=NR.top
Type_of_accessories#V=accessory 1#I=00#R=NR.top
Moreover, if in your accessories, some components cannot be inserted in a pipeline (such as for example an eccentric reducer or a flat joint), you can use the following keyword according to which prohibit the insertion of component through the insertion dialog box from the piping menu:
D_COMPO_PIPE_SKIP_VARIANT [tab] Eccentric_reducer
D_COMPO_PIPE_SKIP_VARIANT [tab] Flat_joint
To be able to include these components, it will have to use the function "Assembly | Include standard "
Creation of the components:
General information on the components of the type tubes and elbows:
When creating a pipeline (function Piping | Create pipeline), TopSolid chooses the codes of the tubes and the elbows according to a diameter and a thickness. These dimensions can be imposed by the user (choice in the dialogue box) or by the components inserted in the pipeline.
The code of the tube is thus imposed by the diameter and the thickness of the pipeline. This correlation is made thanks to two named texts which must obligatorily exist in the model of the component (model of the tubes and model of the elbows):
' nps' which corresponds to a text whose value gives the information of diameter. Ex: 1'' 1/4.
' thickness' which corresponds to a text whose value gives the information of the thickness. Ex: 1/8.
It is obvious that ' nps' and ' thickness' are two columns of the catalogue (Excel or Notepad file).
The correlation between the diameter of the pipeline and the one of the component is strict, which is not the case for the thickness.
Example:
A pipeline has a diameter of 1'' 1/4 and a thickness of 1/8. If the tube does not have an equivalent diameter (i.e. no 'nps' equal to 1'' 1/4, the pipeline will not be created or will become invalid.
On the other hand, if the elbow does not have an equivalent thickness, a different thickness value is used by defect.
The components of the type tubes:

They have a name of this type: type_of_tubes#V=<variant of tube>#I=00#R=NR.top
The parameter controlling the length of the tubes is: ' length'. It must be common to all the tubes.
All the tubes must have a coordinate system named ' fr1 ' which corresponds to the coordinate system of positioning.
Example of catalogue for tube:
|
$$code |
t(in) |
de(in) |
nps |
thickness |
|
1/8-10S |
0.049 |
0.405 |
1/8 |
10S |
The components of the type elbows:

They have a name of this type: type_of_elbows#V=<variant of elbow>#I=00#R=NR.top
The parameter controlling the angle of the elbows is: ' angle'.
The parameter controlling the curvature radius of the elbows is: ' radius'.
These parameters must be common to all the elbows.
All the elbows must have a coordinate system named ' fr1 ' which corresponds to the coordinate system of positioning.
Example of catalogue for elbow:
|
$$code |
de(in) |
radius(mm) |
t(mm) |
nps |
thickness |
angle |
|
1/8-5S-45 |
21 |
38.6 |
1.65 |
1/2 |
5S |
45 |
The components of the type accessory:
They have a name of the type: type_of_accessories # V=<variant of accessory>#I=00#R=NR.top
It is necessary to create connection points ( Piping | Define connection) for each model of accessory.
A connection point allows to define the orifice characteristics of the component. It associates with a coordinate system, a nominal diameter and a thickness.
The coordinate system specifies the end plane or start plane of the tube or the elbow. On this point, the diameter and the thickness is defined by two named texts (this name will be used in the catalogue).
Creation of points of connection:
Create a text corresponding to one of the nominal diameters (Tool | Text).
Create a text corresponding to one of the thicknesses.
Use the function Piping | Define connection to associate with the coordinate system, the texts corresponding to the columns of the catalogue which respectively give the nominal diameter and the thickness of this opening.
You can visualize in the symbolic tree the IN/OUT COORDINATE SYSTEM SET which contains all the connection points created.
An accessory can have several key
points (to make the positioning easier), but it will have only two connection
points.