LEE MENG CHE Posted October 14, 2022 Share Posted October 14, 2022 Hi There is a problem in IronCAD parameter , it's seems a bug. Please see this parameter D2 , the expression is IF((WSpace<=300mm),((0-DALHeight)/2),-0.049) , I set Width = 400 , so the WSpace = 300 , D2 should be (0-399)/2=-199.5 , but the result is -49 , the formula "<=" doesn't worked . TEST(1).ics Quote Link to comment Share on other sites More sharing options...
IronKevin Posted October 14, 2022 Share Posted October 14, 2022 Note from R&D: It is computer tolerance issue. Can they try to use 300.0000001 as workaround. I think we should fix it in the next release. Quote Link to comment Share on other sites More sharing options...
Bertrand Kim Posted October 15, 2022 Share Posted October 15, 2022 Probably floating point tolerance issue? Good job Lee Quote Link to comment Share on other sites More sharing options...
LEE MENG CHE Posted October 18, 2022 Author Share Posted October 18, 2022 On 10/14/2022 at 10:23 PM, IronKevin said: Note from R&D: It is computer tolerance issue. Can they try to use 300.0000001 as workaround. I think we should fix it in the next release. Hi Kevin Thanks for your support. Quote Link to comment Share on other sites More sharing options...
LEE MENG CHE Posted October 18, 2022 Author Share Posted October 18, 2022 On 10/15/2022 at 12:18 PM, Bertrand Kim said: Probably floating point tolerance issue? Good job Lee That's an interesting thing I found , if the WSpace no Expression , D2 will correct . Quote Link to comment Share on other sites More sharing options...
Bertrand Kim Posted October 18, 2022 Share Posted October 18, 2022 (edited) 22 minutes ago, LEE MENG CHE said: That's an interesting thing I found , if the WSpace no Expression , D2 will correct . Hahaha that is funny On 10/14/2022 at 11:23 PM, IronKevin said: Can they try to use 300.0000001 as workaround. IronCAD does not allow 0.0000001 to input in expression But 0.00001 or 0.01 also working correctly Edited October 18, 2022 by Bertrand Kim Quote Link to comment Share on other sites More sharing options...
LEE MENG CHE Posted October 18, 2022 Author Share Posted October 18, 2022 3 hours ago, Bertrand Kim said: Hahaha that is funny IronCAD does not allow 0.0000001 to input in expression But 0.00001 or 0.01 also working correctly Hi Kim I think that is make sense , actually 300.001 mm <= 300 , so D2 will be -199.5 , like cheating the parameters system. Hope it be fixed in next version. Quote Link to comment Share on other sites More sharing options...
IronKevin Posted November 4, 2022 Share Posted November 4, 2022 This issue should be fixed in version 2023. Quote Link to comment Share on other sites More sharing options...
dleczynski Posted November 4, 2022 Share Posted November 4, 2022 @LEE you can also use INT function for round value. Quote Link to comment Share on other sites More sharing options...
dleczynski Posted November 4, 2022 Share Posted November 4, 2022 As you see working... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.