STEP AP227 Interface (ST2)

 

General Issues

SizeValues.txt File

To have piping sizes, pressure rating values and piping connector endstyles correctly translated into the generated STEP AP227 file, you have to define their corresponding mapping tables. These mapping tables are declared with the following syntax (in your USRENV.dcls file for instance):

catst2.SIZE_VALUES : string;
catst2.SIZE_VALUES = '/home/user/SizeValues.txt';

catst2.RATING_VALUES : string;
catst2.RATING_VALUES = '/home/user/RatingValues.txt';

catst2.PIPING_CONNECTOR_ENDSTYLES : string;
catst2.PIPING_CONNECTOR_ENDSTYLES = '/home/user/PipingConnectorEndStyles.txt';

The mapping tables are regular text files with a specific syntax described below:

Syntax of SizeValues.txt:

#
# SizeValues.txt
#
# first field: CATIA value (string)
# This is the value stored in the CATIA object
# The value comes from a PIPING setup table
# second field: STEP value (numerical value in millimeter)
#
#
# Notes:
# - line starting with # is a comment
# - empty lines and comment lines are skipped
# - regular line contains two values separated by a ; character
#
# DIN Piping without DN (should be avoided, because 10mm <> 10 inch
#
#--------------------------------------------------------------------
# DIN Piping without DN (should be avoided, because 10 mm <> 10 inch
#--------------------------------------------------------------------
100;101.6
150;152.4
#----------------------------
# DIN piping with DN
#----------------------------
DN100;101.6
DN150;152.4
#------------------------------------------------
# ANSI piping with " (Dassault default catalog)
#------------------------------------------------
3/8";9.525
1/2";12.7
3/4";19.05
1";25.4
1 1/8";28.575
1 1/4";31.75
1 1/2";38.1
1 3/4";44.45
2";50.8
2 1/2";63.5
3";76.2
3 1/2";88.9
4";101.6
6";152.4
#----------------------------
# ANSI piping without " (NNS)
#----------------------------
3/8;9.525
1/2;12.7
3/4;19.05
1;25.4
1 1/8;28.575
1 1/4;31.75
1 1/2;38.1
1 3/4;44.45
2;50.8
2 1/2;63.5
3;76.2
3 1/2;88.9
4;101.6
6;152.4

Syntax of RatingValues.txt:

#
# RatingValues.txt
#
# first field: CATIA value (string)
# second field: STEP value (numerical value in Pascal)
#
#---------------------------------------
# ANSI Dassault default catalog
#---------------------------------------
300#;2067000.0
150#;1033500.0
600#;4134000.0
900#;6201000.0
1500#;10335000.0
3000#;20670000.0
#---------------------------------------
# DIN
#---------------------------------------
PN10;1000000.0
PN16;1600000.0
PN25;2500000.0
#---------------------------------------
# DIN without PN (not advised)
#---------------------------------------
10;1000000.0
16;1600000.0
25;2500000.0
64;6400000.0
100;1000000.0

Syntax of PipingConnectorEndStyles.txt:

#
# PipingConnectorEndStyles.txt
#
# inputs:
# - field 1: CATIA class
# - field 2: CATIA end-style value
#
# outputs:
# - field 3: if specified, STEP corresponding end-type
# - field 4: if specified, STEP corresponding end-engagement-type
#
# if a CATIA connector information does not match any inputs,
# no STEP information will be generated
#
BRCNCTR;;branch hole;buttweld
PICNCTR;BUTT WELD;;buttweld
PTCNCTR;BUTT WELD;;buttweld
PTCNCTR;PLAIN END;;buttweld
PTCNCTR;THREADED MALE;male end;threaded
PTCNCTR;THREADED FEMALE;female end;threaded
PTCNCTR;SOCKET WELD; female end;socket
PTCNCTR;RAISED FACE;flanged end;flanged
PTCNCTR;THREADED;;threaded

Open Issues

None

 

Documentation

None