problem with stack and reverse

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

#1 Опубликовано: 13 лет назад
Davide Carpi

Davide Carpi

1 418 сообщений из 2 874 понравились пользователям.

Группа: 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 Опубликовано: 13 лет назад
Radovan Omorjan

Radovan Omorjan

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

Группа: 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 13 лет назад
#3 Опубликовано: 13 лет назад
Davide Carpi

Davide Carpi

1 418 сообщений из 2 874 понравились пользователям.

Группа: 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 13 лет назад
#4 Опубликовано: 13 лет назад
Radovan Omorjan

Radovan Omorjan

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

Группа: 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!"
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений