[Bug Report] AQUA file generated by Grasshopper is INCORRECT

Sofistik 2020-8, Rhino 7
Bacically it’s a dumbbell shape cross section. The outside part is steel plate, concrete is filled in the two circles.

This is part of the original AQUA

+PROG AQUA
HEAD 拱肋
CTRL FACE NEG
UNIT 5 DIG 3
ECHO SECT EXTR
NORM GB 50010-2010
STEE NO TYPE CLAS
1 S 345
CONC NO TYPE FCN
2 C 40
SECT NO MNO
1 1
TVAR H 2400[mm]
TVAR DO 1000[mm]
TVAR TF 14[mm]
TVAR BW 650[mm]
TVAR TW 14[mm]
POLY TYPE MNO
O 1
VERT NO Y Z
101 ‘=DO/2SIN(0(180-ASIN(BW/DO))/20)’ ‘=(H-DO)/2+DO/2COS(0(180-ASIN(BW/DO))/20)’
102 ‘=DO/2SIN(1(180-ASIN(BW/DO))/20)’ ‘=(H-DO)/2+DO/2COS(1(180-ASIN(BW/DO))/20)’
103 ‘=DO/2SIN(2(180-ASIN(BW/DO))/20)’ ‘=(H-DO)/2+DO/2COS(2(180-ASIN(BW/DO))/20)’
CIRC NO Y Z
1 0 ‘=(H-DO)/2’
2 0 ‘=-(H-DO)/2’

The genarated cross section is correct

I use the generated AQUA.CDB file as input in Grasshopper and output the Aqua_out.dat file

Below is part of the AQUA_out.dat

+PROG AQUA urs:1
HEAD
PAGE UNII 6
CTRL REST 1

SECT 1 MNO 1

TVAR ‘H’ 2400.00009536743
TVAR ‘DO’ 1000
TVAR ‘TF’ 14.0000004321337
TVAR ‘BW’ 650.000035762787
TVAR ‘TW’ 14.0000004321337

VERT ‘221’ ‘=#DO/2SIN((0(180-ASIN(#BW/#DO)(180/Pi)))/20)’ '=-(#H-#DO)/2-#DO/2COS((0*(180-ASIN(#BW/#DO)*(180/Pi)))/20)’

CIRC NO ‘1’ MNO 1 Y 0 Z ‘=(#H-#DO)/2’ R ‘=#DO/2-#TF
CIRC NO ‘2’ MNO 1 Y 0 Z ‘=-(#H-#DO)/2’ R ‘=#DO/2-#TF


There are several mistakes in the grasshopper generated AQUA_out.dat

  • The original aqua has two materials, while the generated AQUA file has only one material
  • In the original aqua, “ASIN(BW/DO)” became to “ASIN(#BW/#DO)*(180/Pi)” in the generated AQUA file. Grasshopper add “(180/Pi)” by mistake.
  • The generated AQUA_out.dat can’t be run by Teddy.

The original Aqua is attached: Aqua.dat (17.9 KB)
The grasshopper generated Aqua is also attached: Aqua_OUT.dat (10.8 KB)