Search found 305 matches

by plgarcia
Wed Oct 04, 2017 11:43 am
Forum: Developers corner
Topic: [Solved by PR 1053] Error with angles in formulas
Replies: 48
Views: 3433

Re: Error with angles in formulas

What about this new bug I found arround formulas. 2 cubes, Cube and Cube001. I set cube001 Angle as bin equal to Cube.Placement.Rotation.Angle. OK it works at this stage, and the correction you made is fine. Now I rename Cube in Cube2. (change the label). Then the gui does not display any longer the...
by plgarcia
Wed Oct 04, 2017 9:16 am
Forum: Developers corner
Topic: [Solved by PR 1053] Error with angles in formulas
Replies: 48
Views: 3433

Re: Error with angles in formulas

Sorry, that was the first time I compiled FreeCad and it took some time to set the environment right and have it working.
Your change works!
45° is 45° and sin(45°) is 0,71!

I tested it on Linux Ubuntu 17.04

Thank you
Regards
Pascal Garcia
by plgarcia
Mon Oct 02, 2017 12:33 pm
Forum: Developers corner
Topic: [Solved by PR 1053] Error with angles in formulas
Replies: 48
Views: 3433

Re: Error with angles in formulas

It is a bug, there is no doubt to my mind, and I have not found any bug of that kind already reported. When reporting a bug, I have been asked to open a discussion in the forum, that is what I did. But next time I will open it in "open discussion" forum. Here is the bug report. https://www.freecadwe...
by plgarcia
Mon Oct 02, 2017 11:46 am
Forum: Developers corner
Topic: [Solved by PR 1053] Error with angles in formulas
Replies: 48
Views: 3433

Re: Error with angles in formulas

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12284 (Git)
Build type: Release
Branch: master
Hash: 2244292552c004e6b506af9e1e98d3423e524ee7
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: French/France (fr_FR)
by plgarcia
Fri Sep 29, 2017 9:57 am
Forum: Developers corner
Topic: [Solved by PR 1053] Error with angles in formulas
Replies: 48
Views: 3433

Re: Errors in formulas (Angles, references, ...)

I found a other bug. If in a formula an object is referenced with its Label, and the label of the object is changed, then these formulas become invalid. If an object Label is changed formulas using this label should be changed. An other way could be to only store internal references and replace them...
by plgarcia
Fri Sep 29, 2017 9:23 am
Forum: Open discussion
Topic: Formulas
Replies: 2
Views: 425

Re: Formulas

Thank you for this reply. I was talking of this help page yes. This help page gives a short extract of the available attributes in CD-DATA. Therefore my first point is still valid. The second point is wrong as the functions are clearly described. Obviously I missed a paragraph in this page, and as t...
by plgarcia
Thu Sep 28, 2017 6:33 pm
Forum: Open discussion
Topic: Formulas
Replies: 2
Views: 425

Formulas

Hello I have some difficulties with formulas in FreeCad. By formulas I am talking of the formulas we can put on an attribute of an object by clicking on the fx button. 1 - I have not been able to find a quite complete list of all attributes that can be manipulated in these formulas. (Example : xxx.P...
by plgarcia
Thu Sep 28, 2017 12:58 pm
Forum: Part Design module development
Topic: Fusion of two adjacent cones fails
Replies: 9
Views: 1191

Re: Fusion of two adjacent cones fails

The issue has been closed. Nevetheless, the problem has dissapear in the future 0.17, so I beleive a modification has been introduced at a certain time that solve this problem and may be some others. According one comment in the issue it was due to the fact that the two cones were tangent and inters...
by plgarcia
Thu Sep 28, 2017 12:41 pm
Forum: Help on using FreeCAD
Topic: [Part design next] edit placement fails
Replies: 16
Views: 1247

Re: [Part design next] edit placement fails

Hello
The superplacemet does not appear any longuer if not relevant in the last version of Freecad I have been testing.
The problem is therefore completly solved.
Regards
by plgarcia
Thu Sep 28, 2017 11:57 am
Forum: Developers corner
Topic: [Solved by PR 1053] Error with angles in formulas
Replies: 48
Views: 3433

[Solved by PR 1053] Error with angles in formulas

There are problems using angles in formulas. The value of the angle used in the formula is in radians but considered as degrees. My example 2 cube. I set the angle of the firs cube to 45° and shown in picture1. Then I set the angle of the second cube with a formua as being equals to the angle of the...