openBrain wrote: ↑Tue Jan 14, 2020 9:37 am
If I'm correct, since the Big Merge it is possible to use any Python command so I would say it depends on which FreeCAD version you're running.
Maybe its not possible to use python in expressions? I did a quick search in the source and find nothing about this
joe.belladonna wrote: ↑Tue Jan 14, 2020 12:54 pm
Maybe it is not possible to use logical operators within FreeCADs Expression, like Willem said.
fmluizao wrote: ↑Tue Jan 14, 2020 1:04 pm
Maybe its not possible to use python in expressions? I did a quick search in the source and find nothing about this
Yep guys. Probably I mistook. Analyzing the parser file, it looks like boolean operators aren't defined....
Same file at @realthunder fork is more complete and defines said operators. Let's ask :
realthunder wrote: ↑Sat Jun 30, 2018 12:34 pm
Ping
@realthunder : is there some merge soon foreseen regarding the expression extension?
What you are talking about was in fact implemented, but in his own Assembly3 branch. This branch contains many changes and prototype code, but not all of that was included with the LinkMerge. See Expression and Spreadsheet.