Commit Graph

6711 Commits

Author SHA1 Message Date
Bernd Hahnebach
af9d1371b9 FEM: FemMeshTools, fix input file writing if groups have non expected group names 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
8d786be579 FEM: code formating, make all python module start the same way
- module info
- doxygen documentation
- imports
- code
2016-11-22 19:50:50 +01:00
Bernd Hahnebach
8fb66dcf98 FEM: code formating, cmake and init gui 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
494b508f56 FEM: ccx tools, check if the active analysis has result object before try to open results 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
10b9f686ca FEM: read frd result file, check if nodes could have been read. 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
9262303c0f FEM: catch an error if Result dialog will be opened without an result in the analysis 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
7a97948069 FEM: small change in Fem Z88 tools 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
a6f6b8de06 FEM: solver task panel, delete not used def 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
0870fcefcf FEM: do not longer open mesh at analyse creation
better make mesh last as before the constraints because of group meshing
2016-11-22 19:50:50 +01:00
Bernd Hahnebach
bd927f71cf FEM: temporary remove not supported tools from tool bar 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
1b43a73da8 FEM: solver obj, delete not needed includes 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
2e984b5237 FEM: solver obj, remove not needed comment since all attributes are implemented in the python solver objects 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
e4b0205d85 FEM: typo in solver view providers 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
facf23a22f FEM: code formating, add brackets to prints 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
8713b7b29e FEM: code formating, get flake8 quired 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
8ca705c2d9 FEM: activate binary search get_femelement_by_femnodes_bin for volume meshes 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
2a5d445b26 FEM: FemMeshTools, add binary search method for get_femelements_by_femnodes, but do not make it activ 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
9b023b2aef FEM: fix unit test after activating new pressure face search 2016-11-22 19:50:49 +01:00
Bernd Hahnebach
8b24da477a FEM: ccx input writer, make use of the new faster binary search method for getting the pressure faces 2016-11-22 19:50:49 +01:00
Bernd Hahnebach
894d79a57c FEM: FemMeshTools, add new methods to make a faster search for pressure faces:
- get_femnodes_ele_table()
- get_copy_of_empty_femelement_table()
- get_bit_pattern_dict()
- get_ccxelement_faces_from_binary_search()
- thanks to Ulrich Brammer for implementing the methods
2016-11-22 19:50:49 +01:00
wmayer
03ab1a4a4d fix build problems on Linux/OSX 2016-11-22 16:16:48 +01:00
wmayer
9bdad96a69 add Python wrappers for Geom2d classes 2016-11-22 14:09:19 +01:00
Markus Lampert
3ce5ea6b35 Tests and fixes for triangular shaped tags. 2016-11-21 21:53:35 -08:00
Markus Lampert
1fd4c49fca Test cases for basic path generation for tags. 2016-11-21 19:51:54 -08:00
wmayer
689d2e42a9 wrapper for Geom2d package 2016-11-21 18:17:10 +01:00
wmayer
e54e9515fc rename 2d tool classes to be consistent with 3d classes 2016-11-21 14:29:51 +01:00
ml
f0f39f9c53 Added arguments to dialog and script call. 2016-11-20 20:07:44 -08:00
Markus Lampert
8ce9c0c305 Straight line intersection with square Tag. 2016-11-20 14:53:03 -08:00
wmayer
e008ca6f87 fix coverity issues 2016-11-20 17:47:53 +01:00
wmayer
5d27a49d87 fix coverity issues 2016-11-20 17:16:33 +01:00
wmayer
463106cb59 fix coverity issues 2016-11-20 17:11:32 +01:00
Johannes Obermayr
af62262021 Link just against required VTK modules on Linux.
Note:
If VTK is installed below /opt or anywhere else just add a path to GLOB_RECURSE.
2016-11-20 10:18:32 +01:00
WandererFan
cf22852ee3 Fix handling of BezierCurves
Replace custom bbox code with OCC/Base code
Refactor duplicate code Geometry/DrawProjectSplit
2016-11-20 10:06:00 +01:00
wmayer
a16b143664 fixes #0002782: Build error message 2016-11-19 14:27:55 +01:00
wmayer
5e3381be25 fixes #0002781: Build error message 2016-11-19 13:47:37 +01:00
wmayer
a4d33ec8ab fixes #0002779: The message of the project build error 2016-11-19 13:32:07 +01:00
Markus Lampert
74ac78276b Tests for all different shapes of Tags. 2016-11-18 17:52:29 -08:00
Markus Lampert
ca1fb1238e First Tag unit tests, including a fix for an encountered issue. 2016-11-18 17:07:20 -08:00
Markus Lampert
f4480765de Fixed linuxcnc unit test 2016-11-18 16:14:32 -08:00
ml
2aa2560529 Basic unit test for linuxcnc output. 2016-11-18 15:43:20 -08:00
ml
dce16252dc First pointless path unit test 2016-11-18 15:41:04 -08:00
Markus Lampert
a9f246b466 Moving tag processing into Tag itself. 2016-11-18 15:35:30 -08:00
Yorik van Havre
950207134f Draft: Fixed text orientation bug in SVG projections 2016-11-18 19:11:31 -02:00
Yorik van Havre
ebe6e9adfa Arch: Sites can now display a sun path diagram 2016-11-18 16:10:12 -02:00
wmayer
c99943f822 support creating Face from support face or surface and outer wire 2016-11-18 15:25:15 +01:00
WandererFan
804dc1cd85 Fix error handling 2016-11-18 10:14:59 +01:00
WandererFan
6f424c1467 Fix missing line in TaskViewSection 2016-11-18 10:14:42 +01:00
WandererFan
1f0899ef3d Improve handling of duplicate edges in projection 2016-11-18 10:14:29 +01:00
WandererFan
3797f7ebc3 Fix segfault on bad input 2016-11-18 10:14:10 +01:00
WandererFan
657264ad49 Add bavariaSHAPE's tolerance symbols 2016-11-18 10:13:55 +01:00
WandererFan
503d718520 Add planar embedding to EdgeWalker 2016-11-18 10:13:41 +01:00
WandererFan
eb2490bb33 Add editable text ability to DrawSymbol 2016-11-18 10:13:23 +01:00
ml
fc55d7ae23 Fixed angle calculation and deal with round contours properly. 2016-11-17 11:43:00 -08:00
ml
344250b5c2 Renamed tabs to tags. 2016-11-17 11:43:00 -08:00
ml
79935ee025 Changed tabs to be editable. 2016-11-17 11:37:52 -08:00
ml
730e2c523e First shot at base algorithm for inserting holding tabs. 2016-11-17 11:37:52 -08:00
Yorik van Havre
af97583026 Doc: Fixes in doxygen docs for Draft,Arch, FEM 2016-11-17 17:04:09 -02:00
wmayer
8724eaed36 use indexed map to avoid iterating a face twice in case of a compsolid 2016-11-17 15:40:22 +01:00
WandererFan
3ce0de62f1 Fix #2771 handling of PropertyLinkSubList in Draft.PathArray 2016-11-16 20:59:33 -05:00
ml
0c5d5566ab Fix for 2773 and two other minor fixes. 2016-11-15 22:19:57 -08:00
Yorik van Havre
725f9add3a Techdraw: better icon for image 2016-11-14 21:14:06 -02:00
sliptonic
7c2c541d7a Holding tag bugs
Removed OCC from profile
Add option to suppress profile of perim.
2016-11-13 14:51:36 -06:00
sliptonic
a38006b5d5 incorporating TechDraw findShapeOutline 2016-11-13 14:51:36 -06:00
sliptonic
7930db4e5c icons 2016-11-13 14:51:36 -06:00
sliptonic
18ea91cc25 fix for drilling in Compound objects.
Better check of hole face ordering.
2016-11-13 14:51:36 -06:00
sliptonic
fe11942afb Toolchange output fixed 2016-11-13 14:51:36 -06:00
sliptonic
50bfaffcd1 PathJob chooser needs to use dialog in resource file 2016-11-13 14:51:36 -06:00
sliptonic
bbf4e2954a Initial commit of facing op 2016-11-13 14:51:36 -06:00
sliptonic
e1fad4e76f remove unneeded base geometry tab 2016-11-13 14:51:36 -06:00
ml
7b7e09ce29 Fixed obj reference in custom length path. 2016-11-12 16:34:49 -08:00
ml
1472a2b8ae Removal of extra path segments due to bone smoothing. 2016-11-12 16:34:49 -08:00
ml
788b28bba2 First cut at removing bone path crossings in tight alleys. 2016-11-12 16:34:49 -08:00
ml
17d86e51c8 Created class for Bone to carry it's attributes through the call chain. 2016-11-12 16:34:49 -08:00
ml
2159923c4b Path calculation through intersections - enhanced robustness. 2016-11-12 16:34:49 -08:00
ml
e7968a95f6 Calculation of intersections and arcs. 2016-11-12 16:34:49 -08:00
ml
9a93a5775e Calculation of pivot points. 2016-11-12 16:34:49 -08:00
ml
c58852a608 Fixed adaptive length calculation. 2016-11-12 16:34:49 -08:00
wmayer
e0a0aa7786 fix typos 2016-11-12 17:57:14 +01:00
wmayer
1dffd81295 fix build failure for occ version < 7.0 2016-11-12 16:19:51 +01:00
wmayer
a557836597 methods to fix shape tolerances 2016-11-12 16:14:46 +01:00
wmayer
ad49a96b14 methods to analyze shape tolerances 2016-11-12 15:31:35 +01:00
Yorik van Havre
1537ecf9e4 Arch: fixed remaining bugs in structures + use facemakers - fixes #2523 2016-11-12 11:48:05 -02:00
wmayer
1df6da7df0 clear expression when setting constraint non-driving 2016-11-11 12:33:20 +01:00
Yorik van Havre
f345501dec SVG rendering of Arch pipes 2016-11-10 19:27:49 -02:00
Yorik van Havre
2785e83281 Draft: small fix in svg production code 2016-11-10 16:17:36 -02:00
wmayer
53815e7aed use only Python API for FeaturePythonPyT 2016-11-10 13:37:30 +01:00
wmayer
76279882da move handling of dynamic properties from FeaturePythonPyT to DocumentObjectPy 2016-11-09 16:09:21 +01:00
Yorik van Havre
c5911b660a Draft: fixed DXF export - fixes #2761 2016-11-08 21:49:36 -02:00
Yorik van Havre
00b5dbfa2f Draft: Discretize projected arcs and ellipses - fixes #1612 2016-11-08 15:28:33 -02:00
wmayer
17c8b2c813 performance improvements
+ use const-reference as argument to avoid tmp. copy
+ use prefix incremation operator instead of postfix increment operator
2016-11-08 13:51:22 +01:00
WandererFan
5bfdad804a Basic working ViewImage 2016-11-07 17:20:20 -05:00
WandererFan
4f511f663a Resolve minor merge conflict 2016-11-07 17:20:20 -05:00
WandererFan
256c5ed198 Allow True dimensions to reference multiple Parts 2016-11-07 17:20:20 -05:00
WandererFan
4eab324803 Basic working multipart View 2016-11-07 17:20:20 -05:00
WandererFan
dc66106683 Create outline of 3D shape 2016-11-07 17:20:19 -05:00
WandererFan
06e8c6734d Fix scaled QGIViewSymbol boundingRect 2016-11-07 17:20:19 -05:00
wmayer
a812ad2d5e copy fem mesh groups 2016-11-07 22:16:53 +01:00
wmayer
6347d48449 remove duplicate and unused class 2016-11-07 12:28:22 +01:00
wmayer
57db39bf05 issue #0002760: The result of an 'Undo' is shown too late. 2016-11-06 21:06:28 +01:00
wmayer
3b961bcb5f + add convenience method recomputeFeature()
+ make method recompute() protected
2016-11-06 17:16:50 +01:00
wmayer
60e6ad2e52 issue #0002757: sketch editing not visible when it is in a part 2016-11-06 11:21:11 +01:00
wmayer
9fe82bfbb9 fixes #0002460: Use keyword 'explicit' for Quantity constructor 2016-11-05 23:21:42 +01:00
Yorik van Havre
945d99f982 Draft: implemented dxf export of techdraw pages 2016-11-05 15:13:48 -02:00
sliptonic
9a3711079c fix for direction/cutside bug 2016-11-04 15:04:32 -05:00
sliptonic
cb843391a8 Patch from nahshon
http://forum.freecadweb.org/viewtopic.php?f=15&t=18148&sid=9dcb94b872e170a78e8940bd08880b92&start=10#p143439
2016-11-04 09:19:49 -05:00
Yorik van Havre
c465ca261c Arch: Added preference setting to control linewidth of Draft objects seen by Arch Section Planes 2016-11-03 16:40:12 -02:00
Yorik van Havre
6951705835 Arch: Support for opening symbols - fixes #2353 2016-11-02 20:10:20 -02:00
Yorik van Havre
b4ae2beb74 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-11-02 20:05:09 -02:00
Yorik van Havre
64a7b9e129 Draft: Better method to project arcs to SVG - issue #1612 2016-11-02 17:06:48 -02:00
Bernd Hahnebach
20dfdbe6a9 FEM: solver, do not initialize the solver working directory, since it is eventually only used if it is left blank in preferences 2016-11-02 18:09:48 +01:00
Bernd Hahnebach
c333e069ad FEM: ccx input file splitting, fix restore of pref 2016-11-02 18:09:48 +01:00
Bernd Hahnebach
fc91712b85 FEM: ccx input file splitting, small improvements 2016-11-02 18:09:48 +01:00
vdwalts
0d8f42637c FEM: Add separate definitions for split AND non-split input writer files to FemInputWriterCcx.py 2016-11-02 18:09:48 +01:00
vdwalts
890b42a5d4 FEM: Add split input writer option to preferences dialog GUI 2016-11-02 18:09:48 +01:00
wwmayer
1ad6d8004e Merge pull request #328 from triplus/master
Part multiFuse enable SetRunParallel
2016-11-02 17:03:01 +01:00
Yorik van Havre
e2e73af4ac TechDraw: Fixed solid rendering of Arch Views 2016-11-02 13:14:31 -02:00
triplus
3d26fec75a Part generalFuse enable SetRunParallel
Test case:

http://forum.freecadweb.org/viewtopic.php?f=10&t=18179&p=143225#p143225
2016-11-02 15:52:42 +01:00
triplus
e892d09f2e Part multiFuse enable SetRunParallel
Forum discussion:

http://forum.freecadweb.org/viewtopic.php?f=10&t=18179

Test case:

http://forum.freecadweb.org/viewtopic.php?f=10&t=18179#p142663
2016-11-02 14:44:58 +01:00
Markus Lampert
26f73b4a0e Fixed consecutive abort of job editing and selection of current base object. 2016-11-02 10:58:35 +01:00
Markus Lampert
462c8b362a Support for Cancel in PathJob creation and editing. 2016-11-02 10:58:35 +01:00
Markus Lampert
1fb504e2bd On PathJob creation pre-select the currently selected object. 2016-11-02 10:58:35 +01:00
Markus Lampert
351c605db3 Fixed enumeration issue for task panel. 2016-11-02 10:58:35 +01:00
Markus Lampert
422ac087ed Improved default behaviour and removed output-policy from job settings. 2016-11-02 10:58:35 +01:00
Markus Lampert
18791037be Switched job assignments to be empty which uses the default from the prefrences - if no preferences can't be found the user is prompted. 2016-11-02 10:58:35 +01:00
ml
e1a5b9a9e1 Added suppor for default OutputFile with templates and a policy on how to deal with file name conflicts. 2016-11-02 10:58:35 +01:00
ml
a3c4903d9b Added tooltip processing to the job preferences page. 2016-11-02 10:58:35 +01:00
ml
cfca656d66 Refactored post processor into its own class, concentrating all post processor script operations. 2016-11-02 10:58:35 +01:00
ml
4865a2c39d Refactored post processor into its own class, concentrating all post processor script operations. 2016-11-02 10:58:35 +01:00
ml
f5f85eba70 Basic Job preferences dialog 2016-11-02 10:58:35 +01:00
ml
4262094bb6 Consolidated finding post processor scripts into class method. 2016-11-02 10:58:35 +01:00
ml
6b69276342 Fixed post processors and Command constructor (wasn't dealing with parameters being optional). 2016-11-02 10:58:35 +01:00
ml
eb9e9096ce Cleaned up Machine removal. 2016-11-02 10:58:35 +01:00
ml
3d3a63deaf Added contributed post-processor scripts. 2016-11-02 10:58:35 +01:00
Markus Lampert
98e93d329f Added reloading of post processor to pick up user changes in the script in case they edited it. 2016-11-02 10:58:35 +01:00
Markus Lampert
c2fcb11a7d Sort Post Processor list for dialog and make 'dumper' the default if none is set in the preferences. 2016-11-02 10:58:35 +01:00
Markus Lampert
8e01827dab Path preferences for default post processor and arguments. 2016-11-02 10:58:35 +01:00
Markus Lampert
67e3b13c13 Added tooltip support for PostProcessor scripts. 2016-11-02 10:58:35 +01:00
Markus Lampert
da94fb506a Added argument support for post processors - examples in linuxcnc_post.py. 2016-11-02 10:58:35 +01:00
WandererFan
84161038c2 MSVC syntax fix 2016-11-01 20:02:15 -04:00
WandererFan
c8f380516a Fix accented characters within SVG symbol 2016-11-01 20:02:15 -04:00
Yorik van Havre
195ea429e6 Arch: fixed rotation of space labels in techdraw 2016-11-01 18:53:48 -02:00
Yorik van Havre
253907d15f Draft: temporary workaround for techdraw with no utf 2016-10-31 23:54:13 -02:00
Yorik van Havre
c0ca2705b7 Arch: minor fix in strucutral nodes calculaiton 2016-10-31 23:53:30 -02:00
wmayer
e75fe0d6e3 fix compiler warning 2016-10-31 21:31:35 +01:00
wmayer
6c58963ba5 fix compiler warning 2016-10-31 16:13:16 +01:00
Yorik van Havre
4ee8a2a53d Arch: Section planes can now also include Draft stuff (dimensions, etc) 2016-10-31 11:10:08 -02:00
WandererFan
73aea7140d Fix test script to match new code
Fix nullptr bug revealed by bad test script!
2016-10-31 11:06:15 -02:00
WandererFan
83d657985c Fix Travis error re variable length arrays 2016-10-31 11:06:15 -02:00
WandererFan
6e7c4bc838 Rename "Document" selection value to "Page" 2016-10-31 11:06:15 -02:00
WandererFan
cd87af3746 Allow manual repositioning of ProjGroup views 2016-10-31 11:06:15 -02:00