Commit Graph

6412 Commits

Author SHA1 Message Date
wmayer
664cf65d26 fix -Wextra in PartDesign 2016-09-22 18:34:56 +02:00
wmayer
15d7ae5e2c fix -Wextra in Sketcher 2016-09-22 18:34:35 +02:00
wmayer
65bcaf4b6e fix -Wextra in Measure 2016-09-22 16:46:18 +02:00
wmayer
c1034fbe74 fix -Wextra in Import 2016-09-22 16:40:20 +02:00
wmayer
6cf82fbe62 fix -Wextra & -Wdeprecated in Spreadsheet 2016-09-22 16:35:05 +02:00
wmayer
801ac34258 fix -Wdeprecated in Part & FreeCADGui 2016-09-22 15:32:49 +02:00
wmayer
14892bc880 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2016-09-22 15:29:47 +02:00
wmayer
b9c25c8402 fix -Wextra & -Wdeprecated in Drawing 2016-09-22 15:29:10 +02:00
Keith Sloan
e26a3bfc58 Remove swp files 2016-09-22 10:18:25 -03:00
Keith Sloan
618fa222d5 First attempt at support for CSG text command 2016-09-22 10:18:25 -03:00
Keith Sloan
186e6512b1 Remove swp files 2016-09-22 10:18:25 -03:00
Keith Sloan
b5826607d9 First attempt at support for CSG text command 2016-09-22 10:18:24 -03:00
wmayer
4d2ccdfb72 fix -Wextra in Main & Complete 2016-09-22 14:24:38 +02:00
wmayer
49072208ee fix -Wextra in Image 2016-09-22 14:23:25 +02:00
wmayer
f944ab3846 replace deprecated auto_ptr with unique_ptr 2016-09-22 13:01:20 +02:00
wmayer
1ce73dda96 fix -Wextra in Part 2016-09-22 11:49:28 +02:00
wmayer
53531b603a fix -Wextra in Start & Web 2016-09-21 21:27:09 +02:00
wmayer
49869ba7a1 fix -Wextra in Test 2016-09-21 21:15:10 +02:00
wmayer
a800622620 fix -Wextra in Points 2016-09-21 21:10:41 +02:00
Yorik van Havre
1ab7e05fce Arch: fixed error in IFC export (typo) 2016-09-21 15:14:37 -03:00
wmayer
1c4052bde9 for obj export only create mtl file if color is per face 2016-09-21 10:05:40 +02:00
wmayer
a943434c7c remove non-existing command Path_ToolLibraryEdit from list 2016-09-21 10:04:08 +02:00
Yorik van Havre
97c0838014 Arch: Renamed Arch_ToggleSubcomponentDisplay command to Arch_ToggleSubs 2016-09-20 11:43:54 -03:00
Yorik van Havre
de62ff0444 Merge branch 'cfd1' of https://github.com/qingfengxia/FreeCAD into cfd 2016-09-20 11:30:42 -03:00
Yorik van Havre
008fed6f6f Arch: added damian's fix to Arch Remove 2016-09-19 16:11:41 -03:00
Yorik van Havre
12d632dc70 Arch: made IFC importer more compatible with older IfcOpenShell 2016-09-19 16:02:00 -03:00
DeepSOIC
47c745f228 Part: Offset2D: fix save-load instability
Fixes #2699
It was found out that when direction of normal found by FindPlane
depends on if we are using result of offset directly, or after copying.

The fix (workaround) is to copy offset result inside  offset routine, so
that no unstable behavior makes its way to the user.
2016-09-18 18:45:04 +03:00
qingfengxia
0a5b6e1e5c Fem: fix typo of FemGui::ViewProviderResultPython 2016-09-17 14:39:29 +01:00
Yorik van Havre
15c368d982 Arch: Fixed drag-n-drop in Arch groups 2016-09-16 19:57:06 -03:00
qingfengxia
b45e4419bd add help text for thermal fluid boundary for CFD 2016-09-16 23:01:09 +01:00
qingfengxia
73377204a1 make FemResultObject extensible in python as FemSolverObject 2016-09-16 23:01:09 +01:00
wmayer
e05d2d5de3 switch off dtd validation when reading svg files 2016-09-16 23:09:56 +02:00
sliptonic
abc97f87c3 bug with EngraveEdit 2016-09-15 20:28:33 -05:00
wmayer
afa37847b5 remove Application::runPythonCode 2016-09-15 23:14:31 +02:00
Yorik van Havre
0ef07032fd Arch: fixed typo 2016-09-15 15:45:11 -03:00
wmayer
18cc6c1851 remove method Application::runCommand 2016-09-15 19:39:16 +02:00
wmayer
f44df3cdf0 do not use doCommand without using format string, add overloaded method of runCommand 2016-09-15 18:53:37 +02:00
Yorik van Havre
1efd9a4b4f Arch: Added new Footprint display mode to walls 2016-09-15 12:38:48 -03:00
Yorik van Havre
4bb97c71ea Arch: Added stairs to structure precast types 2016-09-15 12:38:08 -03:00
wmayer
53ca0eb6a3 support offset curve in edge.Curve for occ 7.0 2016-09-15 10:36:44 +02:00
Yorik van Havre
d0dc4d1053 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-09-14 18:56:11 -03:00
Yorik van Havre
0ad956c45b Arch: IFC exporter now exports 2D geometry as IfcAnnotations 2016-09-14 18:55:55 -03:00
wmayer
5b069f993e Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2016-09-14 21:08:26 +02:00
wmayer
268d7f4656 use 'patch' for segment names and make unique names 2016-09-14 21:07:52 +02:00
Yorik van Havre
8eedc79f35 Draft: Fixed missing end arrow in SVG rendering of wires/splines 2016-09-14 16:07:38 -03:00
Yorik van Havre
d8ebfe58c5 TechDraw: Extended Draft View 2016-09-14 12:38:34 -03:00
wwmayer
796c8330fe Merge pull request #280 from DeepSOIC/patch-1
PartDesign: Gui: fix primitive command what's this string
2016-09-14 14:57:41 +02:00
wwmayer
cccf1ee613 Merge pull request #279 from WandererFan/PreProd
TechDraw bug fixes
2016-09-14 14:57:00 +02:00
Bernd Hahnebach
d20ea7ac90 FEM: add tetras to known elements for retriving face loads if no face data exists 2016-09-13 20:17:31 -03:00
Bernd Hahnebach
f17fa5ed71 FEM: fix z88 result reader 2016-09-13 20:17:31 -03:00
Bernd Hahnebach
e2f5bba5a9 FEM: prefs, move z88 prefs in an own tab 2016-09-13 20:17:31 -03:00
Bernd Hahnebach
fd10984242 FEM: make use of new pref for standard location of ccx on Windows OS 2016-09-13 20:17:31 -03:00
Bernd Hahnebach
28579516b6 FEM: add new pref for use of ccx standard path 2016-09-13 20:17:31 -03:00
Bernd Hahnebach
0da41bb4cc FEM: remove working dir and ccx binary check from InitGui
- they are duplicates of the methods in FemToolsCcx
- FEM could be used without solving too
- they only checked for ccx, but we have more solver already
2016-09-13 20:17:31 -03:00
Yorik van Havre
3dd586b5be Draft: small optimizations of Draft's SVG output and fixed wrong dash scale 2016-09-13 20:11:03 -03:00
Yorik van Havre
217a67ddb2 Arch: support for layer splitting function of ifcopenshell 2016-09-13 20:08:25 -03:00
Yorik van Havre
1749315ead Arch: fixed error message when restoring section planes 2016-09-13 20:06:25 -03:00
DeepSOIC
b74b92fe23 PartDesign: Gui: fix primitive command what's this string 2016-09-13 18:54:54 +04:00
WandererFan
4e729f0840 Changes re comments on PR279 2016-09-12 07:41:24 -04:00
WandererFan
254b28ea77 Fix #2692 TaskProjectGroup cancel button 2016-09-11 13:12:24 -04:00
WandererFan
81472a5fd8 Fix over-aggressive input cleansing 2016-09-11 13:12:24 -04:00
WandererFan
4d7f00860e reduce use of "execute" on cosmetic changes. 2016-09-11 13:12:24 -04:00
WandererFan
6dc017a1ce Add notes re Kura. subgraph 2016-09-11 13:12:24 -04:00
WandererFan
884a32fabf Coverty changes:
** CID 152490:  Control flow issues  (DEADCODE)
** CID 152492:  Null pointer dereferences  (FORWARD_NULL)
** CID 152493:  Null pointer dereferences  (FORWARD_NULL)
** CID 152494:  Null pointer dereferences  (FORWARD_NULL)
** CID 152495:  Null pointer dereferences  (FORWARD_NULL)
** CID 152496:  Null pointer dereferences  (FORWARD_NULL)
** CID 152497:  Null pointer dereferences  (FORWARD_NULL)
** CID 152502:  Null pointer dereferences  (REVERSE_INULL)
** CID 152507:  Uninitialized members  (UNINIT_CTOR)
** CID 152508:  Uninitialized members  (UNINIT_CTOR)
** CID 152508:  Uninitialized members  (UNINIT_CTOR)
** CID 152510:  Uninitialized members  (UNINIT_CTOR)
2016-09-11 13:12:24 -04:00
WandererFan
bcb29541aa Suppress extraneous log messages 2016-09-11 13:12:24 -04:00
WandererFan
6c937e1bbe Protect EdgeWalker against bad input 2016-09-11 13:12:24 -04:00
WandererFan
d3afb32487 Avoid Bnd_Box is void exception when shapes don't intersect. 2016-09-11 13:12:24 -04:00
WandererFan
a5b5104875 Implement Cancel logic for TaskViewSection 2016-09-11 13:12:24 -04:00
WandererFan
17fe63598f Handle case where no faces found in View. 2016-09-11 13:12:24 -04:00
WandererFan
70420d9e3b Fix getViewObject inheritance across all ViewProviders 2016-09-11 13:12:24 -04:00
Yorik van Havre
9ae3f1bc6f Arch: Better retrieval of materials from IFC files 2016-09-11 13:28:40 -03:00
Yorik van Havre
23cbb317df Arch: small cosmetic fix in IFC export 2016-09-11 11:41:44 -03:00
Yorik van Havre
a181cb0b1b Arch: Prefer vertical extrusions when recreating extrusions from IFC files 2016-09-10 19:06:58 -03:00
Yorik van Havre
1ee839b762 Arch: Fixed bug introduced by a932f7a 2016-09-10 18:54:40 -03:00
Yorik van Havre
ee314edeeb Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-09-10 14:44:15 -03:00
Yorik van Havre
a932f7a363 Arch: Added Arch/Utilities/Toggle Subcomponent Display command 2016-09-10 14:44:00 -03:00
wmayer
5e0a60b377 fix build problems with netgen under Linux 2016-09-10 19:17:37 +02:00
wmayer
7e127c9b6a replace hard-coded shortcut 2016-09-10 14:49:39 +02:00
wmayer
9370378ec7 allow to pass parameter range when creating a line from a line 2016-09-09 13:02:15 +02:00
Yorik van Havre
ae02a456bf Draft: minor bugfix in SVG output 2016-09-08 16:18:24 -03:00
wmayer
61f663d117 issue #0002524: Make property docstrings translatable 2016-09-08 18:29:27 +02:00
WandererFan
5fd19bb5f4 Break up try/catch blocks for easier debugging 2016-09-08 16:18:52 +02:00
WandererFan
cebe2faee1 Handle degenerate edges in face detection 2016-09-08 16:18:52 +02:00
wmayer
e15799c40d improve handling of face colors when creating a mesh with segments 2016-09-08 14:01:34 +02:00
wmayer
435cc3786d take care of segments in mesh on export 2016-09-08 13:32:30 +02:00
Yorik van Havre
eac69724aa Arch: more failsafe area computation 2016-09-07 20:15:42 -03:00
Yorik van Havre
beb558c521 Arch: small bugfix in equipment 2016-09-07 19:54:38 -03:00
Yorik van Havre
f449e052de Arch: special icon for cloned Equipments 2016-09-07 19:37:47 -03:00
Yorik van Havre
c9df54b03c Arch: Support for IFC footprint representations 2016-09-07 17:17:24 -03:00
Yorik van Havre
7d698101aa Arch: Misc bugfixes in panel 2016-09-07 17:16:44 -03:00
wmayer
4cb20dc783 support coloring of mesh segments 2016-09-07 21:51:05 +02:00
wmayer
361951eac3 create mesh segments by face colors 2016-09-07 19:20:33 +02:00
wmayer
1ed35628ab add OCC standard meshing algorithm to Mesher class 2016-09-07 16:39:54 +02:00
Yorik van Havre
50d0eae513 Arch: different icon for cloned windows 2016-09-06 22:21:34 -03:00
Yorik van Havre
56ff892681 Arch: Removed trailing spaces 2016-09-06 13:05:07 -03:00
Yorik van Havre
8e50c83291 Arch: Added border & ridge length properties to Roofs - fixes #2636 2016-09-06 13:04:23 -03:00
fandaL
676e543a46 FEM: frd mesh import, element nodes read changes 2016-09-06 17:00:57 +02:00
fandaL
dda762de69 FEM: frd mesh import, penta15 node order 2016-09-06 17:00:57 +02:00
wmayer
6313528886 improve obj export of mesh with colors 2016-09-06 17:00:34 +02:00
Bernd Hahnebach
163de1d827 FEM: ConstraintForce: add node load calculation for face loads on faces of tetra, hexa and penta elements 2016-09-05 15:52:51 +02:00
Bernd Hahnebach
781bd43667 FEM: ConstraintForce: add node load calculation for face loads on quad4 and quad8 faces 2016-09-05 09:26:50 +02:00
Bernd Hahnebach
3d4905824f FEM: FemMeshTools: typo and change print error messages to console error messages 2016-09-05 09:26:50 +02:00
Yorik van Havre
1a0efaa491 Raytracing: Yield error when creating a Luxrender view of a shape with no faces - fixes #2685 2016-09-04 23:12:53 -03:00
Yorik van Havre
11952d2062 Arch: area properties for Arch objects - fixes #2635 2016-09-04 15:27:55 -03:00
Yorik van Havre
5d21e05fc5 Arch: small cosmetic change to ArchSchedule console output 2016-09-03 19:47:44 -03:00
wmayer
9ed53fea38 fix Coverity issues 2016-09-03 12:35:34 +02:00
wwmayer
04aa24ec00 Merge pull request #271 from DeepSOIC/UIFixes
PartGui: fixes to Revolve and Extrude tasks
2016-09-02 17:30:32 +02:00
DeepSOIC
4e252175ee PartGui: Fixes and updates for Offset2D to task dialog
+ add expression support for offset value
2016-09-02 16:26:02 +02:00
DeepSOIC
c5f642e44a PartGui: add 2D Offset feature creation command
(made offset toolbar button into a dropdown button)

Icon for 2D offset was copied from Draft workbench.
2016-09-02 16:26:02 +02:00
DeepSOIC
e3ca28baa8 Part: add Offset2D feature
derived from Part::Offset, to re-use task dialog easily
2016-09-02 16:26:02 +02:00
DeepSOIC
1f6174e3f2 Part: Offset feature: split off into separate file
withdrew code from PartFeatures.h/.cpp and created FeatureOffset.h/.cpp
2016-09-02 16:26:02 +02:00
DeepSOIC
7f6872817a Part: Py API: deprecate Part.Wire.makeOffset
(code unchanged. Only added deprecation note to documentation)
2016-09-02 16:26:02 +02:00
DeepSOIC
78d32b6405 Part: Py API: add makeOffset2d method to Part.Shape
+ write documentation to makeOffsetShape
2016-09-02 16:26:02 +02:00
DeepSOIC
5318e03561 Part: TopoShape: add makeOffset2D method
Supports:
* offsetting wire, compound of wires.
* offsetting compounds in collective or independent manners
('intersection' parameter)
* two offset modes (parameter 'allowOpenResult')
* filling offset when offsetting one wire, or compound in independent
manner

Not supported yet (planned):
* filling offset when offset in collective manner (intersection= true)
* offsetting planar faces
2016-09-02 16:26:02 +02:00
DeepSOIC
c60e4c944e PartGui: task Extrude: fix remove selection gate on cancel 2016-09-02 15:05:30 +03:00
DeepSOIC
35ed8a8afa PartGui: fixes to Revolve and Extrude tasks by @f3nix
fixes layout issues on KDE of Part Extrude and Part Revolve task dialogs
2016-09-02 12:03:21 +03:00
WandererFan
c0428a940b minor fixes SectionFace zOrder, orphan graphics items 2016-09-01 12:14:43 -04:00
WandererFan
7e04c17bdd Fix part/section handling of Face OuterWire 2016-09-01 12:14:43 -04:00
WandererFan
b75f82b500 Fix for Wires with same bbox, different areas 2016-09-01 12:14:43 -04:00
WandererFan
13afc71260 Handle zero length TopoDS_Edge in Geometry 2016-09-01 12:14:42 -04:00
WandererFan
0ba0351666 Minor performance improvements 2016-09-01 12:14:42 -04:00
WandererFan
34644e9d71 Fix Section arrows,xDir,label 2016-09-01 12:14:42 -04:00
WandererFan
b47eff76ae Changes re const, ref and TopExp per wmayer
Refactor debug routines to DrawUtil
2016-09-01 12:14:42 -04:00
WandererFan
9a93185f7e Py binding for EdgeWalker
refactor EdgeWalker code from DVP,DVS
2016-09-01 12:14:42 -04:00
WandererFan
27ff991d79 Fix ProjectionGroupItem spacing 2016-09-01 12:14:42 -04:00
WandererFan
3901d2fe82 Add View centerlines 2016-09-01 12:14:42 -04:00
wmayer
0fa94ee0a9 improve obj support 2016-09-01 18:07:18 +02:00
wmayer
e6575f65f9 fix compiler warnings 2016-09-01 12:01:22 +02:00
DeepSOIC
fa2b70878e PartGui: Extrude: new task dialog
to account for new functionality of extrusion feature.
2016-09-01 11:46:18 +02:00
DeepSOIC
98418a4e0c Part: Extrude: improvements
* split Dir into Dir+Length; added second Length
* support for parametric linked direction: to arbitrary edge, and to
normal
* options: reverse, symmetric
* second taper angle
* changed offset join mode for tapered extrusion on OCCT7
2016-09-01 11:46:18 +02:00
DeepSOIC
616c2f7feb PartGui: Revolve: solid checkbox automation
Solid checkbox will be checked by default, if the shape being revolved
is closed wires.
2016-09-01 11:46:18 +02:00
DeepSOIC
f3a3bd14fb [breaking] Part: Revolve: fix forgotten check for reverseness of axis link
I didn't know BRepAdaptor_Curve does not take shape orientation
(reverseness) into account.

The commit can break existing projects. If revolution feature was
created with axis linked to reversed edge, and angle span is not 360,
the revolution direction will now swap. The chances of this situation
are pretty low, and revolution supports axis linkage for not long yet.
So I hope it won't cause any noticeable trouble.

--DeepSOIC
2016-09-01 11:46:18 +02:00
wmayer
6e284fc9ea fix crash when saving a document after aborting a pending transaction 2016-08-31 17:58:55 +02:00
Yorik van Havre
23f39cdf2d Arch: small fix in Schedule tool 2016-08-30 11:23:13 -03:00
Yorik van Havre
0d25df0c61 Arch: Rewrite of Arch Schedule tool - fixes #2643 2016-08-29 19:24:34 -03:00
Yorik van Havre
1843f89659 Draft: fixed export of invalid shapes to DXF 2016-08-28 14:18:12 -03:00
Yorik van Havre
ff2ccdd648 Arch: minor bugfixes in Pipes 2016-08-26 18:26:46 -03:00
Yorik van Havre
783ec34967 Minor bugfixes in Arch & Draft 2016-08-26 15:10:33 -03:00
Yorik van Havre
77dec4b91d TechDraw: Forgot one icon in last commit 2016-08-26 12:30:25 -03:00
Yorik van Havre
f0daa5ae16 TechDraw: Made some icons legible on dark UI theme 2016-08-26 12:25:43 -03:00
WandererFan
4cb4e5f04a Create ViewSection from ViewPart
Property name changes
Touch section when View SymbolSection changes
2016-08-26 11:39:03 -03:00
WandererFan
adb2fdafa5 Add methods for removing equivalent edgeLists from result 2016-08-26 11:39:03 -03:00
Yorik van Havre
f1bc0ce25d Draft: Apply clones scaling before the placement - fixes #2681 2016-08-26 11:25:01 -03:00
wmayer
46adbae952 fix whitespaces 2016-08-25 12:27:08 +02:00
Sergo
c90da8e5fb fix relinkToOrigin, remove source body from list, etc 2016-08-24 19:11:26 +02:00
Sergo
3177402141 typo 2016-08-24 19:11:26 +02:00
Sergo
8750ac5916 Test: Add case to test attempt when feature is not movable 2016-08-24 19:11:26 +02:00
Sergo
f49ddaea45 PD MoveFeature:Check if feature has dependencies in source body 2016-08-24 19:11:26 +02:00
Sergo
dcd94203eb Test: test moving features from one part to another 2016-08-24 19:11:26 +02:00
Sergo
85015ef494 PartDesignGui: move feature with its dependencies 2016-08-24 19:11:26 +02:00
wmayer
22d8095b86 fix memory leak 2016-08-24 19:09:12 +02:00
wmayer
a830b8feb3 improve whitespaces 2016-08-24 19:08:45 +02:00
Yorik van Havre
75ec90e519 Arch: Fixed remaining bugs in Pipes 2016-08-24 11:25:57 -03:00
Yorik van Havre
9fbd71af45 Arch: Forgot a file in last commit - issue #2661 2016-08-24 10:25:29 -03:00
Yorik van Havre
4c90410766 Arch: Tube tools - fixes #2661 2016-08-24 10:24:31 -03:00
Pablo Gil
b9f454b248 new patterns designed from scratch 2016-08-24 09:35:53 -03:00
Yorik van Havre
51ec213f45 Draft: Added Draft Slope command - allows to change the slope of a selected Line or Wire 2016-08-22 17:34:38 -03:00
Yorik van Havre
6f38f91dd0 Arch: Added specials snap
* Remove Arch option to snap to wall base (reimplemented below)
* Added new Specials snap button
* Special snap snaps to wall baselines, structure basepoints, and contents of SnapPoints property, if existing
2016-08-22 13:49:54 -03:00
Sergo
52b98f9cf2 PD ui: Fix Primitive combobuttons icons remember last choice 2016-08-22 16:08:20 +02:00
wmayer
4ba53881b5 fix Coverity issues 2016-08-22 15:33:54 +02:00
wmayer
63ad26491f fix Coverity issues 2016-08-22 15:02:18 +02:00
wmayer
7f2a9da5d3 fix Coverity issues 2016-08-22 13:15:21 +02:00
wmayer
8e71e4038b fix Coverity issues 2016-08-21 23:13:22 +02:00
wmayer
e8b36592c0 fix Coverity issues 2016-08-21 18:46:40 +02:00
wmayer
32aa72e94c fix Coverity issues 2016-08-21 15:13:32 +02:00
wmayer
9459938cdc fix Coverity issues 2016-08-21 14:44:14 +02:00
Ian Rees
8cc3ee64e8 TechDraw: Fix Coverity dynamic_cast warnings 2016-08-21 11:08:29 +02:00
Marco Molteni
666fba6e8b Enable building the KDL libray with clang 2016-08-20 22:01:51 +02:00
wmayer
d39bd4906b fix Coverity issues 2016-08-20 19:45:36 +02:00
wmayer
d80c05e186 fix Coverity issues 2016-08-20 17:21:01 +02:00
wmayer
ae663b3b51 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2016-08-20 15:41:56 +02:00
wmayer
f3f0f5bd2e fix Coverity issues 2016-08-20 15:41:33 +02:00
Yorik van Havre
0a8ed56962 Draft: Pressing Wire when several connected lines are selected now turns them into a wire 2016-08-19 20:24:27 -03:00
Yorik van Havre
c0a5310511 Arch: fixed typo 2016-08-19 19:09:23 -03:00
Yorik van Havre
fa69f105fb Draft: removed trailing spaces 2016-08-19 18:59:24 -03:00
wmayer
de7978434d fix Coverity issues 2016-08-19 22:51:33 +02:00
wmayer
0d010d0418 fix crash in FemMeshPy::addVolume 2016-08-19 16:56:05 +02:00
Yorik van Havre
717fe546f0 Arch: Allow equipments to be non-solid 2016-08-18 12:20:45 -03:00
Yorik van Havre
4e1794f5c8 Draft: Fixed grid that was not working anymore after closing a document 2016-08-17 16:38:23 -03:00
Yorik van Havre
639cb0460a Arch: Added preferences to leave some subcomponents unclaimed by their host object (allows to place them in groups) 2016-08-17 13:21:17 -03:00
Yorik van Havre
e739613173 Arch: Fixed transparency bug in windows 2016-08-17 13:19:47 -03:00
wmayer
d98337b5f2 Coverity: fix high impact issues 2016-08-17 15:33:04 +02:00
wmayer
9b013f7254 Coverity issues: fix Mesh, Points and Inspection module 2016-08-17 14:08:47 +02:00
wmayer
e4f0ddad84 Coverity issues: check return value of dynamic_cast or replace it with static_cast 2016-08-17 10:43:58 +02:00
Yorik van Havre
3dd3461aec Do not get transparency from DiffuseColor if not set per face - fixes #2675 2016-08-16 23:45:17 -03:00
Yorik van Havre
20d6c93fd5 Draft: fixed issues with DXF import when used by OpenSCAD WB 2016-08-16 16:43:47 -03:00
Yorik van Havre
81c5994e05 Arch: Fixed use of tempfile.mkstemp - fixes #2674 2016-08-16 11:17:45 -03:00
wmayer
58bf4ca455 fix warning 2016-08-16 15:24:33 +02:00
WandererFan
0023758263 Linear dims closer to stds 2016-08-16 14:29:15 +02:00
WandererFan
0d0040355c Fix sections not in xy plane 2016-08-16 14:29:15 +02:00
WandererFan
cf90d69319 Implement automatic scaling 2016-08-16 14:29:15 +02:00
WandererFan
fa57b7a5de Fix dimension highlighting problems
Derived all lines from PrimPath
2016-08-16 14:29:15 +02:00
WandererFan
5c63c8a957 Remove refs to Dim centerline property from commands 2016-08-16 14:29:15 +02:00
WandererFan
5c62493b31 QGIArrow inherits QGIPrimPath 2016-08-16 14:29:15 +02:00
WandererFan
4fe4c31966 Add vertex-edge dimension 2016-08-16 14:29:15 +02:00
WandererFan
af7d257b91 Add centermarks for circles in Views 2016-08-16 14:29:15 +02:00
wmayer
0e0d3446ba free file descriptor when closing file 2016-08-16 12:55:50 +02:00
Bernd Hahnebach
18555102a1 FEM: prefs, move general prefs to general prefs class 2016-08-16 11:03:28 +02:00
Bernd Hahnebach
302dccdb3d FEM: move prefs path off General prefs tab to BaseApp/Preferences/Mod/Fem/General 2016-08-16 11:03:28 +02:00
Ian Rees
d9b4213989 TechDraw: Clean up warnings about missing override 2016-08-16 08:15:53 +12:00
Ian Rees
b432a0333c TechDraw: Coverity warning CID 151763 2016-08-16 08:15:53 +12:00
Ian Rees
34583fad05 TechDraw: Fix some Coverity Unchecked dynamic_cast
CIDs from sasobadovinac-FreeCAD:
151684
151714
151715
151716
151718
151719
151720
151721
151722
151724
151725
151730
151749
151759
151771
151794
2016-08-16 08:15:36 +12:00
Ian Rees
66bd0f6b90 TechDraw: Fix Coverity "Structurally Dead Code"
CID 152020
2016-08-16 08:15:09 +12:00
Bernd Hahnebach
892271c0d5 FEM: fix prefs 2016-08-15 21:39:24 +02:00
Bernd Hahnebach
fe47ef78ab FEM: code formating, replace tabulator with spaces 2016-08-15 21:39:01 +02:00
Bernd Hahnebach
55873e71bf FEM: mesh python api, add methods to add edges with id 2016-08-15 21:38:31 +02:00
Bernd Hahnebach
a39f57c7cc FEM: mesh python api, add method to add faces with id 2016-08-15 21:38:09 +02:00
Bernd Hahnebach
421b3f5abb FEM: mesh python api, delete some empty lines 2016-08-15 21:37:35 +02:00
Bernd Hahnebach
5f94c14b36 FEM: mesh python api, better error message 2016-08-15 21:37:08 +02:00
Bernd Hahnebach
4c64351da9 FEM: python mesh tools, fix key name for penta15 and format code better 2016-08-15 21:36:42 +02:00
Bernd Hahnebach
c923d23b70 FEM: inp mesh importer, add module to cmakefiles 2016-08-15 21:36:21 +02:00
fandaL
7d2f1cbaf3 FEM: import mesh from .inp file 2016-08-15 21:35:54 +02:00
wmayer
1e12b54a7b Coverity issues:
129202: replace dynamic_cast with static_cast
129421, 129422: fix Py_Return macro
128928: Unchecked return value
129488, 129490: uninitialized scalar variable
129567, 129661: uninitialized scalar field
129665: uninitialized pointer field
2016-08-15 21:28:41 +02:00
Mateusz Skowroński
7e0181463c QFileDialg::setFilters() is obsolete in Qt4. Replace it with setNameFilters().
This change is Qt4/Qt5 neutral.
2016-08-15 14:15:05 +02:00
Mateusz Skowroński
8c6bede7b8 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-08-15 14:14:40 +02:00
wmayer
aea769af3d use a stricter tolerance to check for equal points
add method IsEqual to Vector3 class to support user-defined tolerance
2016-08-15 14:09:26 +02:00
wmayer
99ad0b71b9 + issue #0002546: FEM constraint parameters can't be smaller than 0,01 (N) 2016-08-14 23:07:24 +02:00
wmayer
c5d0e08cbc fix disappearing constraint icons when using a symmetry constraint 2016-08-14 19:25:53 +02:00
wmayer
5013e89271 fix displacement of constraint icons in sketch edit mode 2016-08-14 18:02:22 +02:00
wmayer
65fbd5933b make code more readable 2016-08-14 16:46:58 +02:00
wmayer
bfb80b058c extend Python interface of sketcher and make non-parametic version working 2016-08-14 11:52:37 +02:00
Wolfgang E. Sanyer
d4bb01835c Fixed Draft.makeSketch to work with planes other than xy. 2016-08-12 22:48:33 -04:00
wmayer
006de1ab19 issue #0002666: Error on Save File 2016-08-12 13:33:48 +02:00
wmayer
f1bfd5cee2 fix wrong error text, fix activation of sub-widgets 2016-08-12 13:26:52 +02:00
qingfengxia
1c51a182f6 bugfix: Taskview ui, typo, coding format for FluidBoundary 2016-08-12 11:05:55 +02:00
qingfengxia
40243fc89a Add Command and Icon FemConstraintFluidBoundary for CFD analysis 2016-08-12 11:05:55 +02:00
qingfengxia
17829b9727 Add ViewProvider and TaskPanel FemConstraintFluidBoundary for CFD analysis 2016-08-12 11:05:55 +02:00
wmayer
df8e53630d using unicode codepage directly gives a warning, use utf-8 encoding instead 2016-08-12 10:45:14 +02:00
WandererFan
cb05040a0f Vertical Diameter legible from right per stds 2016-08-12 10:01:16 +02:00
WandererFan
d8ccf14ec3 Prevent creation of superflous QGItems for Text Fields 2016-08-12 10:01:16 +02:00
WandererFan
ef69519261 Diameter symbol & text orientation to standards. 2016-08-12 10:01:16 +02:00
WandererFan
3eb9037ada Handle non-latin1 chars in template 2016-08-12 10:01:16 +02:00
WandererFan
6ad50696b9 Replace GPL osifont file with LGPL3 version 2016-08-12 10:01:16 +02:00
wmayer
4ee1bbcabe query wrong parameter to check for path of ccx when set in preferences 2016-08-11 16:17:35 +02:00
DeepSOIC
93516e42a7 Sketcher: fix selectability of constraints when pickRadius is large
Constraints still do not respect pickRadius. I haven't found a way to
fix it.
2016-08-10 18:46:45 +02:00
wwmayer
785369abb4 Merge pull request #238 from qingfengxia/renamingFem
correct spelling StanardHypotheses to StandardHypotheses
2016-08-10 14:59:27 +02:00
Ian Rees
d388492d54 Allow unit test suite to run with missing modules. 2016-08-10 13:57:23 +02:00
Bernd Hahnebach
46a29967e7 FEM: ccx input writer: reorder defs and def calls and
- fix presure and force are written for thermomech too
- change some comments
- fix FEM unit tests
2016-08-10 12:53:55 +02:00
wmayer
1c1f0dfe49 fix various compiler warnings 2016-08-09 13:16:26 +02:00
DeepSOIC
507b39e3fc Part: use the just-added methods to make properties read-only 2016-08-08 21:48:50 +03:00
DeepSOIC
50af9efa9f PartGui: new Revolve task dialog.
Updated to support Axis link, and Symmetric properties. Layout was
completely changed.
2016-08-08 20:53:03 +03:00
DeepSOIC
779b7eedb2 Part: Revolve: add support for axis link and midplane
Changes on the App side only.
Added two properties:
* AxisLink (accepts an edge - line or arc of circle)
* Symmetric (for distributing the revolution symmetrically in both
directions)
2016-08-08 19:34:27 +03:00
Yorik van Havre
8b3f8cc9e6 Draft: fixed typo 2016-08-08 13:08:24 -03:00
wmayer
40b878de4d add method to get self-intersections of a mesh via Python 2016-08-08 16:40:59 +02:00
wmayer
8d3e5a31fb add plausibility for self-intersectin check to filter out false-positives 2016-08-08 16:40:11 +02:00
Bernd Hahnebach
9cbefbd905 FEM: materials: simplify input writing and add pre checks for material value keys 2016-08-08 08:03:27 +02:00
Bernd Hahnebach
c476bcfeb0 FEM: solver object is used to write the eigenmode params to input file 2016-08-08 08:03:26 +02:00
Bernd Hahnebach
eeed00b409 FEM: code formating: use 'not in' for test for membership 2016-08-08 08:03:25 +02:00
qingfengxia
be86b992c2 correct spelling StanardHypotheses to StandardHypotheses 2016-08-07 18:20:17 +01:00
wmayer
a0d7c8bd21 Add function to sketch validation panel to highlight open vertexes 2016-08-07 15:30:09 +02:00