Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Davide Carpi  
#1 Posted : 20 May 2012 13:26:43(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,648
Man
Italy
Location: Italy

Was thanked: 1331 time(s) in 876 post(s)
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

Edited by user 20 May 2012 13:57:57(UTC)  | Reason: added snapshot

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline omorr  
#2 Posted : 20 May 2012 13:57:10(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
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!"
thanks 1 user thanked omorr for this useful post.
on 20/05/2012(UTC)
Offline Davide Carpi  
#3 Posted : 20 May 2012 13:59:32(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,648
Man
Italy
Location: Italy

Was thanked: 1331 time(s) in 876 post(s)
Originally Posted by: omorr Go to Quoted Post
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! Good

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

Edited by user 20 May 2012 14:04:19(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 1 user thanked Davide Carpi for this useful post.
on 20/05/2012(UTC)
Offline omorr  
#4 Posted : 20 May 2012 15:22:42(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Originally Posted by: w3b5urf3r_reloaded Go to Quoted Post
Originally Posted by: omorr Go to Quoted Post
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! Good

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!"
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.