Commit Graph

22528 Commits

Author SHA1 Message Date
J-Dunn
28f4ab9530 Merge pull request #1 from J-Dunn/ocl-tip-angle
Add files via upload
2020-09-27 18:42:25 +01:00
J-Dunn
1830c14bb0 Add files via upload
fix 3Dsurface bugs: variable name error and OCL using half tip angle. 
https://forum.freecadweb.org/viewtopic.php?f=15&t=50570
2020-09-27 18:34:31 +01:00
Clayton McCray
1ef31842c9 Conda doesn't export functions to subshells
build_unix_dev_conda.sh fails to activate the freecad_dev
environment. This is issue #7980 on the conda github. This has
one of the suggested work arounds added.
2020-09-27 13:02:40 +02:00
vocx-fc
53e2d35ee9 Part: change command name Part_MakeTube to Part_Tube
This follows the style of the other Part commands which don't
have the word `Make` just the name of the noun, `Box`, `Cylinder`,
`Sphere`, etc.
2020-09-27 13:01:16 +02:00
Zheng, Lei
f9aed763e4 App: fix recursive App::getLinksTo() 2020-09-27 12:59:38 +02:00
wmayer
25fbb95a9a Sketcher: [skip ci] fix computing of hotspot of XPM icons on Windows/macOS
Add a cross to copy and array icons.
2020-09-27 12:06:26 +02:00
Bernd Hahnebach
d8e476ef42 FEM: object unit tests, improve some comments 2020-09-26 23:29:38 +02:00
Bernd Hahnebach
331fd91e7c FEM: z88 solver, use same object type schema as for all other solver objects 2020-09-26 23:17:36 +02:00
Bernd Hahnebach
1ad4417b03 FEM: python code formating 2020-09-26 23:17:27 +02:00
wmayer
6d03265729 Gui: [skip ci] fix initialization of Python-based view providers in FreeCADGui.subgraphFromObject 2020-09-26 22:39:18 +02:00
wmayer
3a8a6aae1b Surface: add command to create surface from sections 2020-09-26 16:32:42 +02:00
wmayer
7616153b3c Part: add method to add a wire (e.g. to create a hole) to a face 2020-09-25 16:00:01 +02:00
wmayer
da6cdb94a1 Part: add method to return a reversed shape 2020-09-25 15:59:08 +02:00
wmayer
92fe662d65 Part: implement BSplineSurface.buildFromNSections based on GeomFill_NSections 2020-09-25 15:07:47 +02:00
wmayer
b44d20dbd8 Part: [skip ci] fix shape builder to create filled face from vertexes 2020-09-25 13:42:39 +02:00
wmayer
bf262b4188 Gui: [skip -ci] fix Document::toggleInSceneGraph() to avoid to add a node twice 2020-09-25 13:05:45 +02:00
Bernd Hahnebach
82a2c1b753 Arch: ifc export, workaround for draft array export and some small improvements 2020-09-24 17:50:42 +02:00
wmayer
3c7ae4f3e3 0004441: Changing Placement of a App::Part that contains a Part::FeaturePython causes drawing of a ghost object at original Placement [skip ci] 2020-09-24 17:39:17 +02:00
wmayer
a3cd010c82 Start: [skip ci] replace QTextStream and its manipulators with stringstream to avoid deprecation warnings with Qt 5.15 2020-09-24 13:46:15 +02:00
vejmarie
3e3006d015 Revert Qt::endl which is not defined in Qt << 5.15 version
Signed-off-by: vejmarie <jmverdun3@gmail.com>
2020-09-24 12:56:43 +02:00
vejmarie
339d994302 Revert a patch which shouldn't had been into this commit as it
is specific to Qt 5.15 and need a #define

Signed-off-by: vejmarie <jmverdun3@gmail.com>
2020-09-24 12:56:43 +02:00
vejmarie
81af54e410 Big update to remove deprecation warning from Qt 5.15.0
That is need on MacOS build as travis log is bigger than 50k lines
which breaks travis rules
And by the way deprecations are real
All file contains the same modification replace 0 to Qt::WindowFlags() when needed
as the class needs to be instantiated

Signed-off-by: vejmarie <jmverdun3@gmail.com>
2020-09-24 12:56:43 +02:00
wmayer
0306c237ed Sketcher: [skip ci] fix inconsistent indentations in SketchObject::rebuildExternalGeometry 2020-09-24 11:32:22 +02:00
shermelin
923607b46b Projections of arcs of circle, orthogonal case
Implementation when circle plane orthogonal to projection plane.
2020-09-24 11:22:58 +02:00
wmayer
3e7e2a9bc4 Sketcher: [skip ci] fix undo bug when directly changing a datum constraint in the property editor 2020-09-23 16:59:23 +02:00
wmayer
50284e1ef2 Sketcher: [skip ci] fix computing of hotspot of sketcher icons on macOS 2020-09-23 11:31:17 +02:00
wmayer
fe3f1b51b7 PartDesign: [skip ci] fixes #0004371: Changing Hole profile from ISO to nothing is not possible: "Hole: Cannot get value from invalid enumeration" 2020-09-23 11:11:27 +02:00
donovaly
4a1f81395e [PD] fix 2 hole dialog bugs
- 1. reported here: https://forum.freecadweb.org/viewtopic.php?p=432936#p432851
also unthreaded holes can have a close or standard fit

- 2. reported here: https://forum.freecadweb.org/viewtopic.php?p=432936#p432944
the thread direction is always left. The reason is that this property is an enum but the dialog returns a bool.

- also fix an UI issue with the spin boxes (automatically found and repaired by Qt's designer, thus the many changes in the UI file)
2020-09-23 09:58:53 +02:00
Vanuan
8ea1a38849 HiDPI: Change Sketcher crosshair hot spot xy
See https://forum.freecadweb.org/viewtopic.php?p=432021#p432021
2020-09-23 09:55:41 +02:00
wmayer
2de44b123b FEM: [skip ci] Coverity: Dereference after null check 2020-09-22 20:32:21 +02:00
wmayer
37c4d51501 PartDesign: [skip ci] Coverity: Structurally dead code 2020-09-22 20:22:26 +02:00
wmayer
46ab178102 PartDesign: [skip ci] Coverity: Bad use of null-like value 2020-09-22 20:03:42 +02:00
wmayer
60443034a4 PartDesign: [skip ci] fix method to access main window in shaft wizard 2020-09-22 19:15:59 +02:00
wmayer
ec5bbad626 OpenSCAD: [skip ci] Coverity: Bad use of null-like value 2020-09-22 14:22:10 +02:00
Oscar Rainford
8fe0d19ebe Include Inventor/SbByteBuffer.h in QuarterWidget.cpp to allow compilation with latest Coin3D library. 2020-09-22 14:05:01 +02:00
Yorik van Havre
35d5c5dc4c Arch: allow exporting of objects with no solid or shell to IFC 2020-09-22 13:31:04 +02:00
vocx-fc
621e1d603b Draft: fix loading of arrays 2020-09-22 12:12:00 +02:00
wmayer
700af3aa7f Sketcher: [skip ci] fix computing of hotspot of sketcher icons on Windows 2020-09-21 16:32:25 +02:00
wmayer
ffa1da617f Python: [skip ci] expose Python types in their corresponding modules 2020-09-21 15:04:26 +02:00
Yorik van Havre
376299d55e Added liberapay badge to readme 2020-09-21 15:03:02 +02:00
vocx-fc
6379d802b1 Draft: split svg.get_path function for paths that are BSplines
If it's not a circle nor ellipse nor straight line
convert the curve to BSpline. Move into a subfunction.

Improve a few varible names to be more verbose, like `vertex`
and `edge`.
2020-09-21 14:25:03 +02:00
vocx-fc
f2d10669e5 Draft: svg, move test so the code is less indented
The angle between the curve and plane is tested for being coplanar,
0 or 180 degrees. The negative test is done earlier so that the
return is done earlier, and the rest of the code is not indented.
2020-09-21 14:25:03 +02:00
vocx-fc
8e69b05e9d Draft: split svg.get_path into smaller readable functions
Split the SVG string for circular and elliptical paths.
2020-09-21 14:25:03 +02:00
vocx-fc
2f48f1caba Draft: split svg.get_text into smaller readable functions
Split the code for SVG string that will be displayed
for TechDraw pages; also split the header for other cases.
2020-09-21 14:25:03 +02:00
vocx-fc
0739ffa58e Draft: clean up SVG processing code, add comments
For the try-except blocks we should trap a specific `Exception`,
not just any type. It seems string handling was an issue
with Python 2, so the string needed UTF8 decoding.

When the software no longer supports Python 2, these
blocks can be removed.
2020-09-21 14:25:03 +02:00
vocx-fc
dea7f5d638 Draft: Drawing is still used in get_dxf function 2020-09-21 14:25:03 +02:00
Zheng, Lei
31e8bb27a6 Draft: fix point array without using link 2020-09-21 14:01:42 +02:00
Zheng, Lei
607c14b512 Draft: add support for point link array 2020-09-21 14:01:39 +02:00
wmayer
901ee4e5e1 PD: [skip ci] fix msvc warning 2020-09-21 13:28:56 +02:00
sgrogan
9d62dca003 Update Libpack 2020-09-20 22:26:45 +02:00