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 Alex M.  
#1 Posted : 03 May 2019 00:01:18(UTC)
Alex M.


Rank: Advanced Member

Groups: Registered
Joined: 03/03/2014(UTC)
Posts: 418
Canada

Was thanked: 125 time(s) in 96 post(s)
Hi Davide, hoping to get some help on you very old example. I have successfully used it to generate the vast multitude of shapes, the functions of which you kindly shared with us. As of late many of the shapes return an error, the source of which is not obvious. function "roundedRect(2,4,1,0)" is a good example since its simple and yet does not return expected value.

Let me know if you have any thoughts on this.

Best

Alex M

polyProperties.png PolyProperties.sm (940kb) downloaded 32 time(s).

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

Offline Davide Carpi  
#2 Posted : 04 May 2019 13:09:25(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1323 time(s) in 873 post(s)
Thank you Alex... at first glance seems a problem about if statements not evaluated and stack.
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Andrey Ivashov  
#3 Posted : 08 May 2019 01:12:15(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Fixed in the latest beta. Thank you!

Edited by moderator 01 July 2019 01:19:38(UTC)  | Reason: marked as Solved

thanks 2 users thanked Andrey Ivashov for this useful post.
on 08/05/2019(UTC),  on 01/07/2019(UTC)
Offline Jean Giraud  
#4 Posted : 08 May 2019 17:48:33(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Alex M. Go to Quoted Post
Hi Davide, hoping to get some help on you very old example.
I have successfully used it to generate the vast multitude of shapes, the functions of which you kindly shared with us. As of late many of the shapes return an error, the source of which is not obvious. function "roundedRect(2,4,1,0)" is a good example since its simple and yet does not return expected value.

Hello Alex, just for my own curiosity:
Does it work as well for open polygon ?
Jean

Maths Polygon Alex test.sm (15kb) downloaded 28 time(s).

Offline Alex M.  
#5 Posted : 01 July 2019 06:29:39(UTC)
Alex M.


Rank: Advanced Member

Groups: Registered
Joined: 03/03/2014(UTC)
Posts: 418
Canada

Was thanked: 125 time(s) in 96 post(s)
Originally Posted by: Andrey Ivashov Go to Quoted Post
Fixed in the latest beta. Thank you!


Thank you very much - I used this code in some crucial "programs" Clap
Offline Alex M.  
#6 Posted : 01 July 2019 06:31:02(UTC)
Alex M.


Rank: Advanced Member

Groups: Registered
Joined: 03/03/2014(UTC)
Posts: 418
Canada

Was thanked: 125 time(s) in 96 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
Originally Posted by: Alex M. Go to Quoted Post
Hi Davide, hoping to get some help on you very old example.
I have successfully used it to generate the vast multitude of shapes, the functions of which you kindly shared with us. As of late many of the shapes return an error, the source of which is not obvious. function "roundedRect(2,4,1,0)" is a good example since its simple and yet does not return expected value.

Hello Alex, just for my own curiosity:
Does it work as well for open polygon ?
Jean

Maths Polygon Alex test.sm (15kb) downloaded 28 time(s).



Unsure what you mean, Jean?
Offline Davide Carpi  
#7 Posted : 01 July 2019 11:29:57(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1323 time(s) in 873 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
Does it work as well for open polygon ?


Nope, this worksheet was made just for closed polygons.Good

2019-07-01 10_27_47-SMath Studio - [PolyProperties.sm].png
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 01/07/2019(UTC)
Users browsing this topic
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.