Commit Graph

7175 Commits

Author SHA1 Message Date
Bernd Hahnebach
d1954aef48 FEM: mesh group, add command to FreeCAD GUI menu and tool bar 2017-01-07 15:16:44 -02:00
Bernd Hahnebach
c72cd509bc FEM: mesh group, add object 2017-01-07 15:16:44 -02:00
makkemal
edb1f0249e FEM: VTK tools, only import results into vtk if they exists 2017-01-07 15:16:44 -02:00
makkemal
3ec0a50a06 FEM: VTK tools, fix value assignment 2017-01-07 15:16:44 -02:00
makkemal
b5bfc01a3f FEM: frd reader, typo 2017-01-07 15:16:44 -02:00
makkemal
ba38e06bd2 FEM: result object, typo 2017-01-07 15:16:44 -02:00
Yorik van Havre
162c74c22e Draft: Moved dimension decimals preference setting to the dimension preferences tab - issue #2832 2017-01-07 14:20:58 -02:00
Yorik van Havre
5d2e834bc3 Draft: Fixed spline bug in DXF importer 2017-01-07 14:04:24 -02:00
brawaga
58844feaa1 Update Part_ru.ts
Added translations, corrected some existed for grammar, syntax or style.
2017-01-07 23:55:55 +08:00
ml
a0533b7c46 Changed comparison for points - fixes issue if bone is at plunge point. 2017-01-07 13:27:49 -02:00
brawaga
2830179054 Update Fem_ru.ts
Added some more translations, corrected some existed.
2017-01-07 15:01:59 +08:00
Markus Lampert
9d555859ad Check for 0 pointer in initialisation for assigning default values. 2017-01-06 14:14:14 -08:00
Lorenz Hüdepohl
b6cf0e2500 Fix non-GUI usage in BOPTools
Only define the translation related functions if the GUI is up
2017-01-06 18:25:56 +01:00
wmayer
bf5dcbd062 move import statement to fix error 2017-01-06 18:04:07 +01:00
ChrisLuck
fea0e02fc1 support stepdown greater than total depth, 2nd try 2017-01-06 16:03:11 +01:00
Lorenz Hüdepohl
0de0d8f930 PathHelix: fix most of the PEP8 issues
Dealt with most issues expect for overly long lines
2017-01-06 15:50:21 +01:00
Lorenz Hüdepohl
ec5faafd86 PathHelix: typo in error path 2017-01-06 15:14:04 +01:00
Lorenz Hüdepohl
1edc151c5d PathHelix: Drop requirement of scipy.spatial
It was deemed that scipy is too heavy a requirement for FreeCAD just for
this little feature. Fortunately it was possible to extract the k-d tree
module from scipy with just minor modifications - it is quite
self-contained.

Now, only numpy is required.
2017-01-06 13:20:18 +01:00
Mateusz Skowroński
9b07616fe6 * Cosmetic change. Replace Qt keyword emit with Q_EMIT.
* Whitespace fixes.
2017-01-05 22:57:30 +01:00
triplus
8ac67eae80 Update BOA common and section documentation 2017-01-05 20:11:18 +01:00
wmayer
96dc57c068 replace Qt keyword slots with Q_SLOTS 2017-01-05 14:27:19 +01:00
wwmayer
899c5c337e Merge pull request #417 from dev-at-stellardeath-org/path_helix
Path: helix machining for circular holes
2017-01-05 14:05:28 +01:00
Yorik van Havre
b334197116 Arch: decompose multifuse objects when exporting to IFC 2017-01-04 21:08:54 -02:00
Lorenz Hüdepohl
cd3c1d574e Path: Helix taskpanel shows interdependencies of holes
Instead of a flat list of holes now a tree is shown, with the various
machining operations for the individual holes grouped together.
2017-01-04 20:11:49 +01:00
wmayer
4efd3e894a fix -Wunused-parameter 2017-01-04 18:20:43 +01:00
wwmayer
6dff7f1f1d Merge pull request #413 from realthunder/sortEdges
Add C++ implementation of Part.sortEdges
2017-01-04 17:12:10 +01:00
Stefan Tröger
109f8690ee Extensions: Fix GeoFeatureGroup drag&drop 2017-01-04 16:01:58 +01:00
Stefan Tröger
c4ec348fbd PartDesign: Show origin for primitive editing 2017-01-04 16:01:58 +01:00
Stefan Tröger
40cc2880e0 PartDesign: Fix test for new group body 2017-01-04 16:01:58 +01:00
Stefan Tröger
d2764a3c7a PartDesign: Adopt python interface to body group 2017-01-04 16:01:58 +01:00
Stefan Tröger
b4a569e013 PartDesign: Change body viewprovider to group 2017-01-04 16:01:58 +01:00
Stefan Tröger
9a3b952fb9 PartDesign: Port body to be a origin group 2017-01-04 16:01:58 +01:00
Stefan Tröger
47ed29fffd Extensions: GeoFeatureGroup only for GeoFeature 2017-01-04 16:01:58 +01:00
wmayer
dfbd6aa237 cleanup work: overload methods instead of using new method names 2017-01-04 15:39:27 +01:00
triplus
43ad429734 Add Part BOA multiCut, multiCommon and multiSection methods 2017-01-04 14:06:12 +01:00
AjinkyaDahale
8e1f5364af Coincident constraint making mode added
One small problem remains that the origin is not selectable as one point
in coincident constraint making mode.
2017-01-04 12:58:11 +01:00
AjinkyaDahale
75ad582913 Lock doesn't complain "no selection" 2017-01-04 12:58:11 +01:00
AjinkyaDahale
670e59eae7 Lock constraint in always available when sketch is open
Earlier it was available only when a selection is made
2017-01-04 12:58:11 +01:00
AjinkyaDahale
1230f493d5 Lock constraint can be applied with better selection
Can't yet start without selection: the button on toolbar is not active
without a selection yet
2017-01-04 12:58:11 +01:00
AjinkyaDahale
ecd1f465b0 Added DrawSketchHandlerLock 2017-01-04 12:58:11 +01:00
Yorik van Havre
0d4b185b80 Arch: Fixed small bug in components 2017-01-03 21:07:46 -02:00
wmayer
608f737170 use normals if available 2017-01-03 19:58:26 +01:00
wmayer
0ad93186b5 compute signed distances of points to shape, show results of visual inspection for point clouds 2017-01-03 17:02:50 +01:00
Zheng, Lei
d585499825 Make DraftGeomUtils.findWires use Part.sortEdges
Renamed the original DraftGeomUtils.findWires() to findWiresOld2(). The
original findWires() has a bug which may cause missing edge(s).
Besides, using C++ implementation of Part.sortEdges will have better
performance.
2017-01-03 17:05:28 +08:00
Zheng, Lei
e381b2332a Added Part.sortEdges
Unlike Part.__sortEdges__ which only return a list of connected edges,
and discard the rest. Part.sortEdges return a list of list of
connected edges, which includes all input edges.
2017-01-03 16:59:16 +08:00
Markus Lampert
e92f315379 Changed default values for tags and disabled old popup menu. 2017-01-02 17:34:37 -08:00
Markus Lampert
556e25e47f Fixed another initialisation issue - depending on how the dressup is created. 2017-01-02 17:34:36 -08:00
Markus Lampert
8efbe9e645 Basic UI for holding tags. 2017-01-02 17:34:36 -08:00
Markus Lampert
807cf80a77 Hide job while editing dressup. 2017-01-02 17:34:36 -08:00
Markus Lampert
34f2105499 Fixed edit dialog initialisation. 2017-01-02 17:34:36 -08:00
Markus Lampert
9bf58b1c94 Reduced logging. 2017-01-02 17:34:36 -08:00
Markus Lampert
cb85072bbd Fixed alignment issue and unit tests.
The trick is really to over-extend edges before creationg shapes for the common operation, and trying to avoid alignment of the edge with the cone's seam.
2017-01-02 17:34:36 -08:00
Markus Lampert
27b71ab1ae Maintaining rapid commands. 2017-01-02 17:34:36 -08:00
Markus Lampert
f232096eb4 Fixed build and tests. 2017-01-02 17:34:36 -08:00
Markus Lampert
068dc2d72d Reduced logging. 2017-01-02 17:34:36 -08:00
Markus Lampert
d6c588e57b Added resiliancy against vertical path elements. 2017-01-02 17:34:36 -08:00
Markus Lampert
c1fc88c6a3 Fixed caching issue. 2017-01-02 17:34:36 -08:00
Markus Lampert
6b758e2714 Added support for vertical paths along the edge of a cylindrical tag. 2017-01-02 17:34:36 -08:00
Markus Lampert
ab382ce436 Improved tag height based on obj.Base properties, if they exist. 2017-01-02 17:34:36 -08:00
Markus Lampert
5e1efba512 Fixed generation and edge case where there is no wire to cut the tag. 2017-01-02 17:34:36 -08:00
Markus Lampert
1635d73b1b Removed core which isn't used anymore; some debugging info to figure out the save/restore issus. 2017-01-02 17:34:36 -08:00
Markus Lampert
b26a7ad794 OCC based tag line generation by extruding the edges cutting through a tag and retreiving the common with the tag solid. 2017-01-02 17:34:36 -08:00
Markus Lampert
9eca75e673 Added pixellation of arbitrary path curve. 2017-01-02 17:34:36 -08:00
Markus Lampert
e807094eda Create cones for debugging cone shaped tags. 2017-01-02 17:34:36 -08:00
Markus Lampert
f294821f9d Use PathGeom for holding tags dressup. 2017-01-02 17:34:36 -08:00
Markus Lampert
0fabe5c079 Fixed helix construction. 2017-01-02 17:34:36 -08:00
Markus Lampert
a3ae53a82b Added arcToHelix. 2017-01-02 17:34:36 -08:00
Markus Lampert
198ab6db2e Rebase on new Line/LineSegment code. 2017-01-02 17:34:36 -08:00
Markus Lampert
23196b4c69 Fixed most of the state machine issues, still a problem with intersection of edges. Need to rebase. 2017-01-02 17:34:36 -08:00
Markus Lampert
4a810bc107 Support for arcs and helix with tests. 2017-01-02 17:34:36 -08:00
Markus Lampert
6462d775e3 Added support for arcs on square tags. 2017-01-02 17:34:36 -08:00
Markus Lampert
88e9d26ecb Added HoldingTags dressup with tests, using PathGeom and PathTestUtils. 2017-01-02 17:34:36 -08:00
Bernd Hahnebach
6ab6603f2e FEM: fix unit tests in the regard of new material module name 2017-01-02 18:03:24 -02:00
Bernd Hahnebach
739fe3ae39 FEM: move modules MechanicalMaterial to a more general FemMaterial 2017-01-02 18:03:24 -02:00
Bernd Hahnebach
1d2857eb76 FEM: GUI, move create node set tool to mesh tools 2017-01-02 18:03:24 -02:00
Bernd Hahnebach
100e1bfc2d FEM: solver ccx task panel, typo 2017-01-02 18:03:24 -02:00
Bernd Hahnebach
97b08f2bd9 FEM: netgen mesh obj, move a new obj inside an active analysis if there is one 2017-01-02 18:03:24 -02:00
Bernd Hahnebach
6df6bae9d8 FEM: GMSH mesh obj, switch to FEM WB on double click on obj 2017-01-02 18:03:24 -02:00
Bernd Hahnebach
437ce69b11 FEM: GMSH mesh task panel, add an ok and cancel button, remove close button 2017-01-02 18:03:24 -02:00
Bernd Hahnebach
f562b3d945 FEM: code formating, flake8 and delete not used imports 2017-01-02 18:03:24 -02:00
Markus Lampert
d51188bd07 Setting a minimum # interpolations for displaying an arc. 2017-01-01 22:41:28 -08:00
Lorenz Hüdepohl
cfb2020786 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2017-01-01 17:39:55 +01:00
Alexander Gryson
211f771f94 Added Metadata 2016-12-31 21:20:45 +01:00
Alexander Gryson
ae3bbf5988 Update Raytracing Workbench icons 2016-12-31 21:20:45 +01:00
Yorik van Havre
2982ecf633 Draft: Do not import non-instanciated blocks - fixes #2822 2016-12-31 15:48:01 -02:00
wwmayer
f22f5c819e Merge pull request #407 from dev-at-stellardeath-org/linuxcnc_post_without_gui
Path: linuxcnc_post without GUI
2016-12-31 12:18:56 +01:00
Lorenz Hüdepohl
72f9ec67e7 Path: Fix GUI race condition in helix task panel checkboxes 2016-12-31 00:02:22 +01:00
Lorenz Hüdepohl
32bcc0a579 Rebase onto current master 2016-12-30 22:47:47 +01:00
Lorenz Hüdepohl
2d6ea99035 PathHelix: Add GUI list with selected features 2016-12-30 22:47:47 +01:00
Lorenz Hüdepohl
6ad0a1f64b PathHelix: "Cancel" and some logic in task panel
- "Cancel" now restores the original values as it should.
- The various mutually exclusive uses of UseStartDepth, UseFinalDepth
  and ThroughDepth are now reflected in the GUI by grayed-out components
2016-12-30 22:47:47 +01:00
Lorenz Hüdepohl
00226a9c47 PathHelix: Fixes for clearance, non-aligned centers
The safe Z value was calculated with respect to the current hole, but
the tool should better be always retracted to the safe Z value with
respect to the first hole of a series of holes.

Another fix concerns the detection of holes-within-holes, previously it
was assumed that there the centers must align perfectly, this seems to
be the case only up to some numerical precision. Fixed by just allowing
any hole that is wholly contained in the first hole, even it is not
centered.
2016-12-30 22:47:47 +01:00
Lorenz Hüdepohl
20af62cb9e PathHelix: Fix StartDepth and FinalDepth for recursive holes
These were previously only applied for the first and last operation,
respectively. Now whole operations can be skipped if they are completely
outside the specified range.
2016-12-30 22:47:47 +01:00
Lorenz Hüdepohl
cd651d1a42 A TaskPanel for PathHelix 2016-12-30 22:47:46 +01:00
Lorenz Hüdepohl
f025636a9c HelixCut: A new Path command to make circular holes 2016-12-30 22:47:46 +01:00
Lorenz Hüdepohl
7d53cc9e6f Path: linuxcnc_post without GUI
A simple fix to be able to easily use the linuxcnc_post module without
the GUI present
2016-12-30 22:33:15 +01:00
Yorik van Havre
0993a525b1 Arch: Fixed bug with arch objects that are a clone and have a material 2016-12-30 19:25:42 -02:00
Yorik van Havre
6aedc47a2c Arch: Correctly export profiles with holes to IFC 2016-12-30 19:24:54 -02:00
Yorik van Havre
ac598f5104 Arch: Added utility command to create an undefined Arch component clone of an object 2016-12-30 18:07:13 -02:00
Yorik van Havre
541d767335 Arch: fixed typo in yesterdays commmit 2016-12-30 12:10:38 -02:00
wmayer
b2767f7197 rearrange headers to avoid warning 2016-12-30 13:31:08 +01:00
wmayer
3377b42642 suppress -Woverloaded-virtual warnings from smesh 2016-12-30 12:11:35 +01:00
Yorik van Havre
40c25e0809 Arch: Fixed export of materials to IFC to be understandable by revit 2016-12-29 21:02:54 -02:00
Yorik van Havre
2e380cd581 Arch: Make sure the BaseMaterial property contains a Material object 2016-12-29 20:42:30 -02:00
Yorik van Havre
0249235833 Arch: Faster material handling in IFC import - fixes #2762 2016-12-29 16:05:52 -02:00
wmayer
3114df352d in forward declaration replace class keyword when struct is expected
comment out unused parameters
2016-12-29 17:52:39 +01:00
wmayer
35b76c5205 in forward declaration replace class keyword when struct is expected 2016-12-29 16:02:35 +01:00
wmayer
5fbcb99adc fix build failure 2016-12-29 15:01:57 +01:00
WandererFan
16ce8d40f5 Section directions from rotated DPGI's 2016-12-29 14:43:37 +01:00
WandererFan
139edb2415 Working revolving part DPG 2016-12-29 14:43:25 +01:00
WandererFan
90935d0600 Reset/Match 3d buttons working 2016-12-29 14:43:13 +01:00
WandererFan
93fb9273dd Working proof of concept for DPG rots & dirs 2016-12-29 14:43:00 +01:00
WandererFan
ca8adc3aab getViewAxis -> DVP virtual method 2016-12-29 14:42:46 +01:00
WandererFan
489a25e462 check vectors parallel, vec rotate arb axis, vec format improve 2016-12-29 14:42:31 +01:00
Yorik van Havre
f252f54573 Arch: Allow Arch Components to be clone of any other Arch type 2016-12-28 20:27:46 -02:00
Yorik van Havre
c084af8473 Arch: Fixed material in non-GUI mode 2016-12-28 17:32:35 -02:00
Yorik van Havre
39491713f2 BOPTools: Fix to work without the GUI 2016-12-28 17:00:59 -02:00
Yorik van Havre
1c35bd8cd9 Fixed typos notified on crowdin 2016-12-28 16:59:24 -02:00
Yorik van Havre
0408aa4a60 Draft: Fixed bug in wire offsets 2016-12-28 14:30:38 -02:00
wmayer
7004081805 avoid to create a circular dependency when modifying an existing pad or pocket operation 2016-12-28 17:05:20 +01:00
wmayer
cbf717f317 fix whitespaces 2016-12-28 14:22:42 +01:00
wmayer
7496eeef18 move methods setXAxisDir/getXAxisDir to base class 2016-12-28 14:22:12 +01:00
wwmayer
309d46137e Merge pull request #401 from abdullahtahiriyo/parabola_2017
Parabola 2017
2016-12-28 13:48:13 +01:00
Abdullah Tahiri
c6a8e3d7a9 Sketcher: Arc Of Parabola - Symmetry tool 2016-12-28 01:25:33 +01:00
wmayer
f065f8eb53 if UnicodeUTF8 is not defined use a fallback implementation of translate() 2016-12-27 20:12:39 +01:00
wmayer
d9b1ce7ca2 remove UnicodeUTF8 2016-12-27 19:31:25 +01:00
wmayer
b6c28688fe remove UnicodeUTF8 2016-12-27 18:56:30 +01:00
wmayer
0f53d8224b remove UnicodeUTF8 2016-12-27 18:31:05 +01:00
Abdullah Tahiri
309d9cfc4e Sketcher: Arc Of Hyperbola - Symmetry tool 2016-12-27 02:13:23 +01:00
Abdullah Tahiri
9d65cc5672 Sketcher: Copy/Clone and Array support for Arcs of Parabola and Hyperbola 2016-12-26 23:23:34 +01:00
Abdullah Tahiri
ebfbe29d2f Sketcher: Restore internal geometry tool refactoring and extended support
=========================================================================

- Long felt need of refactoring the code so as not to repeat code already existing in SketchObject.
- Refactored code supports preexisting Ellipse and Arc of Ellipse and adds support for Arcs of Hyperbola and Parabola.
2016-12-26 22:54:47 +01:00
Abdullah Tahiri
1a535e5f4e Sketcher: Arc Of Parabola - Delete unused internal geometry on deletion 2016-12-26 22:06:40 +01:00
Abdullah Tahiri
ecc8ba57ac Sketcher: Arc Of Hyperbola - Delete unused internal geometry on deletion 2016-12-26 19:42:57 +01:00
Abdullah Tahiri
359d9dbc1d Sketcher: fix compilation warnings 2016-12-26 19:19:10 +01:00
Yorik van Havre
86b3463ee1 updated ts files 2016-12-26 12:36:24 -02:00
Alexander Gryson
ce959ca323 Add Metadata 2016-12-26 12:23:07 -02:00
Alexander Gryson
019f97e02b Update Points Workbench icons 2016-12-26 12:23:07 -02:00
Alexander Gryson
eb4e6fdcb9 Update Material Workbench icons 2016-12-26 12:23:07 -02:00
Alexander Gryson
aa951d80e2 Integrate forum feedback 2016-12-26 12:23:07 -02:00
Alexander Gryson
f680d810a5 Update multiple workbenches
Workbenches updated:
* Complete
* Image
* Inspection
* Material
* MeshPart
* Points
* Reverse Engineering
* Start
* Test
* Web
2016-12-26 12:23:07 -02:00
Yorik van Havre
c0abd851eb Updated appendMenu() functions in py workbenches 2016-12-26 12:06:17 -02:00
wwmayer
cd59747a77 Merge pull request #396 from danielfalck/tledit_units
Tledit units
2016-12-25 11:26:54 +01:00
Dan Falck
388ddcf2b2 PATH:units added Gui::InputField to some parms
old spinboxes were not aware of units so I substituted in the custom FreeCAD Gui:InputField on countour, profile, profile edges, and pocket operations.
2016-12-24 17:28:40 -08:00
Abdullah Tahiri
f9eec60b1c Sketcher: Parabola fix loading from file 2016-12-24 22:15:41 +01:00
Abdullah Tahiri
00210c684a Sketcher: Parabola fix y axis in parabola rules constraint 2016-12-24 19:23:53 +01:00
Abdullah Tahiri
82259f31da Part::Geometry: ArcOfParabola CCW emulation support/fix
=========================================================

Correction of the emulation so that arcs of parabola are always CCW.
2016-12-24 16:11:15 +01:00
Abdullah Tahiri
9e7d86f1b8 Sketcher: Parabola perpendicularity constraint 2016-12-24 15:24:36 +01:00
Abdullah Tahiri
d8b38032cf Sketcher: Parabola tangency support
===================================

Support for tangency with any preexisting supported geometry using angle via point.
2016-12-24 15:02:52 +01:00
Abdullah Tahiri
01ba29ed33 Sketcher: Parabola Element Widget support 2016-12-24 04:08:53 +01:00
Abdullah Tahiri
452394a154 Sketcher: Parabola icons
========================

Slightly modified icons based on Jim's original proposal:

http://forum.freecadweb.org/viewtopic.php?f=10&t=8038&hilit=hyperbola#p66129

N.B. Yes Jim, it took me slightly two years to use your 2014 icons...beter late than sorry :)
2016-12-24 04:08:42 +01:00
Abdullah Tahiri
b6919f8627 Sketcher: Parabola creation method autoconstraints 2016-12-24 03:10:44 +01:00