Commit Graph

16206 Commits

Author SHA1 Message Date
wmayer
d2e8fd3bbf make 3d view creation working with Qt 5.12 2019-03-23 21:18:18 +01:00
wmayer
8baab52737 suppress VS2917 warnings: C4267 2019-03-23 17:28:32 +01:00
wmayer
64f4d453b5 fix VS2917 warnings: C4091, C4477, C4302, C4311 2019-03-23 16:35:40 +01:00
wmayer
36849ffaf3 Improve project on surface dialog:
make function undo/redoable
work on document that was active when the dialog was opened
handle case when object or document is deleted while dialog is open
2019-03-22 17:18:12 +01:00
MA-DEVELOP\apeltauer
ef10c73782 transform sub shapes to global position 2019-03-22 17:18:12 +01:00
MA-DEVELOP\apeltauer
91e871d5cc improve creating the edges/wire in parametric space 2019-03-22 17:18:11 +01:00
MA-DEVELOP\apeltauer
4fcf8c1efb make a face copy 2019-03-22 17:18:11 +01:00
MA-DEVELOP\apeltauer
9e65f4c169 make a explicit copy 2019-03-22 17:18:11 +01:00
MA-DEVELOP\apeltauer
657656dee6 imrove the projection algorithm 2019-03-22 17:18:11 +01:00
apeltauer
f747d1cb46 Change the vector type to non const
I dont know why this fails on linux. On windows this works....
2019-03-22 17:18:10 +01:00
apeltauer
4f08bb5c76 add gp_dir include 2019-03-22 17:18:10 +01:00
MA-DEVELOP\apeltauer
0efd3a8811 add new feature "Projection on surface" 2019-03-22 17:18:09 +01:00
MA-DEVELOP\apeltauer
f4971d723f first working ui 2019-03-22 17:18:09 +01:00
Przemo Firszt
587a2476e5 Bump spec version to v0.19
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2019-03-22 11:01:46 -03:00
wandererfan
64b85f3184 Fix OCC error handling
- GeometryObject.cpp used OCC "Raise" to signal error
  condition, but this is only caught in GuiDocument.cpp.
  Changed to catch exception locally.
2019-03-22 11:00:14 -03:00
furti
a8aef43d2f Fix broken texture loading for PY 3 builds
The problem was that Python 3 wants a bytes object and not a string.
So we have to encode the string first to make it useable. Python 2 handles
bytes objects as normal strings so the fix should be backwards compatible.

Furthermore this commit adds a massive performance improvement by collecting
all bytes in a list and calling "join" at the end. This is significantly
faster than simply appending each byte to the bytes object one at one.

https://forum.freecadweb.org/viewtopic.php?f=3&t=35032
2019-03-22 10:59:26 -03:00
luz.paz
ad0ee86589 Misc. source comment typos 2019-03-22 10:44:14 -03:00
luz.paz
2e4e9c6d4e Add some more user-facing typo fixes 2019-03-22 10:44:14 -03:00
luz.paz
8c7c73ba4f Issue 3866: Partial fix for inaccurate tooltips 2019-03-22 10:44:14 -03:00
luz.paz
2ec8128338 Crowdin: cont... 2019-03-22 10:44:14 -03:00
luz.paz
3652a8a54a Crowdin: follow-up to previous commit 2019-03-22 10:44:14 -03:00
luz.paz
5103002df9 Crowdin: continuing translation string refinements/fixes 2019-03-22 10:44:14 -03:00
furti
41b85bb8cd Add option to fill cut shapes with material colors
Previously when setting the "Show Fill" property of the TechDraw Arch
Section View to true, the areas where always filled with a default grey
color.

This commit adds a property called "UseMaterialColorForFill" to the
ArchSectionPlane. When set to true, it will use the objects material
color to fill the cut shapes and fall back to the default color
when no Material is found.
2019-03-22 10:36:07 -03:00
Yorik van Havre
853c0142dc Arch: Fixed materials not updating their dicts 2019-03-20 10:00:30 -03:00
donovaly
b6e21be657 fix issue 0003885
Corrects wrong tooltips, fixes https://freecadweb.org/tracker/view.php?id=3885
2019-03-20 09:25:53 -03:00
Yorik van Havre
7da437c87e Draft: minor bugfix 2019-03-19 20:00:48 -03:00
Yorik van Havre
0034943f87 Arch: Fixed IFC export of rebars 2019-03-19 19:54:51 -03:00
Yorik van Havre
9640ff9423 Draft: Fix for translation 2019-03-19 14:17:39 -03:00
Dion Moult
c20528ee70 Allow move base to work for rotation too 2019-03-19 14:17:39 -03:00
Dion Moult
e07cbd00af Add warning if there are multiple parents for a base in statusline and in console 2019-03-19 14:17:39 -03:00
Yorik van Havre
101b334ef4 Draft: do not try to move object base if it has no base 2019-03-19 14:17:39 -03:00
Dion Moult
57b596e0fc Add a move base property that moves the base object instead of the object itself if true.
This is useful because it is the default case for most architectural work.
2019-03-19 14:17:39 -03:00
paullee0
8ceaab78fc Fix to Build Curve Segment Railing Wire To Follow Curve Landing
Limited by makePipeShell, curvilinear railing still usually has problems to be created

Discussions:-

https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&sid=bfd05589642577079096cd8879b7a88f&start=120#p285656
https://forum.freecadweb.org/viewtopic.php?f=22&t=34081#p285607
https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&start=110#p284683
2019-03-19 14:16:05 -03:00
paullee0
8af522df52 Revert "Build Curve Segment Railing Wire To Fit Landing"
This reverts commit e5989280bb8aeb73b73483c0c74d019bdb1116d6.
2019-03-19 14:16:05 -03:00
paullee0
1198f11a0b Build Curve Segment Railing Wire To Fit Landing
Limited by makePipeShell, curvilinear railing usually has problems to be created

Discussions:-
https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&start=110#p284683
https://forum.freecadweb.org/viewtopic.php?f=22&t=34081#p285607
2019-03-19 14:16:05 -03:00
Bernd Hahnebach
b137907520 FEM: constraint displacement object, some comments and code sorting 2019-03-19 14:15:15 -03:00
Bernd Hahnebach
a0003da98c FEM: unit tests, typo in comment 2019-03-19 14:15:15 -03:00
Bernd Hahnebach
fe7d8561a7 FEM: examples, update result object in 2D FEM example 2019-03-19 14:15:15 -03:00
Bernd Hahnebach
d75131edc7 FEM: examples, update result object in 3D FEM example 2019-03-19 14:15:15 -03:00
Bernd Hahnebach
c6b4ab0bce FEM: unit tests, fix von mises and principal stress calculations 2019-03-19 14:15:15 -03:00
Bernd Hahnebach
4e48c5ab39 FEM: update solver framework example 2019-03-19 14:15:15 -03:00
Bernd Hahnebach
58e2b0e748 FEM: vtk tools, use own names for vtk result object pipe 2019-03-19 14:15:15 -03:00
Bernd Hahnebach
b8c6e4dcce FEM: restult task panel, add automatic displacement factor 2019-03-19 14:15:15 -03:00
Bernd Hahnebach
4d8f85669c FEM: result reader, remove eigenmode result scaling 2019-03-19 14:15:15 -03:00
Bernd Hahnebach
b7807c967b FEM: results, remove stressvectors and strainvectors from result obj, adapt code elsewhere 2019-03-19 14:15:15 -03:00
Bernd Hahnebach
12228e5fe6 FEM: result tools, small changes for better code reading 2019-03-19 14:15:15 -03:00
Bernd Hahnebach
c80132ba34 FEM: results, move principal and shear calculation from result reader to result tools and use new result stress float lists 2019-03-19 14:15:15 -03:00
Bernd Hahnebach
d95e781d8f FEM: results, move vonMises from result reader to result tools and use new result stress float lists 2019-03-19 14:15:15 -03:00
Bernd Hahnebach
3f58cebca4 FEM: vtk result, add all stress strain components to vtk result creation 2019-03-19 14:15:15 -03:00
Bernd Hahnebach
751572f33c FEM: result task panel, make all stress strain components in user defined equation available and adapt ui 2019-03-19 14:15:15 -03:00