problem with stack and reverse

problem with stack and reverse - Сообщения

#1 Опубликовано: 20.05.2012 06:26:43
Davide Carpi

Davide Carpi

1417 сообщений из 2873 понравились пользователям.

Группа: Moderator

Hi,

This is a piece of a script to draw a IPE/HE beam cross section; the idea is to draw the section using the double symmetry of the profile, rather than do it point by point, but I've found some problems/incongruences... I think can be bugs, but I'm not sure...

stack reverse problems.zip

stack reverse problembugs%2fstack%20reverse%2001.png

regards, w3b5urf3r
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#2 Опубликовано: 20.05.2012 06:57:10
Radovan Omorjan

Radovan Omorjan

325 сообщений из 2052 понравились пользователям.

Группа: Moderator

Hello w3b5urf3r,

I mentioned that in some other post reverse-and-interpolation

The problem could be resolved if you use Numerical optimization for the variables defined with reverse(). Just use it for your Q and S variables and everything will be fine.

Regards,
Radovan

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
1 пользователям понравился этот пост
Davide Carpi 20.05.2012 07:00:00
#3 Опубликовано: 20.05.2012 06:59:32
Davide Carpi

Davide Carpi

1417 сообщений из 2873 понравились пользователям.

Группа: Moderator

Wrote

Hello w3b5urf3r,

I mentioned that in some other post reverse-and-interpolation

The problem could be resolved if you use Numerical optimization for the variables defined with reverse(). Just use it for your Q and S variables and everything will be fine.

Regards,
Radovan



done, thank you!

P.S. this problem can't be resolved inside functions (see the end of updated stack reverse problems.zip)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 пользователям понравился этот пост
Radovan Omorjan 20.05.2012 08:21:00
#4 Опубликовано: 20.05.2012 08:22:42
Radovan Omorjan

Radovan Omorjan

325 сообщений из 2052 понравились пользователям.

Группа: Moderator

Wrote

Wrote

Hello w3b5urf3r,

I mentioned that in some other post reverse-and-interpolation

The problem could be resolved if you use Numerical optimization for the variables defined with reverse(). Just use it for your Q and S variables and everything will be fine.

Regards,
Radovan



done, thank you!

P.S. this problem can't be resolved inside functions (see the end of updated stack reverse problems.zip)



Actually, it can. Inside your function use eval(reverse(...)) instead reverse(...).

Regards,
Radovan

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений