Commit Graph

6412 Commits

Author SHA1 Message Date
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
wmayer
b32e1aae11 fix compiler warnings 2016-08-07 13:38:41 +02:00
DeepSOIC
433bd375f3 Part: make Fusion and Common able to fuse arrays
If Fusion or Common features get only one argument, and the shape is a
compound, the children of the compound are treated as list of arguments.
2016-08-07 12:15:08 +02:00
Wolfgang E. Sanyer
7f4a437cc2 This commit adds getShape and setShape to TopoShape 2016-08-06 23:42:55 +02:00
wwmayer
5a30a43862 Merge pull request #237 from ulrich1a/master
Basic importer for Excel-spreadsheets
2016-08-06 21:01:34 +02:00
wwmayer
67c13028ea Merge pull request #235 from berndhahnebach/femsmallfixes
Femsmallfixes
2016-08-06 20:56:44 +02:00
Ulrich Brammer
796badeabd Basic importer for Excel-spreadsheets 2016-08-06 20:32:14 +02:00
wmayer
4062a15018 use QuantityFormat to restore old behaviour for dimensionsal constraints of sketches 2016-08-06 19:08:27 +02:00
Bernd Hahnebach
80b68208b2 FEM: fix materials task panel 2016-08-05 18:42:52 +02:00
Bernd Hahnebach
2edc678891 FEM: fix pre check for shell and beam meshes 2016-08-05 18:42:51 +02:00
Yorik van Havre
7e310b2444 Draft: fixed wrong decimals in dimensions display + minor bugfix 2016-08-04 19:16:38 -03:00
Bernd Hahnebach
595a5dd2c7 ARCH: ifc import: fix import if group has no group name provided 2016-08-04 14:33:31 -03:00
Bernd Hahnebach
8ab027b218 ARCH: fix propper removing of tempfile on windows 2016-08-04 14:33:31 -03:00
Bernd Hahnebach
cfbde714e9 ARCH: code formating: trailing whitespaces 2016-08-04 14:33:31 -03:00
sliptonic
0ea9cc8c43 Bug fixes:
fixes reparenting bug when dressup is deleted
Engrave wasn't using final depth value
Dragknife Dressup not correctly calculating spin direction or curve intersection
Per Yorik, fix crash if PartGui hasn't been loaded
Allow selection of bottom face for profiling
Bug # 0002615
2016-08-04 14:28:59 -03:00
wmayer
1c89c566c9 whitespace improvements 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
02b84bd2e1 FEM: ccx writer: explicit format diggits of material values for passing unit tests 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
f0bbbc1cef FEM: unit test: add max iterations count to thermomech solver obj 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
8390b008ee FEM: GUI: prefs: typos in dialogs 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
a3d9390cc0 FEM: fix thermomech unit test analysis 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
4c8d5b592c FEM: ccx input writer: remove newline 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
4d778390d4 FEM: code formating: trailing whitespaces, tabs at line start and flake8 2016-08-04 17:45:04 +02:00
vdwalts
5a2a73b55e FEM: Adding the FEM tests for the thermo-mechanical test problem to the TestFem.py file. To-do: Add the frd file test and the compare stats test. 2016-08-04 17:45:04 +02:00
vdwalts
140af42f9b FEM: Setting up the geometry and constraints for the cooling spine model for the thermo-mechanical test. 2016-08-04 17:45:04 +02:00
vdwalts
70afd104e8 FEM: Adding the reference input file for calculix and the results files for the thermo-mechanical test case 2016-08-04 17:45:04 +02:00
vdwalts
e8adb5113a FEM: Adding the meshing points and volumes files necessary to create mesh of test model to the test folder 2016-08-04 17:45:04 +02:00
vdwalts
1caeb68a49 FEM: Adding Freecad model to the test folder for thermo-mechanical test of cooling spine 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
c4b94725b6 FEM: CalculiX solver object: better attribute names 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
6463d04f3f FEM: code formating: flake8 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
24572e1afc FEM: remove not used _FemAnalysis object and ViewProvider 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
4fecdaed84 FEM: ccx frd reader: delete not used line count and line num 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
28e5ec80cb FEM: delete not used pyhton module imports 2016-08-04 17:45:04 +02:00
makkemal
275c2c9dc3 FEM: Dummy equation to use all variables required for user defined plot 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
5e4b95b1ba FEM: GUI: pref: add setting for non standard ccx time iterations param 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
2fb6d51f9f FEM: calculix solver: better handling of iterations control parameter and
add them to FEM unit test
2016-08-04 17:45:04 +02:00
makkemal
1c4bd96e34 FEM: Change thermo mechanical to coupled analysis and add control parameters for convergence 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
55d2884658 FEM: code formating: remove trailing white spaces 2016-08-04 17:45:04 +02:00
vdwalts
175649a3bf FEM: core: changes in vtk post pipeline 2016-08-04 17:45:04 +02:00
vdwalts
26dfd6ef92 FEM: constraint pressure: some changes in core implementation 2016-08-04 17:45:04 +02:00
vdwalts
0e7c97b356 FEM: constraint fixed: change reference selection behavior to only allow same shape type 2016-08-04 17:45:04 +02:00
vdwalts
3998e2433b FEM: constraint fixed: some changes in core implementation 2016-08-04 17:45:04 +02:00
vdwalts
1b8e56378a FEM: use new pref for manually set num processor cores in ccx run 2016-08-04 17:45:04 +02:00
vdwalts
414b2b0ffa FEM: task panel solver calculix: add time step to writing file 2016-08-04 17:45:04 +02:00
vdwalts
6965b4553f FEM: task panel solver calculix: add thermomech analysis button 2016-08-04 17:45:04 +02:00
vdwalts
e8143ab0cf FEM: task panel show results: add principat stress temperature and user calculation input field 2016-08-04 17:45:04 +02:00
vdwalts
1d61226313 FEM: ccx frd reader: add reading and calculating principal stresses 2016-08-04 17:45:04 +02:00
vdwalts
d4e3ea7cb6 FEM: ccx frd reader: add reading temperature related results 2016-08-04 17:45:04 +02:00
vdwalts
4838dd317f FEM: core: changes in result object 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
57d0b0752a FEM: ccx input writer: add some comments 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
e33940ace6 FEM: thermomechanical analysis: add pre check for initial temperature 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
c06c5788e2 FEM: constraint thermomech: add implementation for solver CalculiX and fix FEM unit tests 2016-08-04 17:45:04 +02:00
vdwalts
a3eca5f083 FEM: constraints thermomechanical: add icons 2016-08-04 17:45:04 +02:00
vdwalts
5adea8f032 FEM: constraints thermomechanical: object implementation 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
26dabdfca7 FEM: task panel mechanical material: add thermomech related changes 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
ce4f8b4cf9 FEM: use new CalculiX matrix solver types (spooles, iterativecholesky, etc.) in ccx file writer 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
81e9e8b3be FEM: solver object CalculiX: add new attributes and use defaults from prefs
and fix FEM unit tests
2016-08-04 17:45:04 +02:00
Bernd Hahnebach
66a71b1a35 FEM: GUI: pref: better layout for ccx prefs 2016-08-04 17:45:04 +02:00
vdwalts
79be296bc3 FEM: GUI: pref: removing empty entry in the matrix solver combo box 2016-08-04 17:45:04 +02:00
vdwalts
5effc85d71 FEM: GUI: pref: adding icons for static and thermo-mechanical analysis to the fem tab 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
9aa9664c1a FEM: GUI: pref: move CalculiX related preferences to CalculiX tab 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
4ea7fc6e89 FEM: GUI: pref: add new CalculiX Solver attributes to a new CalculiX tab 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
7760c5cce1 FEM: constraint plane rotation: add implementation for solver CalculiX 2016-08-04 17:45:04 +02:00
vdwalts
e5ed109f1b FEM: constraint plane rotation: add icon 2016-08-04 17:45:04 +02:00
vdwalts
fdee687f01 FEM: constraint plane rotation: object implementation 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
9107e92b52 FEM: constraint contact: add implementation for solver CalculiX 2016-08-04 17:45:04 +02:00
vdwalts
116c9717cc FEM: constraint contact: add icon 2016-08-04 17:45:04 +02:00
vdwalts
4eb39c5c36 FEM: constraint contact: object implementation 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
4df30061e5 FEM: fix z88 solver and resort fem objects in tools and writer 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
d8c294c54d FEM: solver CalculiX: add geometrical nonlinear analysis 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
da91fded97 FEM: add some pre checks in the regard of FEM mesh 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
1224d6e039 FEM: ccx writer: change some wrong ccx input file comments and fix FEM unit tests 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
03ca2ebe55 FEM: materials: some small changes in task panel and ccx writer 2016-08-04 17:45:04 +02:00
vdwalts
eb305c142f Materials: add thmermomechanical material values to gerneral steel and calculix steel 2016-08-04 17:45:04 +02:00
wmayer
461c0b1f7b fix TopoShape::getFacesFromSubelement 2016-08-04 15:22:30 +02:00
wmayer
dc25c73e30 + example of sequence protocol of Python type 2016-08-02 10:26:59 +02:00
WandererFan
a539cec1a3 Correct Radius leader behaviour 2016-08-01 19:27:52 -03:00
WandererFan
40fa4e0d40 Qt item parenting and garbage collection
Remove dupl/obsolete code
2016-08-01 19:27:52 -03:00
WandererFan
3588479ff5 Add LineWidth property for Dimension lines 2016-08-01 19:27:52 -03:00
WandererFan
e95d527267 Fix 2630 Dimension line thickness in SVG & print
Meaningful variable names.
2016-08-01 19:27:52 -03:00
WandererFan
fe871cd245 Correct pageSize determination
remove obsolete code
2016-08-01 19:27:52 -03:00
WandererFan
78924d3a22 Fix scaling for ViewSymbol 2016-08-01 19:27:52 -03:00
Yorik van Havre
4de1b39b4f Spreadsheet: Made SheetPython inherit python object from Sheet 2016-08-01 13:17:47 -03:00
Yorik van Havre
a79d2c6c9b Arch: fixed import of IFC object without representation 2016-08-01 10:54:09 -03:00
wmayer
3785cf7631 add parameters to IsDeformed method 2016-07-31 19:08:42 +02:00
wmayer
33bb67edcb fix rounding issue in IsDegenerated() method 2016-07-31 17:37:23 +02:00
wmayer
0ae92950f0 fix rounding issue in IsDegenerated() method 2016-07-31 13:48:09 +02:00
wmayer
9e4de92ce1 expose mesh analyzing functions to Python 2016-07-31 12:13:37 +02:00
wmayer
8a5c03b671 + allow to customize algorithms in mesh evalutation panel 2016-07-30 19:51:16 +02:00
wmayer
51171fd932 + implement modifier class to allow limited access to internals of mesh kernel class 2016-07-30 15:31:45 +02:00
wmayer
1e2e24b652 + rename methods in Vector3 class
+ add convenience methods Cross and Dot to Vector3 class
+ fix bug in DistanceToLineSegment in Vector3 class
2016-07-30 15:14:47 +02:00
maito78
8fe7c94452 Add parameter at given distance method for curves 2016-07-29 22:40:19 +02:00
DeepSOIC
e9b31ddb6a Part: add/update GUI commands
* Updated translation contexts for  Gui commands for JoinFeatures.
* Added Gui commands for Split tools: BooleanFragments, Slice, XOR.
Icons.
2016-07-29 14:20:52 +03:00
DeepSOIC
c069987e41 Part: add BOPTools package as member of Part Py module 2016-07-29 14:18:01 +03:00
DeepSOIC
87b7c86197 Part: add BOPTools package
Containing implementation of new JoinConnect, as well as new splitting
tools: BooleanFragments, Slice and XOR.
2016-07-29 14:16:54 +03:00
DeepSOIC
ea586e9880 Part: deprecate old JoinFeatures code
Commented out all the code not essential for recomputing old
JoinFeatures. The rest is left to support opening old projects.
2016-07-29 14:13:12 +03:00
Yorik van Havre
54c8828237 Arch: Made IfcProduct untranslatable in IFC preferences page 2016-07-28 12:20:59 -03:00
Jonathan Wiedemann
41307ef5a1 Move printMessage in ArchCommands.
Messages are translatable.
2016-07-24 19:57:23 -03:00
Jonathan Wiedemann
15b70be51b Fix wrong display of translated message. 2016-07-24 19:57:23 -03:00
Jonathan Wiedemann
b114a051f4 Allow floors in floor object. 2016-07-24 19:57:23 -03:00
Jonathan Wiedemann
7425394df9 Arch: Fix Site, Building, Floor objects creation
-New param : GetBool("FreeLinking",False), unavailable in pref see
parameters
-by default :
allow create Site on Building only
deny create Building on Site or Building
deny create Floor on Site, Building,Floor
-option:
allow create and linking what you want (until non-DAG)
2016-07-24 19:57:23 -03:00
wmayer
3d95e9ac4b support groups for export to obj format 2016-07-24 16:16:42 +02:00
wmayer
cc78503935 improve groups handling of obj mesh format 2016-07-24 00:23:45 +02:00
Sergei Krivonos
77753a6df5 fixed makeWire face parameter treating
Change-Id: If72a3a1615a56064b113b4d4b1f282ad0229b88d
2016-07-23 11:58:35 -03:00
WandererFan
cb51799f60 Refactor method to base View
Auto allocate member attributes
2016-07-23 15:03:39 +02:00
WandererFan
aa8fea7ba4 Fix GH Issue 49 Clip artifact 2016-07-23 15:03:39 +02:00
WandererFan
222492c912 remove unneeded boundingRect methods 2016-07-23 15:03:39 +02:00
WandererFan
48bd90004f Remove obs property & code 2016-07-23 15:03:39 +02:00
WandererFan
c8a4cf20ad Simplify ClipMinus selection logic 2016-07-23 15:03:39 +02:00
WandererFan
131c34cf9e Center new view on Page/ClipGroup 2016-07-23 15:03:39 +02:00
WandererFan
62a8828dc8 Fix 0002627 wrong value in dimension
Remove obolete dimension properties
2016-07-21 19:50:38 -04:00
Bernd Hahnebach
5c2ffb784a FEM: pyhton code formating: comment should start with '# ' 2016-07-21 18:40:51 -03:00
Bernd Hahnebach
30baceeb61 FEM: python code formating flake8: add white space to start comment block, where missing 2016-07-21 18:40:51 -03:00
Bernd Hahnebach
7f61a9c19b FEM: input writer ccx: better def name and comments 2016-07-21 18:40:51 -03:00
Bernd Hahnebach
240c43b3b7 FEM: small changes in comments in FemTools 2016-07-21 18:40:51 -03:00
Bernd Hahnebach
938dfbbca9 FEM: GUI: typos in FEM menue and icon tool tipps 2016-07-21 18:40:51 -03:00
Bernd Hahnebach
684aca461e FEM: code formating: trailing white spaces 2016-07-21 18:40:51 -03:00
Bernd Hahnebach
ae9bc220d5 FEM: do not write empty constraints to ccx input file 2016-07-21 18:40:51 -03:00
Bernd Hahnebach
513bb65eab FEM: typo in input writer ccx 2016-07-21 18:40:51 -03:00
Bernd Hahnebach
cc1bd86923 FEM: check prerequisites: adapt to self weight 2016-07-21 18:40:51 -03:00
Bernd Hahnebach
b69116b4aa FEM: constraint self weight: implementation for solver CalculiX 2016-07-21 18:40:51 -03:00
Bernd Hahnebach
3554c70483 FEM: constraint self weight: add icon 2016-07-21 18:40:51 -03:00
Bernd Hahnebach
84e017e4db FEM: constraint self weight: object implementation 2016-07-21 18:40:51 -03:00
Przemo Firszt
8fc0fcf4ae [Material] Fix acrylic glass density and remove comments 2016-07-20 21:48:07 +01:00
Przemo Firszt
4e7f1d305b [Material] Amend Aluminum-6061-T6.FCMat
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2016-07-18 17:40:15 -03:00
WandererFan
985ac47f67 Prevent buildup of old QGItems 2016-07-17 10:43:55 -04:00
WandererFan
094a63356f Exclude hatches from SVG export.
QtSvg does not support clipping which is required for hatches.
2016-07-17 10:43:54 -04:00
wmayer
bff60f36a7 fix build failure with occ 6.9.0 2016-07-17 16:18:12 +02:00
vejmarie
da70ba1642 Fix MED Reader
Assign same Mesh name into MED archive based on shortfilename during write and read operation
2016-07-16 17:43:20 +02:00
wwmayer
fe60a44f5c Merge pull request #219 from tomate44/tomate44-BezierSurface-fix
fix VDegree
2016-07-15 13:57:52 +02:00
Mateusz Skowroński
d7240c6b2b Fix some GCC warnings. 2016-07-15 13:05:37 +02:00
tomate44
2bed80b57e fix VDegree
fix for getVDegree that was returning UDegree
2016-07-15 11:27:24 +02:00
Lorenz Hüdepohl
803c136968 Path: Fix spurious full circles in PathProfile
There was an issue in the conversion from a toolpath to GCode, some very
small circles were mistaken for full circles when their coordinates were
output in some finite precision.
2016-07-15 10:57:12 +02:00
wmayer
b4c084dd06 replace tabs with spaces 2016-07-15 10:44:19 +02:00
Sergo
9f0db2d900 refuse to create partdesign objects if no active body in document 2016-07-15 10:35:52 +02:00
WandererFan
e62d883f54 Prevent invisible faces.
Warn if Direction == XAxisDirection
2016-07-14 18:10:27 -04:00
WandererFan
2c8f497292 Get user prefs at time of use 2016-07-14 15:55:57 -04:00
WandererFan
9dec3c540e Fix default normal/select/preselect colors 2016-07-14 15:55:57 -04:00
wmayer
bdb359df39 + GFA is available since OCC 6.9.0, raise an AttributeError otherwise 2016-07-14 15:16:02 +02:00
vejmarie
e5c5336397 Fix MED Export 2016-07-14 14:53:46 +02:00
Mateusz Skowroński
9154f31f51 Fix files encoding. Go from ISO8859-1 to UTF-8. 2016-07-14 14:49:19 +02:00
WandererFan
bda5c6233c Remove unconnected signals 2016-07-14 14:39:06 +02:00
WandererFan
de76cd6b53 Remove superfluous OCC includes 2016-07-14 14:39:06 +02:00
WandererFan
19968205d2 Include file cleanup per cppclean analysis 2016-07-14 14:39:06 +02:00
wmayer
161f418824 + expose OCC version number to Python 2016-07-14 14:11:54 +02:00
sliptonic
c5b501b9d3 Bugs. 2016-07-12 20:13:45 -03:00
sliptonic
4880e633b9 bug preventing tool change gcode
from being added to postprocess
2016-07-12 20:13:45 -03:00
sliptonic
f6654c8a6d Dressup to add dragknife corner actions to a path
Dragknives have an offset so paths must be extended to complete the cut.
They also require special handling if the incident angle between two segments
is small.  This dressup provides properties for the filter angle, offset
distance, and pivot height.  One known area still needs to be addressed:

If the segment being processed is shorter than the offset distance, the
extension may be added incorrectly.

Additional corner strategies could also be added in the future to enhance drag
knife performance.

Some of the files also got a pep8 cleanup.

PathKurveUtils:  logic around line #460 to always pass Z value.
Previously, the Z was only passed if it changed.  This caused some downstream
problems for dressup functions.

Changes to Dressup so it works with parent objects correctly.
2016-07-12 20:13:45 -03:00
sliptonic
19306c6d1c Show a simple representation of the tool
Builds a representation of the tool and shows it while the task dialog is open.

Next:  Need to make the representation more accurate with respect
to end shape, corner radius, etc.

Need to improve the tool library handling

Need to improve the tool selection process.
2016-07-12 20:13:45 -03:00
sliptonic
c5d35a00c4 Engrave now can handle imported SVG elements.
Selection gate changed to allow selection of Shape objects with
boundbox.z = 0 and having wires.

Splines and curves are processed through pathutils.cleanedges but the precision is
hard coded.  Might want to change this to a property.
2016-07-12 20:13:45 -03:00
WandererFan
3c2222ba60 Fix #58 ProjectionGroupItem positioning after restore 2016-07-12 15:53:20 -04:00
WandererFan
1a87644f44 DrawViewSymbol forgets Scale on restore 2016-07-12 15:20:08 -04:00
WandererFan
2ac560e7b0 Fix template field dialog multiple instances 2016-07-11 15:32:16 +02:00
WandererFan
277a00dc3c dlgTemplateField parentage
cosmetic: move button box
2016-07-11 15:32:16 +02:00
WandererFan
8edfa147da Implement ShowCutSurface 2016-07-11 15:32:16 +02:00
WandererFan
fc9c4d2bf5 Fix #56 ViewSection
- too many edges in result
2016-07-11 15:32:16 +02:00
WandererFan
8d859c91e1 Fix Vertex hover behaviour
Refactor to reduce duplicate code
Fix Section face color mix on hover
2016-07-11 15:32:16 +02:00
WandererFan
dd5b461e35 Fix crash in dtor of QGVPage 2016-07-11 15:32:16 +02:00
WandererFan
19ff06c9cd View does not appear on Redo
Crash in Page on Redo View
2016-07-11 15:32:16 +02:00
WandererFan
32a8621e14 Dimension Precision property does not update
VPs updateData doesn't call parent
2016-07-11 15:32:16 +02:00
WandererFan
c4aa9973d3 Apply "layout" to template field dialog 2016-07-11 15:32:16 +02:00
WandererFan
66fa2a242e prevent fail when scale is zero 2016-07-11 15:32:16 +02:00
WandererFan
350d8bb55b fix precision and thousands separator 2016-07-11 15:32:16 +02:00
WandererFan
8e70d6c569 Changed UI 2016-07-11 15:32:16 +02:00
WandererFan
eb0097782b Add unit tests for TechDraw 2016-07-11 15:32:16 +02:00
WandererFan
f613a91460 Handle accented chars 2016-07-11 15:32:16 +02:00
WandererFan
c880c0c704 TemplateTextField double click crash 2016-07-11 15:32:16 +02:00
WandererFan
0ee878fa47 Correct Radius Dim leader behaviour 2016-07-11 15:32:16 +02:00
WandererFan
57b79da3af regex_replace invalidates iterators 2016-07-11 15:32:16 +02:00
WandererFan
a68b6d068f typo in pixmap name 2016-07-11 15:32:16 +02:00
WandererFan
26aff79a31 Fixes 1-3 per wmeyer 2016-07-11 15:32:16 +02:00
WandererFan
31a8ca23f7 Remove InitGui.py from measure 2016-07-11 15:32:16 +02:00
WandererFan
7a0ae3af52 remove Handle_Geom_Curve.hxx for OCC7 2016-07-11 15:32:16 +02:00
WandererFan
7f442f1f42 Fix sloppy Namespace qualifiers 2016-07-11 15:32:16 +02:00
WandererFan
ed2de2c06e Default font to Sans from osifont 2016-07-11 15:32:16 +02:00
WandererFan
05d94f31f8 Colored SVG Hatch patterns 2016-07-11 15:32:16 +02:00
WandererFan
731f76f52d Hatch using svgItem 2016-07-11 15:32:16 +02:00
WandererFan
ba71e074ce DrawHatch derives from DocumentObject
Remove Face selected box
Add Face# to Hatch Label
2016-07-11 15:32:16 +02:00
WandererFan
efe10e0fb9 Fix #11 View Selection In Tree 2016-07-11 15:32:16 +02:00
WandererFan
bca002ff09 Hatch View Faces 2016-07-11 15:32:16 +02:00
WandererFan
d26fa56838 Fix non-section faces in ViewSection 2016-07-11 15:32:16 +02:00
WandererFan
6cec1df189 Working Face selection 2016-07-11 15:32:16 +02:00
WandererFan
f11e8ffa10 Basic Face detection using BGL 2016-07-11 15:32:16 +02:00
Ian Rees
cd96b40983 Removed unused QObject inheritances. 2016-07-11 15:32:16 +02:00
Ian Rees
b883434318 Remove ctor args from QGIView and descendents. 2016-07-11 15:32:16 +02:00
WandererFan
4fe9267eeb Add modified A3_Landscape template 2016-07-11 15:32:16 +02:00
WandererFan
510569f05b Fix issue 53 Drawing templates 2016-07-11 15:32:16 +02:00
WandererFan
f59173c728 Fix load Dimension w/ broken ref 2016-07-11 15:32:16 +02:00
Ian Rees
6133971747 Cleaning up compile warnings. 2016-07-11 15:32:16 +02:00
Ian Rees
0e68943ac3 Tidy up in MDIViewPage 2016-07-11 15:32:16 +02:00
WandererFan
1b7b6d96aa Handle malformed SVG in Template
Prevent invalid data input for Editable Text
2016-07-11 15:32:16 +02:00
WandererFan
1bf3d2b9e6 Yet another /Drawing/TechDraw/ edit! 2016-07-11 15:32:16 +02:00
WandererFan
3eba56d463 Apply fix (FC2347) for boost v1.60.0 2016-07-11 15:32:16 +02:00
WandererFan
3b96cbbeb6 wmayer patch for Win & OCC7 compat 2016-07-11 15:32:16 +02:00
WandererFan
015c538638 Py convenience functions for Template EditableTexts 2016-07-11 15:32:16 +02:00
WandererFan
2c73823788 Prettify dialog to change EditableTexts 2016-07-11 15:32:16 +02:00
WandererFan
a4061bb6a5 Fix #10 View Visibility 2016-07-11 15:32:16 +02:00
WandererFan
c37df54c0f fix BRect calc for non-custom items 2016-07-11 15:32:16 +02:00
WandererFan
665bea53cf Svg DrawViewSpreadsheet 2016-07-11 15:32:16 +02:00
Ian Rees
898587454f Turned DrawUtil into class with static methods. 2016-07-11 15:32:16 +02:00
Ian Rees
c6bcfd84ce chainGeoms() and nextGeom() are now static methods 2016-07-11 15:32:16 +02:00
Ian Rees
88bc3574aa Whitespace cleanup. 2016-07-11 15:32:16 +02:00