Search found 16529 matches

by wmayer
Sat Nov 28, 2020 2:51 pm
Forum: Developers corner
Topic: Help adding Rotation at BoundingBoxCenter mode in NavigationStyle.cpp
Replies: 7
Views: 434

Re: Help adding Rotation at BoundingBoxCenter mode in NavigationStyle.cpp

How does the code choose if ScenePointAtCursor and FocalPointAtCursor is used? This is realized inside the method NavigationStyle::saveCursorPosition. In the switch-case checks it first handles ScenePointAtCursor (if rotationCenterMode is set to this mode) and only if this finds a picked point it j...
by wmayer
Fri Nov 27, 2020 6:18 pm
Forum: Developers corner
Topic: [Work-around] #4169, #3921, #4018 PD Intersections Face/Edge
Replies: 7
Views: 547

Re: [Work-around] #4169, #3921, #4018 PD Intersections Face/Edge

See 0e93dd12 The function GeomAdapter::MakeCurves throws an exception for an offset curve and to handle this case a copy of the geometry is created and transformed. So, when you use the example file here and apply this code snippet s = App.ActiveDocument.Sketch.Shape e = s.Edge1.Curve o = Part.Offse...
by wmayer
Fri Nov 27, 2020 4:15 pm
Forum: Developers corner
Topic: [Work-around] #4169, #3921, #4018 PD Intersections Face/Edge
Replies: 7
Views: 547

Re: [Work-around] #4169, #3921, #4018 PD Intersections Face/Edge

#4018 is still open but is fixed by Werner with the commit above: https://tracker.freecadweb.org/view.php?id=4018 Is there a reason why this bug is still open or can it be closed? I do not like this solution, but I have not come with any better solution. When looking at the available classes there ...
by wmayer
Fri Nov 27, 2020 2:14 pm
Forum: Developers corner
Topic: Help adding Rotation at BoundingBoxCenter mode in NavigationStyle.cpp
Replies: 7
Views: 434

Re: Help adding Rotation at BoundingBoxCenter mode in NavigationStyle.cpp

See git commit c582e8a085

To test this mode activate the mode BoundingBoxCenter. You must do this directly in the code.
by wmayer
Fri Nov 27, 2020 1:03 pm
Forum: Developers corner
Topic: Help adding Rotation at BoundingBoxCenter mode in NavigationStyle.cpp
Replies: 7
Views: 434

Re: Help adding Rotation at BoundingBoxCenter mode in NavigationStyle.cpp

1. In NavigationStyle.cpp, saveCursorPosition, what does the different cases (ScenePointAtCursor, FocalPointAtCursor) mean? If I understand correctly this has to do with "Rotate at cursor" setting. But what is ScenePoint and what is FocalPoint in this case? ScenePointAtCursor gives you the exact in...
by wmayer
Fri Nov 27, 2020 11:29 am
Forum: Open discussion
Topic: 3DConnexion SpaceMouse - pressing ANY button dramatically zooms out and rotates the view
Replies: 53
Views: 1823

Re: 3DConnexion SpaceMouse - pressing ANY button dramatically zooms out and rotates the view

Yes, i found it yesterday. I have actually never noticed it before - i guess i overestimated the demand... :) That's a global list and shared between all views (seems to be intended). Perhaps it's just me, but i would rather like to have a separate list for each open file/view. Anyway - it's a diff...
by wmayer
Fri Nov 27, 2020 8:39 am
Forum: Help on using FreeCAD
Topic: Freecad Segfaulting (OCCT bug)
Replies: 3
Views: 164

Re: Freecad Segfaulting

But the output is this one: Program received signal SIGSEGV, Segmentation fault. #0 /lib/x86_64-linux-gnu/libc.so.6(+0x46210) [0x7ffff4d4d210] #1 0x7fffd3f3d359 in TopLoc_Location::Multiplied(TopLoc_Location const&) const from /lib/x86_64-linux-gnu/libTKMath.so.7+0x19 #2 0x7fffd80898c5 in BRep_Tool...
by wmayer
Thu Nov 26, 2020 8:16 pm
Forum: Archived Pull Requests
Topic: Fix thumbnail preview on XDG Desktops (#4078)
Replies: 14
Views: 521

Re: Fix thumbnail preview on XDG Desktops (#4078)

I've compared the versions on the packages in stalled on both. And did you apply chmod a+x to the script? In the Thunar settings make sure that thumbnails are activated. Either set it to "Always" or "Only for local files". And in the file /var/log/syslog can you see anything about the FreeCAD thumb...
by wmayer
Thu Nov 26, 2020 1:00 pm
Forum: Forum in Deutsch
Topic: nutzer microelly2 nicht mehr aktiv
Replies: 2
Views: 160

Re: nutzer microelly2 nicht mehr aktiv

Keine Ahnung. Habe mich das auch schon gefragt. Jedenfalls wenn man sein Profil anschaut, dann steht da, dass er letztmals am 13. November aktiv war.
by wmayer
Thu Nov 26, 2020 12:29 pm
Forum: Archived Pull Requests
Topic: Fix thumbnail preview on XDG Desktops (#4078)
Replies: 14
Views: 521

Re: Fix thumbnail preview on XDG Desktops (#4078)

Hooray! I got it working! On my system I neither use the .deb packages nor an AppImage but complie FreeCAD locally. When I tried to activate thumbnails the first time I could see that FreeCAD files got the same icon as for text documents (before it was the icon of compressed files) and that in the /...