Search found 585 matches

Go to advanced search

by eivindkvedalen
Tue Oct 09, 2018 10:55 pm
Forum: Help on using FreeCAD
Topic: Datum (Planes, Lines, Points) and holes
Replies: 9
Views: 269

Re: Datum (Planes, Lines, Points) and holes

Speaking of holes, what am I missing with the center hole (Hole001). It's marked as threaded, so I expected the hole to have an internal thread. Is this option just meant as a shortcut to generate the right size of bore for a given thread? The hole fails to restore from file, also noted by others. ...
by eivindkvedalen
Mon Sep 24, 2018 4:51 pm
Forum: Developers corner
Topic: C++ print contents of a string list
Replies: 11
Views: 385

Re: C++ print contents of a string list

bernd wrote:
Thu Sep 20, 2018 5:01 pm
ahh cool I did not know this was posible in C++.

@eivind:
How about a rebase of https://forum.freecadweb.org/viewtopic.php?f=38&t=16714 I really would give this a try.
Hi,

I'll try to do that in near future!

Eivind
by eivindkvedalen
Mon Sep 24, 2018 11:11 am
Forum: Help on using FreeCAD
Topic: [Solved] Spreadsheet issue with App::PropertyFloatList
Replies: 3
Views: 114

Re: Spreadsheet issue with App::PropertyFloatList

TheMarkster wrote:
Sat Sep 22, 2018 9:29 pm
The spreadsheet does not get updated when the contents of App::PropertyFloatList are updated.
...
Confirmed. Please register this in the bug tracker.

Eivind
by eivindkvedalen
Sat Sep 15, 2018 10:18 am
Forum: Developers corner
Topic: C++ print contents of a string list
Replies: 11
Views: 385

Re: C++ print contents of a string list

that is smart too, but since my C++ is not that good and quite often I run into type problems I prefer to explicit give the types to understand whats happening. Well, if you want to avoid auto, naming the type there as for (std::string v : vec) also works. My main point was to use a range-for loop,...
by eivindkvedalen
Fri Sep 14, 2018 6:57 am
Forum: Developers corner
Topic: C++ print contents of a string list
Replies: 11
Views: 385

Re: C++ print contents of a string list

I have some very basic C++ problem ... :( See commit https://github.com/berndhahnebach/FreeCAD_bhb/commit/af406db I'm not able to print the contents of a string list with an iterator directly. bernd Something like: for(auto v : vec ) { list.push_back(QString::fromStdString(v)); Base::Console().Mess...
by eivindkvedalen
Thu Aug 02, 2018 8:38 pm
Forum: Open discussion
Topic: Making hole feature configurable
Replies: 6
Views: 445

Re: Making hole feature configurable

chrisb wrote:
Thu Aug 02, 2018 5:24 pm
eivindkvedalen wrote:Eivind
This is your baby - and it's a nice one! - what do you think?
If we can tabulate each and every entry, that would be nice, and I don't mind changing the code (either myself, or someone else). This could be as easy as just using a text file.

Eivind
by eivindkvedalen
Sat Jul 28, 2018 11:38 pm
Forum: Help on using FreeCAD
Topic: Linear pattern feature gives me an error
Replies: 10
Views: 263

Re: Linear pattern feature gives me an error

Ok now at home and I can post my sample drawing where the error occurs. I hope someone can help as this drives me nuts :x :x :x I've looked into this now, and it seems that some internal state either in the Hole feature or the LinearPattern feature is messed up at some point in your sample file. If...
by eivindkvedalen
Sun Jul 15, 2018 11:45 pm
Forum: Open discussion
Topic: Improvement Suggestion for f(x) Button in Sketcher Constraints Input Window
Replies: 6
Views: 305

Re: Improvement Suggestion for f(x) Button in Sketcher Constraints Input Window

Which one should be taken if both fields contain a value? If the upper input field is disabled as soon as an expression is entered, then the upper field could show the calculated value while the expression field shows the formula. The expression, if defined, will always override the entered value. ...
by eivindkvedalen
Sun Jul 15, 2018 4:33 pm
Forum: Part Design module development
Topic: [Issue #3541] Hole feature does not work correct if sketch is not parallel to main planes
Replies: 11
Views: 752

Re: Hole feature does not work correct if sketch is not parallel to main planes

babaroga wrote:
Sat Jul 14, 2018 11:58 am
Should I file a Bug on tracker?
Yes, please file a bug report, so we don't forget about this. Please also refer to this thread in the report.

Eivind
by eivindkvedalen
Sun Jul 15, 2018 4:32 pm
Forum: Part Design module development
Topic: [Issue #3541] Hole feature does not work correct if sketch is not parallel to main planes
Replies: 11
Views: 752

Re: Hole feature does not work correct if sketch is not parallel to main planes

Had a quick glance through the code. It looks like the problem might be somewhere here: https://github.com/FreeCAD/FreeCAD/blob/master/src/Mod/PartDesign/App/FeatureHole.cpp#L980 /* Compute xDir normal to zDir */ if (std::abs(zDir.Z() - zDir.X()) > Precision::Confusion()) xDir = gp_Vec(zDir.Z(), 0,...

Go to advanced search