Commit Graph

4964 Commits

Author SHA1 Message Date
jrheinlaender
2f658733b7 Feature tree: Insert mode for SketchBased features 2016-04-12 18:11:47 +02:00
jrheinlaender
6235385c5a Create Base property for SketchBased features and changed Pad to use it 2016-04-12 18:11:47 +02:00
jrheinlaender
417576d5eb Show three base planes (XY, YZ, XZ) at the beginning of the feature tree and allow to create sketches on them 2016-04-12 18:11:47 +02:00
jrheinlaender
7dee0b7018 Create standard XY, XZ, YZ planes when running the PartDesign_Body command if they don't exist yet 2016-04-12 18:11:47 +02:00
jrheinlaender
acd88878af When switching to the PartDesign workbench, activate the Body feature that was active when the document was last saved,
and move the selection to its Tip feature so that the user can start creating new features right away
2016-04-12 18:11:47 +02:00
jrheinlaender
1b809f305e Add command PartDesign_Body and integrate it into the Workbench 2016-04-12 18:11:47 +02:00
jrheinlaender
ae9aae703c Hide previous Tip shape when adding a new SketchBased feature 2016-04-12 18:11:47 +02:00
jrheinlaender
f3e8c331da Preliminary work on Transformed feature's pick dialog to make Command.cpp compile 2016-04-12 18:11:47 +02:00
jrheinlaender
94b6b89610 Enhanced Pick dialog for PartDesign feature's sketches 2016-04-12 18:11:47 +02:00
jrheinlaender
d16a886ad9 Automatically create Body feature when choosing "New PartDesign Project" from StartPage 2016-04-12 18:11:47 +02:00
jrheinlaender
5dbc66ae84 Integrated PartDesign::Pad into Body feature workflow 2016-04-12 18:11:47 +02:00
Stefan Tröger
394085133c add missing files 2016-04-12 18:11:47 +02:00
Stefan Tröger
d4f788f9e3 remove unneeded files 2016-04-12 18:11:47 +02:00
Stefan Tröger
ca60024447 add more constraints and rebuild solver system everytime it needs to be executed 2016-04-12 18:11:47 +02:00
Stefan Tröger
1e8a304036 remove typename outside templates 2016-04-12 18:11:46 +02:00
Stefan Tröger
35a9f1c693 remove gui dependencies in app 2016-04-12 18:11:46 +02:00
Stefan Tröger
bf447d3a7c add solver.hpp 2016-04-12 18:11:46 +02:00
Stefan Tröger
b1d7dbe2f0 add missing files 2016-04-12 18:11:46 +02:00
Stefan Tröger
952d9140d3 add opendcm constraint solver 2016-04-12 18:11:46 +02:00
Stefan Tröger
474fbbcb3e basic infrastructure 2016-04-12 18:11:46 +02:00
jriegel
638cfcc2cf Start AssemblyLib.py 2016-04-12 18:11:46 +02:00
jriegel
b81bc0c27f Update Item with new UUID tool 2016-04-12 18:11:46 +02:00
jriegel
4d49b0b059 PropertyMap and new Attributes for the Assembly object and the Document 2016-04-12 18:11:46 +02:00
wmayer
cdd16de8e6 Fix some build and runtime failures 2016-04-12 18:11:46 +02:00
jriegel
fc7db6369c Assembly import script & PartDesign Solid object 2016-04-12 18:11:46 +02:00
jriegel
fca3b9dffb Added Base planes with the Body 2016-04-12 18:11:46 +02:00
jriegel
aa216ee69d Some fixes in Body visualls (ongoing) 2016-04-12 18:11:46 +02:00
jriegel
50652895d4 3D subgrouping for Body 2016-04-12 18:11:46 +02:00
jriegel
2403af2e6c Fix bug in switching active Part/Assembly object when document with active one was closed 2016-04-12 18:11:45 +02:00
jriegel
b08b2f6140 addition of constraints 2016-04-12 18:11:45 +02:00
jriegel
8f11dc5492 start Constraints 2016-04-12 18:11:45 +02:00
jriegel
71b9ded9a1 some adjustments on WB auto-switch 2016-04-12 18:11:45 +02:00
jriegel
db460cff8a auto WB switching for editing Sketches and new TaskWatcher 2016-04-12 18:11:45 +02:00
jriegel
f5cfa8d72a change inheritance of Item (again) 2016-04-12 18:11:45 +02:00
jriegel
fbd763a8f4 switch PartDesign to Bodies 2016-04-12 18:11:45 +02:00
jriegel
bf26a422cb clean up in- and out-list code 2016-04-12 18:11:45 +02:00
jriegel
903855ad82 Automatic WB switching and Active PartDesign body 2016-04-12 18:11:45 +02:00
jriegel
b825571562 implement active body in PartDesign 2016-04-12 18:11:45 +02:00
jriegel
e5c4d2aa70 testing selection 2016-04-12 18:11:45 +02:00
jriegel
ea57c04117 fix in Plane and Placement visual 2016-04-12 18:11:45 +02:00
jriegel
09f199ed9e View nesting working! 2016-04-12 18:11:45 +02:00
jriegel
d5663b4122 Slightly change start up code to run Workbench activate later and some implementations 2016-04-12 18:11:45 +02:00
jriegel
29507a44ed First claimChildren3D implementation and Starting PartItem implementation 2016-04-12 18:11:45 +02:00
jriegel
8537926edc Finally fixing the highlight code 2016-04-12 18:11:44 +02:00
jriegel
0ec1c40d25 fix startup AssemblyGui 2016-04-12 18:11:44 +02:00
jriegel
58313b0853 implementing commands 2016-04-12 18:11:44 +02:00
jriegel
72b49dbc6b fixes in highlight code 2016-04-12 18:11:44 +02:00
jriegel
26afb6ee77 Add highlighting of tree view items 2016-04-12 18:11:44 +02:00
jriegel
80217bf10f Commands and object making 2016-04-12 18:11:44 +02:00
jriegel
6700512efe Add some commands to assembly 2016-04-12 18:11:44 +02:00
jriegel
79cb8362a0 duplicate zoom node to Gui and add doc tool module 2016-04-12 18:11:44 +02:00
jriegel
f98a811bd1 Add more objects for Assembly 2016-04-12 18:11:44 +02:00
U-EMEA\jriegel
1bb3fbc119 Add ViewProvider for Assembly and Part and add FreeGCE3D 2016-04-12 18:11:44 +02:00
jriegel
1feafdd2c5 Adding ViewProvider 2016-04-12 18:11:44 +02:00
jriegel
04feea80b1 Starting DocTool for FreeCAD documents 2016-04-12 18:11:44 +02:00
jriegel
9396e5e02d First work for LibPack8 and PropertyUUID 2016-04-12 18:11:44 +02:00
jriegel
a224d93d8c Add Assembly App objects and some python bindings
Make Part working
2016-04-12 18:11:44 +02:00
jriegel
95c9259765 Run arbitrary scripts from Cmd command line 2016-04-12 18:11:44 +02:00
jriegel
33318314d8 starting implementing assembly 2016-04-12 18:11:44 +02:00
Bernd Hahnebach
93810b8406 FEM: Mesh ViewProvider, remove some console log prints 2016-04-09 21:00:58 +02:00
Bernd Hahnebach
45f2b8ce70 FEM: Mesh Viewprovider, add faces and edges of pyra13 2016-04-09 21:00:58 +02:00
Bernd Hahnebach
0730b3a331 FEM: Mesh ViewProvider, add faces and edges of penta15 2016-04-09 21:00:58 +02:00
Bernd Hahnebach
0c51820293 FEM: Mesh ViewProvider, add faces and edges of pyra5 2016-04-09 21:00:58 +02:00
Bernd Hahnebach
e83f9d102f FEM: Mesh ViewProvider, add faces and edges of penta6 2016-04-09 21:00:58 +02:00
Bernd Hahnebach
11adf30ac5 FEM: Mesh ViewProvider, add faces and edges of hexa20 2016-04-09 21:00:58 +02:00
Bernd Hahnebach
6edb3146b4 FEM: Mesh ViewProvider, add faces and edges of quad8 2016-04-09 21:00:58 +02:00
Bernd Hahnebach
e8e5876249 FEM: Mesh ViewProvider, change node order and painting of hexa8 2016-04-09 21:00:58 +02:00
Bernd Hahnebach
66d95cf401 FEM: Mesh ViewProvider, change painting and some comments of quad4 2016-04-09 21:00:58 +02:00
Bernd Hahnebach
60a6107730 FEM: Mesh ViewProvider, change node order and painting of tetra10 2016-04-09 21:00:58 +02:00
Bernd Hahnebach
2b20cf00c9 FEM: Mesh ViewProvider, change node order and painting of tria6 2016-04-09 21:00:58 +02:00
Bernd Hahnebach
c42ea61323 FEM: Mesh ViewProvider, change painting of tetra4 2016-04-09 21:00:58 +02:00
Bernd Hahnebach
ed83b85ee0 FEM: Mesh ViewProvider, change painting of tria3 2016-04-09 21:00:58 +02:00
Bernd Hahnebach
b2711eaed6 FEM: Mesh ViewProvider, add some console log prints 2016-04-09 21:00:58 +02:00
Bernd Hahnebach
c9810831a8 FEM: Mesh ViewProvider, move comments in adding the nodes loop 2016-04-09 21:00:58 +02:00
Bernd Hahnebach
7effa0db1f FEM: Mesh ViewProvider, sort intends 2016-04-09 21:00:58 +02:00
Bernd Hahnebach
488c18359c FEM: Mesh ViewProvider, change some comments and exception messages 2016-04-09 21:00:58 +02:00
Bernd Hahnebach
1ebfcff681 FEM: Mesh ViewProvider, sort empty lines 2016-04-09 21:00:58 +02:00
Bernd Hahnebach
677b5ca513 FEM: Mesh ViewProvider, remove some trailing white spaces 2016-04-09 21:00:58 +02:00
Bernd Hahnebach
06e6f04423 FEM: Mesh ViewProvider, fix faces count for penta6 and penta15 2016-04-09 21:00:58 +02:00
Bernd Hahnebach
2ecab3a63c FEM: Mesh ViewProvider, fix wrong break in switch 2016-04-09 21:00:58 +02:00
wmayer
19bc5077c8 + perform validation check after partdesign chamfer operation 2016-04-09 11:47:31 +02:00
Yorik van Havre
ca7c5d31a4
updated translations 2016-04-06 22:39:34 -03:00
wwmayer
db2580088d Merge pull request #132 from mandeeps708/master
fixes typo in Part Design workbench
2016-04-06 17:28:04 +02:00
mandeeps708
c1b652f21e fixes typo in Part Design workbench 2016-04-06 02:51:03 +05:30
Eivind Kvedalen
8fe0d42450 Spreadsheet: Fixed undo/redo (issue #2483). 2016-04-04 19:58:19 +02:00
wmayer
87293fac9b + add extra check if fillet operation returns valid shape 2016-04-04 14:26:27 +02:00
Yorik van Havre
3003f16389 Arch: fixed wrong storing of IFC uid in FreeCAD objects 2016-04-03 13:05:30 -03:00
wmayer
7052fde4de + clear selection before hiding the linked object when editing fillet/chamfer 2016-04-02 15:29:08 +02:00
Eivind Kvedalen
484ba25ce6 Spreadsheet: Added test cases. 2016-04-02 12:01:04 +02:00
Eivind Kvedalen
a21571a652 Spreadsheet: Removed own expression parser and instead use the one in App. 2016-04-02 12:01:04 +02:00
Eivind Kvedalen
6c80dd4eae Spreadsheet: Fixed crash when invalid unit was given as input. 2016-04-02 12:01:04 +02:00
Eivind Kvedalen
e230f3c5e7 Spreadsheet: Expose parse error to user. 2016-04-02 12:01:04 +02:00
Yorik van Havre
f526ff8f48 Draft: small fix in snaps - issue #2487 2016-03-31 19:33:50 -03:00
wmayer
d4ec3a985a + move creation of SoFCSelection node to ViewProviderBuilder to avoid code duplication 2016-03-31 15:54:33 +02:00
wmayer
2521718820 + fix bug in GLImageBox 2016-03-31 14:14:59 +02:00
wmayer
0875dfad34 + remove unneeded namespace 2016-03-31 14:14:22 +02:00
wmayer
031711120d + improve MeshSelection class 2016-03-31 13:35:55 +02:00
Ian Rees
27f12ae3de Find Netgen/nglib on MacOS with MacPorts 2016-03-28 10:48:49 +02:00
wmayer
fa77887d09 + fix issue with cursor on viewer widget, prepare code for improved event handling 2016-03-28 00:55:37 +02:00
wmayer
d43443a832 + improve GraphicsScene class 2016-03-27 16:22:30 +02:00
wmayer
b86e14afff + improve GraphicsScene class 2016-03-26 19:02:15 +01:00
wmayer
bd46939070 + make GraphicsView get working again, remove unneeded code 2016-03-26 14:30:36 +01:00
wmayer
05ed514bcf + replace insecure x/fabs(x) with sgn function 2016-03-24 11:07:30 +01:00
wmayer
6453040cd8 + fix mesh merge 2016-03-22 11:06:04 +01:00
wmayer
a4dc263846 + always get occ version information in About dialog 2016-03-19 15:55:09 +01:00
wmayer
297e84e3f0 + fix compiler warnings 2016-03-19 10:12:04 +01:00
Bernd Hahnebach
eca9e3339a FEM: preference setting to disable restore result dialog settings 2016-03-18 21:53:13 +01:00
Bernd Hahnebach
1280a185c2 FEM: add FIXME comment to CommandQuickAnalysis 2016-03-18 21:53:12 +01:00
Bernd Hahnebach
c9d1fbdc7d FEM: fix result stats in result widget for frequency analysis 2016-03-18 21:53:12 +01:00
Yorik van Havre
8829848f35 fixed startpage link 2016-03-18 16:21:33 -03:00
Yorik van Havre
bcb75d5477 Updated translation files from crowdin 2016-03-17 23:29:11 -03:00
Jonathan Wiedemann
010121d8c1 Arch Roof : Fix BOPCheck failed
cf http://forum.freecadweb.org/viewtopic.php?f=23&t=14711
2016-03-17 23:24:17 +01:00
Eivind Kvedalen
9d617ce4c8 Expressions: Changed precedence of ?, :, EQ, NEQ, LT, GT, GTE, and LTE. 2016-03-15 18:28:23 +01:00
Bernd Hahnebach
a0af9e2da0 FEM: unit test, update test result files and expected result files 2016-03-14 20:38:42 +01:00
Bernd Hahnebach
eca76c3781 FEM: unit test, add some helper to create result files 2016-03-14 20:38:41 +01:00
Bernd Hahnebach
a0a989fe4c FEM: unit test, update FreeCAD file with objects from module TestFem 2016-03-14 20:38:40 +01:00
Bernd Hahnebach
0ffb412aaf FEM: unit test, change load and pressure to some more reasonable values 2016-03-14 20:38:40 +01:00
Bernd Hahnebach
4e407ac4d6 FEM: unit test, remove not used files 2016-03-14 20:38:39 +01:00
DeepSOIC
5c3024e9f8 Sketcher: negative constraint value avoidance
by swapping elements being constrained at creation time, should the
precalculated value happen to be negative.
2016-03-12 21:28:37 +01:00
DeepSOIC
e624a1d00d Sketcher: never ever hide constraint value sign, anymore 2016-03-12 21:28:22 +01:00
wmayer
b25ef6235d + on rename of contraint make sure that new name is different, on swap constraint names make sure they have user-defined names 2016-03-12 20:02:18 +01:00
wmayer
a17870c93c + fixes #0002471: In constraint context menu, 'Change Value' is always greyed out 2016-03-12 15:26:06 +01:00
wmayer
d0e52d3578 + prepare ViewProvider2DObject to read in GridSize from old projects 2016-03-11 23:06:47 +01:00
wmayer
f124f6e70b + minor whitespace fix, fix warnings 2016-03-11 21:39:15 +01:00
wmayer
4bccc5cc6e + fixes #0002273: Part: Chamfer edges and fillet edges dialog does not remember the type 2016-03-10 22:04:10 +01:00
Bruce Lacey
272cbd198d Exit with non-zero status when unit tests fail.
1.  Enhanced TestApp.py to return the unittest TestResult object to the calling method
2.  FreeCADTest.py now checks the TestResult object.  If all tests pass, FreeCADTest.py exits with a 0 however if any tests fail, then it exits with 1.  FreeCADTest.py calls os._exit() with the exit code instead of sys.exit() because Base::Interpreter:SystemExitException intercepts sys.exit() calls and swallows the exit code so there is no way to propogate the non-zero code from the python test cases through the interpreter to the shell in the current call stack.
2016-03-09 21:57:57 -08:00
wmayer
37b7334df6 + remove extra qualification on normalEstimation 2016-03-09 18:57:36 +01:00
Bernd Hahnebach
fcd4603b66 FEM: fix translation issue of FEM Menue 2016-03-09 18:52:22 +01:00
wmayer
7ee6214415 + fix unit tests for spreadsheet 2016-03-09 17:03:48 +01:00
wmayer
033eb6590e + fix possible build failure 2016-03-09 15:25:15 +01:00
wmayer
6da5c23990 + add algorithm to estimate normals of points 2016-03-09 14:46:19 +01:00
Yorik van Havre
9af03d9b68 Fem: Fixed a translation bug 2016-03-08 21:44:06 -03:00
Eivind Kvedalen
08044fb737 Spreadsheet: Added code to throw under/overflow exceptions. 2016-03-08 16:09:31 +01:00
Eivind Kvedalen
ec7e920453 Spreadsheet: Added test case for conditional expressions. 2016-03-08 16:09:31 +01:00
Eivind Kvedalen
e270dee8cc Spreadsheet: Fixed parser so it accepts integer numbers written as e.g 1e3. 2016-03-08 16:09:30 +01:00
Eivind Kvedalen
b606ed8ce4 Spreadsheet: Added AtomicPropertyChange object to avoid excessive property change reporting. 2016-03-08 16:09:30 +01:00
Eivind Kvedalen
f69a5ab7db Spreadsheet: Turned off debug/tracing for expression parser. 2016-03-08 16:09:29 +01:00
DeepSOIC
3df9df66d9 Part: JoinFeatures UI improvements
* display originals in tree under the features (like Part Fuse does)
* unhide originals upon delete
* display message box when computing the feature fails on creation
2016-03-08 12:00:19 +01:00
wmayer
4fcb93b64e + issue #0001203: Allow User to Adjust Size of Constraint Points 2016-03-08 00:31:50 +01:00
Yorik van Havre
d1b4f23388 Added latest translations from crowdin 2016-03-06 14:50:07 -03:00
wmayer
34b9ff8867 + command to create points object from geometry
+ implement TopoShape::getPoints
2016-03-05 23:36:57 +01:00
wmayer
843fbc49fc + set refine option by default 2016-03-05 16:15:45 +01:00
wmayer
781f91e6af + add refine option to shape builder 2016-03-05 16:13:15 +01:00
wmayer
efdbc93e99 + create points with normals from mesh object 2016-03-04 19:39:13 +01:00
wmayer
70f58672c7 + get also back normals from MeshObject::getPoints 2016-03-04 18:28:49 +01:00
wmayer
0ea6a2ed0d + removed unneeded pure virtual method getFaces from PropertyComplexGeoData
+ extend interface of ComplexGeoData::getPoints to also return normals if available
2016-03-04 17:16:57 +01:00
wmayer
288841cf98 + function to create points from mesh 2016-03-04 16:00:08 +01:00
wmayer
a5e6edff87 + support of export of points to pcd and ply format 2016-03-04 14:48:26 +01:00
Bernd Hahnebach
74a43f23b3 FEM: ccxInpWriter, add Nodes dict to self object 2016-03-03 18:40:32 +01:00
fandaL
c1bf26bbd7 FEM: ccxInpWriter, copy Nodes dict 2016-03-03 18:40:31 +01:00