# How to use mshp?

**URL:** <https://calculix.discourse.group/t/how-to-use-mshp/2045>\
**Category:** Uncategorized\
**Created:** [January 28, 2024, 8:43pm UTC](https://calculix.discourse.group/t/how-to-use-mshp/2045 "2024-01-28T20:43:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Awareness](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@Awareness](https://calculix.discourse.group/u/Awareness)\
**Post date:** [January 28, 2024, 8:43pm UTC](https://calculix.discourse.group/t/how-to-use-mshp/2045/1 "2024-01-28T20:43:19Z")

</div>

```auto

valu Etyp he20r

# size of mesh
valu a / 2.5 1000
# Length of the beam in meters, converted from mm
valu L / 1065 1000
# valu divL 426
# Width of the beam in meters, converted from mm
valu B / 5 1000
# valu divB 2
# first partial height in meters, converted from mm
valu H1 / 38.2 1000
# valu divH1 16
# Second partial height in meters, converted from mm
valu H2 / 9.8 1000
# valu divH2 4
# Pressure in Pa (N/m2), coverted from MPa (N/mm2)
valu P * 127.5 1e6

seto beam
pnt p0 0 0 0
pnt p1 0 L 0

line l0 p0 p1 
seta se0 l l0

swep se0 se1 tra B 0 0 
seta ses0 A001

swep ses0 ses1 tra 0 0 H1 

seta rear A005
seta front A006
comp rear e
rep rear
comp rear f
rep rear

comp front e
rep front
comp front f
rep front

seta extend A002
swep extend extended tra 0 0 H2 

setc beam

elty beam Etyp
plot b all

```

in terminal I issue  
mshp B001 b 4 1 a  
plus n all

and nothing is got changed?
