Search found 602 matches
- Sat Mar 17, 2018 7:05 am
- Forum: Help on using FreeCAD
- Topic: Ticket #3379 - [Expressions] Cannot reference driven constraint
- Replies: 15
- Views: 3231
Re: Cannot reference driven constraint
Thanks for the explanation. - Is there a list of special names not to be used in expressions? Not in the documentation, but you can find all of them in src/App/ExpressionParser.l. - Is there a possibility to notify the user when he enters such a name? That should be possible, so please register a f...
- Fri Mar 16, 2018 1:12 pm
- Forum: Help on using FreeCAD
- Topic: Ticket #3379 - [Expressions] Cannot reference driven constraint
- Replies: 15
- Views: 3231
Re: Cannot reference driven constraint
Eivind Care to weigh in? Hi, Both h and rad are reserved, as they are also units (h = hour, rad = radians). Even if they are unambiguous when used as a name (like Contraints.h), the parser does not understand that, as it parses word by word, and h and rad are immediately identified as units. Eivind
- Thu Mar 01, 2018 12:56 am
- Forum: Help on using FreeCAD
- Topic: Spreadsheet Inserting Row Cause Crash - FC Daily v0.17
- Replies: 8
- Views: 2559
Re: Spreadsheet Inserting Row Cause Crash - FC Daily v0.17
Problem Description: I am having problems inserting rows in a spreadsheet, Inserting Row Causes FC Daily v0.17 to crash To re-create the problem: Open the project, select the spreadsheet workbench, open the spreadsheet, right-click mouse on row-2 and select insert row, then FreeCad crashes. ... I'v...
- Fri Feb 16, 2018 6:12 pm
- Forum: Developers corner
- Topic: Expressions... again...
- Replies: 219
- Views: 44792
Re: Expressions... again...
If you quote them with << and >>, then it works in both cases. You can't use "normal" quote characters like " or ', because that is interpreted as units. Hi Eivind. I noticed one issue when helping an user to get a value out of dictionary into a spreadsheet cell: https://forum.freeca...
- Fri Dec 29, 2017 3:53 pm
- Forum: Help on using FreeCAD
- Topic: Sluggish Spreadsheet on Complex Model?
- Replies: 21
- Views: 5396
Re: Sluggish Spreadsheet on Complex Model?
Hi, I am trying to explore the Spreadsheet on my model. I find it perform very slow. I try input in a cell, it is 1 or 2 s pause, each keystroke response is slow, enter follow by another few second pause. Then I realize if i open a new empty file, it works without problem. I guess Spreadsheet is tr...
- Sat Dec 16, 2017 11:15 pm
- Forum: Developers corner
- Topic: Update issue with expressions
- Replies: 20
- Views: 3670
- Fri Dec 15, 2017 11:59 pm
- Forum: Developers corner
- Topic: Update issue with expressions
- Replies: 20
- Views: 3670
Re: Update issue with expressions
No, I'm unable to recreate yor problem here (except getting an incorrect value on first load).mlampert wrote: ↑Fri Dec 15, 2017 7:48 pmAny progress on the this issue?eivindkvedalen wrote: ↑Fri Dec 15, 2017 5:28 pm It's not supposed to fix it, it fixes issue #3197, the expression completer.
Eivind
Eivind
- Fri Dec 15, 2017 5:28 pm
- Forum: Developers corner
- Topic: Update issue with expressions
- Replies: 20
- Views: 3670
Re: Update issue with expressions
It's not supposed to fix it, it fixes issue #3197, the expression completer.
Eivind
- Wed Dec 06, 2017 9:19 pm
- Forum: Developers corner
- Topic: Update issue with expressions
- Replies: 20
- Views: 3670
Re: Update issue with expressions
However, could you please see whether this prevents your crash? Yes, this fixes the crash. Btw, shouldn't the line ssize_t i = static_cast<std::size_t>(tokens.size()) - 1; be changed to ssize_t i = static_cast<ssize_t>(tokens.size()) - 1; because a static_cast of size() to std::size_t is pointless?...
- Wed Dec 06, 2017 6:07 pm
- Forum: Developers corner
- Topic: Update issue with expressions
- Replies: 20
- Views: 3670
Re: Update issue with expressions
Some remarks: there is a new bug introduced with the last PR inside ExpressionCompleter::slotUpdate. The iteration variable i can become equal to tokens.size() and thus tokens causes a crash. With above attached project and the expression of "Step Down" this line ssize_t i = static_cast<s...