Commit Graph

5793 Commits

Author SHA1 Message Date
Yorik van Havre
62cb403125 Arch: added 3DS importer 2016-05-29 00:10:42 -03:00
tomate44
14d724d722 Draft Bspline parameterization property 2016-05-28 23:45:22 -03:00
Yorik van Havre
9c89981373 Draft: solved bug in snapper - fixes #2563 2016-05-28 22:35:14 -03:00
Yorik van Havre
3d95239bae
Draft: adapted dimensions to use US Building units schema 2016-05-26 20:38:27 -03:00
Bernd Hahnebach
966ce79207 FEM: trailing white spaces and format space in module Init.py 2016-05-26 12:06:44 +02:00
Bernd Hahnebach
78b92d47b4 Fem+App: use Tuple in PropertyLinkSubList::getPyObject
- fix appropriate methods in FemMeshTools
- fix task panels in FEM
- fix FemInputWriter
2016-05-26 12:06:44 +02:00
wmayer
33c9b9d0dd + fix mistake in BSplineCurve.interpolate for Tangents/TangentFlags argument 2016-05-25 14:22:22 +02:00
wwmayer
d3c5a19ecc Merge pull request #176 from tomate44/patch-1
Update BSplineCurve interpolate documentation
2016-05-25 13:10:13 +02:00
wmayer
f07b836ce7 + support of obj format where texture colors are in range [0, 1] (as written by MeshLab) 2016-05-25 13:07:43 +02:00
wmayer
d51ea4c96b + fix reading of meshes with textures when vertexes are isolated 2016-05-25 12:22:01 +02:00
tomate44
f2071dd1b0 Update BSplineCurve interpolate documentation 2016-05-25 11:50:52 +02:00
wmayer
8cfabdb579 + support of tangents in BSplineCurve.interpolate 2016-05-24 23:15:17 +02:00
tomate44
7582f1799c Update BSplineCurve interpolate documentation
Update BSplineCurve interpolate() documentation for the new "parameters" argument
2016-05-24 18:50:16 +02:00
wmayer
23b01e425f + make sure strings in PartDesign & Sketcher commands can be translated 2016-05-24 18:16:02 +02:00
Yorik van Havre
b4a5582309
Web: support for saving cookies across sessions - fixes #2447 2016-05-24 12:38:18 -03:00
Bernd Hahnebach
960191677b FEM: beam section: use circle if width is not given 2016-05-23 22:01:31 +02:00
Bernd Hahnebach
7b195eb21d FEM: ccxFrdImport: fix hexa20 mesh import 2016-05-23 21:15:21 +02:00
Bernd Hahnebach
a440262126 FEM: allow frequency analysis without constraint fix and change some error messages 2016-05-23 21:13:42 +02:00
sliptonic
2cc36497b8 remove translation from property descriptions. 2016-05-23 13:04:58 -03:00
brad
91978ba1a4 Operations and ToolControllers have labels set automatically.
This will hopefully make things a little clearer
A couple more Sanity checks.
Don't error if no TC in project.
2016-05-23 13:04:58 -03:00
sliptonic
7436a5e397 Cleanup. Make surface, drilling, and engrave work with preselect 2016-05-23 13:04:58 -03:00
sliptonic
d3ba507847 new icons 2016-05-23 13:04:58 -03:00
sliptonic
a0f332feb0 OCC pocket handles large curves better now. Needs testing
initial commit
2016-05-23 13:04:58 -03:00
sliptonic
be03c2ad26 defaults if objects pre-selected. Fixes
Smarter default for inside outside profiles

first commit
2016-05-23 13:04:58 -03:00
brad
bb5165634b cleanup PathUtils.
Bug found profiling single face using occ.  workaround.
defaults for profile are sane.
Automatically add pre-selected faces
2016-05-23 13:04:58 -03:00
sliptonic
c9d6db2173 Profile handles multiple bases now. 2016-05-23 13:04:58 -03:00
brad
2f17f11049 PEP8 cleanup 2016-05-23 13:04:58 -03:00
brad
eeec4f88a3 handle undefined tools 2016-05-23 13:04:58 -03:00
sliptonic
e11558ef3f compliance with PEP8 2016-05-23 13:04:58 -03:00
sliptonic
b34f79d204 cmake fixes 2016-05-23 13:04:58 -03:00
sliptonic
7faaedeab2 Per Zultron. Fixed undefined symbol 2016-05-23 13:04:58 -03:00
sliptonic
22e788dc4b First try at a remote operation. 2016-05-23 13:04:58 -03:00
sliptonic
704cc23ab7 Code cleanup and additional work on panels 2016-05-23 13:04:58 -03:00
sliptonic
670ae854f3 First Draft of Surface operation.
-uses ocl waterline
-uses ocl dropcutter
2016-05-23 13:04:58 -03:00
sliptonic
dcdbf75e55 Taskpanels for Drilling, Engrave, and Profile basically working
Profile still missing some functionality.
I haven't tried to do anything about cmake requirements or testing.
This is a checkpoint commit, please don't build.
2016-05-23 13:04:58 -03:00
sliptonic
82a75e2a20 cmake fixes for engrave task panel 2016-05-23 13:04:58 -03:00
brad
2f43b2a28d Moving horiz and vert feed into the toolload object. 2016-05-23 13:04:58 -03:00
brad
f1a4a5bcc4 First attempt at a task panel
Panel for engraving operation.
2016-05-23 13:04:58 -03:00
brad
bf25088e1a removed obsolete import of PathKurve
fixed viewprovider for profile
2016-05-23 13:04:58 -03:00
brad
0ef51a8426 Fixed problem with rapid and feedrate. 2016-05-23 13:04:58 -03:00
sliptonic
d5c3043e73 libarea profile and pocket now pass hv feedrate.
Warning:  The units may not be correct for your post processor.
Need to check this and find a better way.
2016-05-23 13:04:58 -03:00
sliptonic
26bef05db2 integrating dbtayls helix and ramp entry
integrating dbtayls helix and ramp entry and cleanup

fixed a bug with depth calculation and another with proper entry rapid moves
2016-05-23 13:04:58 -03:00
brad
19812468d1 cmakefix per jan. 2016-05-23 13:04:58 -03:00
sliptonic
940f52db90 Extensive Path Workbench improvements.
Implement libarea improvements for profile
Implement libarea pocketing.
consolidate occ and libarea pocketing operation into one with algorithm
switch
consolidate occ aand libarea profile op into one with algorithm switch
add basic engraving operation.
Add rough UI for profile holding tags
implement holding tags for libarea profile.
implement basic defaults for depth settings.
First move in Drilling is rapid to clearance height.

UI needs lots of work but is usable.
2016-05-23 13:04:58 -03:00
wmayer
23e97bbb2c + issue #0002560: Part BSplineCurve alternate interpolate method 2016-05-23 14:14:50 +02:00
wmayer
5ce8a94c53 + consistent context-menu to double-click event for ViewProviderBody 2016-05-22 18:47:13 +02:00
wmayer
f079b23ada + fix gcc warning of unused variable 2016-05-22 18:45:37 +02:00
DeepSOIC
739509aadc PartDesign: deactivate a container on double-click if already active
Before, it was impossible to deactivate a container (Part, Body) via gui
(or it wasn't obvious).
2016-05-21 01:31:06 +03:00
DeepSOIC
c344e83f05 PartDesign: fixes for new body creation
Upon creation, new bodies used to steal bits from other parts and
bodies, if they were accidentally selected. Extra checks have been added
to make that much less likely.
2016-05-21 01:31:06 +03:00
DeepSOIC
0f75ad6637 Sketcher: change rules of external linkage
Was:
+ allowed: links to support
+ allowed: free links within one body,
+ Ctrl-protected: links between bodies of ?one? part
- blocked: (everything else) . i.e., if sketch is not in a body, only
links to support are allowed.

New:

* Across Parts, from Part to outside part, from document into part:
blocked
* Within one part (also if directly in document): allowed.
except links from body to outside or to other bodies are screened (hold
Ctrl to allow).
Support (attachment) is totally ignored in this logic.
2016-05-21 01:31:06 +03:00
wwmayer
711213d58e Merge pull request #170 from f3nix/gcc-warnings-2
Fix some GCC warnings.
2016-05-20 22:23:36 +02:00
sgrogan
37c27346d5 add AppFemExport to FemPostFunctionProvider 2016-05-20 09:53:53 -04:00
DeepSOIC
b13e6924e4 Part: make primitives attachable 2016-05-20 00:11:16 +03:00
DeepSOIC
c929739a7b Draft: patch attachable objects + make clones attachable
Pathcing: add calls to positionBySupport on recomputes of features built on Part2DObjectPython.
Clone: make it attachable, regardless of source object type
2016-05-20 00:11:16 +03:00
DeepSOIC
b4102fc3da Attacher: fix defaulting to 3D of AttachableObject 2016-05-20 00:11:16 +03:00
Mateusz Skowroński
f1077748fa Fix some GCC warnings. 2016-05-19 22:22:12 +02:00
Stefan Tröger
4d8f338b8d PartDesign: Implement voted tool ordering 2016-05-18 23:54:59 +02:00
Stefan Tröger
83ce80f133 fixes #0002512 Allow multi-face part design tools 2016-05-18 23:54:18 +02:00
Stefan Tröger
4f8973fe8e PartDesign: Fix loft preview 2016-05-18 23:54:03 +02:00
Stefan Tröger
c5ca99658b PartDesign: Fix pipe preview display
When a base feature was available the preview mode did not show the pipe and also set the visibility of the pipe to false
2016-05-18 23:53:49 +02:00
Stefan Tröger
62f563938b PartDesign: Handle pipe external references 2016-05-18 23:53:33 +02:00
wmayer
28d762f845 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2016-05-18 23:44:59 +02:00
wmayer
c81aca0902 + unify method names 2016-05-18 23:43:58 +02:00
DeepSOIC
554d3736f9 Attacher: add command to Part workbench menu
+ add an icon to attachment editor
2016-05-18 23:06:04 +02:00
DeepSOIC
7f5197695d Attacher: add general purpose editor UI (python)
Added as PartGui.AttachmentEditor, and Part_EditAttachment gui command
2016-05-18 23:05:51 +02:00
Yorik van Havre
e6dd3488ff
removed translation from property descriptions (wrong to do it there anyway) - issue #2524 2016-05-18 16:59:15 -03:00
Stefan Tröger
836d5b1525 FEM Post: Fix rebase errors 2016-05-18 21:35:15 +02:00
Stefan Tröger
4c9d4e1fdc FEM Post: fix vtk include wthout guard 2016-05-18 21:35:15 +02:00
Stefan Tröger
95d1e8244f FEM Post: Handle wireframe with internal wires 2016-05-18 21:35:15 +02:00
Stefan Tröger
945aee1d1c FEM Post: integrate FreeCAD color system 2016-05-18 21:35:15 +02:00
Stefan Tröger
875e32607d FEM Post: import VTK types only when possible 2016-05-18 21:35:15 +02:00
Stefan Tröger
48ada2359f FEM Post: Add missing property files 2016-05-18 21:35:15 +02:00
Stefan Tröger
9c61e2f386 FEM Post: Fix cutter error and "remove crashs" 2016-05-18 21:35:15 +02:00
Stefan Tröger
dd72ea6ab0 FEM Post: Clean up work 2016-05-18 21:35:15 +02:00
Stefan Tröger
defecae339 FEM Post: Fix and extend file handling
-Fix crash on saving due to bad result to pipeline transfer
-fix vtk smart pointer usage
-support more file types(new vtk xml formats)
2016-05-18 21:35:15 +02:00
Stefan Tröger
c2df92cd76 FEM Post: FreeCADify the vtk post processing
- Data property for saving/loading vtk data
- Use FreeCAD recompute system instead of vtk pipeline
2016-05-18 21:35:15 +02:00
Stefan Tröger
427ded23d5 FEM Post: Add icons 2016-05-18 21:35:15 +02:00
Stefan Tröger
4441e4ed5d FEM Post: Fix crash due to wrong initalisation 2016-05-18 21:35:15 +02:00
Stefan Tröger
53a5297de7 FEM Post: Update function manipulators
Update includes view and transformation handling
2016-05-18 21:35:15 +02:00
Stefan Tröger
afdc3da1af FEM Post: Fix crash on gui dialog only 2016-05-18 21:35:15 +02:00
Stefan Tröger
acf3d67390 FEM Post: Add icons for fem post processing 2016-05-18 21:35:15 +02:00
Stefan Tröger
cd9e827d24 FEM Post: Add cut filter 2016-05-18 21:35:15 +02:00
Stefan Tröger
d0e371b3e1 FEM Post: Add warp vector filter 2016-05-18 21:35:15 +02:00
Stefan Tröger
2f9e70af09 FEM Post: Command for creation of post pipeline from result 2016-05-18 21:35:15 +02:00
Stefan Tröger
51f2a0efc6 FEM Post: Detail filter infrastructure 2016-05-18 21:35:15 +02:00
Stefan Tröger
2b9e608501 FEM Post: Basic implementation of filter framework 2016-05-18 21:35:15 +02:00
Stefan Tröger
4d09c09dc0 FEM Post: Move post processing to fem objects 2016-05-18 21:35:15 +02:00
Yorik van Havre
39967262e4 Draft/Arch: cleanup of startup scripts 2016-05-18 16:01:38 -03:00
Yorik van Havre
21ba33df01 Draft: Allow to scale imported DXF files - fixes #2557 2016-05-18 14:32:33 -03:00
Jonathan Wiedemann
149a5a19db Merge branch 'master' into translation-fix 2016-05-18 18:21:33 +02:00
Jonathan Wiedemann
0f88536d42 add decode utf8 importWebGL.py 2016-05-18 17:25:54 +02:00
Jonathan Wiedemann
9ef4a2e21b add decode utf8 PathMachine.py 2016-05-18 17:20:29 +02:00
Jonathan Wiedemann
71606352ee add decode utf8 importOBJ.py 2016-05-18 15:31:10 +02:00
Kurt Kremitzki
205cf94594 Fix "construcion" typo 2016-05-18 11:34:32 +02:00
Bernd Hahnebach
9db47b5941 FEM: fix title in FemTools module 2016-05-16 20:46:53 +02:00
Bernd Hahnebach
e414f9aa81 FEM: Z88: fix cmake for install files 2016-05-16 18:46:34 +02:00
Bernd Hahnebach
11b31eba09 FEM: Z88: add preference to set z88r binary path 2016-05-16 13:22:54 +02:00
Bernd Hahnebach
ab06fdc2a5 FEM: Z88: add module z88DispReader.py 2016-05-16 13:22:54 +02:00
Bernd Hahnebach
b4630ba45d FEM: Z88: support for analysis with solver Z88 2016-05-16 13:22:54 +02:00
Bernd Hahnebach
d96ead53f6 FEM: Z88: add import and export of Z88 meshes 2016-05-16 13:22:54 +02:00
Bernd Hahnebach
004f757ab7 FEM: some renameing for multiple solver:
- module names vs multiple solver
- stick with python command class names in Fem
- rename commands for new objects from _CommandFemSomeObjName to _CommandSomeObjName
- rename commands for do something to _CommandDoSomething
- change tool names to have a consistent naming in all FEM for menue tools and tool tipps
2016-05-16 13:22:54 +02:00
Bernd Hahnebach
676b73f3b5 FEM: split ccxInpWriter in new modules FemInputWriter and FemInputWriterCcx 2016-05-16 13:22:54 +02:00
Bernd Hahnebach
610b4b2bba FEM: add module FemToolsCcx.py and make use of it
- move construktor from FemTools to FemToolsCcx
- FemComands and his childs, use the new FemToolsCcx class instead of super class FemTools
- TestFem, use new FemToolsCcx class instead of supper class FemTools
2016-05-16 13:22:54 +02:00
Bernd Hahnebach
2a6a57c5b6 FEM: ccxInpWriter, write vertex loads the same way like edge loads and face loads 2016-05-16 13:22:54 +02:00
Bernd Hahnebach
932679438a FEM: add module FemMeshTools and move methods in there 2016-05-16 13:22:54 +02:00
Bernd Hahnebach
abdec1b6fd FEM: fix unit test after small changes in writeAbaqus 2016-05-16 13:22:54 +02:00
Bernd Hahnebach
4bef49bb51 FEM: improvements in Abaqus (CalculiX) FEM mesh im- and export:
- add hexa8, hex20, penta6, penta15, quad4, quad8 to writeAbaqus in FemMesh
- make node order in ccxFrdReader and writeAbaqus fitting each other
2016-05-16 13:22:54 +02:00
wmayer
c60da6c6e9 + fix build failure of Robot module when using occ 2016-05-15 21:01:44 +02:00
wmayer
9316a1511a + fix index error using occ matrix class 2016-05-15 16:12:24 +02:00
David Pello
5f0073b9e0 BSD Porting fixes, conditional compilation and use of gettimeofday() 2016-05-15 12:08:43 +02:00
blobfish
b5dfc41759 Part: Check Geometry: see following
adding parallel mode for bopargcheck. didn't help speed.
    add time to bopalgo check
    entry for stopOnFirstFaulty. didn't help speed.
    adding new bopalgochecks
2016-05-15 00:06:22 +02:00
DeepSOIC
c922507f2f Attacher: Py: fix crash on FreeCAD startup 2016-05-14 23:10:38 +03:00
wwmayer
6eb173a54b Merge pull request #159 from DeepSOIC/Attacher16
Attacher16 - fixes, and Py interface
2016-05-14 18:23:27 +02:00
wmayer
bca7a1866e + port to OCC 7.0 2016-05-14 16:53:27 +02:00
DeepSOIC
71f70eb855 AttachEngine: fix crash when referenced objects get deleted
... by verifying if the pointers equal to objects contained in all open
documents. Not terribly good, but I can't think of a situation where
doing this search might cause trouble.
2016-05-14 02:14:51 +03:00
DeepSOIC
2d8a7614c5 Attacher: Py: fix docu strings 2016-05-14 00:50:30 +03:00
DeepSOIC
98a472b18d Attacher: Py: renames
AttachEngine attributes and methods:
getShapeType -> getRefTypeOfShape
isShapeOfType -> isFittingRefType
downgradeType -> downgradeRefType
getTypeRank -> deleted (rank exposed through getRefTypeInfo )
getTypeInfo -> getRefTypeInfo
suggestMapModes -> suggestModes
2016-05-13 19:54:44 +03:00
DeepSOIC
632cf142fe Attacher: Py: add GUI strings to getModeInfo and getTypeInfo 2016-05-13 19:54:44 +03:00
DeepSOIC
76c0a81fe3 Attacher: Py: GUI resources interface
Routines to get UI strings for attacher: mode names, mode tooltips,
ref.type names
2016-05-13 19:54:44 +03:00
DeepSOIC
8b4f1210ed Attacher: Py: extend AttachEngine's interface
* add constructor

attributes:
* Mode
* CompleteModeList
* ImplementedModes
* GetModeInfo
* References
* SuperPlacement
* Reverse
* Parameter
* CompleteRefTypeList

methods:
* getShapeType
* isShapeOfType
* downgradeType
* getTypeRank
* copy
* calculateAttachedPlacement
* suggestMapModes
* readParametersFromFeature
* writeParametersToFeature
2016-05-13 19:54:44 +03:00
DeepSOIC
dcc8926236 Attacher: Py: implement Attacher attribute of AttachableObject 2016-05-13 19:54:44 +03:00
DeepSOIC
7000d551b7 Attacher: Py: create AttachEnginePy
Not very useful at the moment, just created the interface.
2016-05-13 19:54:44 +03:00
DeepSOIC
d4f1ef2f7a Attacher: Py: add interface for changing attacher type
Plus a mechanism to remember attacher type of AttachableObject through
save-restore cycle.
2016-05-13 19:54:44 +03:00
DeepSOIC
fe295b701b Attacher: Py: introduce Py interface of AttachableObject
Small - just the introduction.
Support for Py features based on AttachableObject.
Redirect Part2DObjectPython's father to be AttachableObjectPython.
2016-05-13 19:54:44 +03:00
DeepSOIC
897a66cbb7 Attacher: Py: withdraw positionBySupport from Part2DObject
to be reintroduced later in AttachableObjet Py interface
2016-05-13 19:54:44 +03:00
DeepSOIC
162378220d Attacher: preparations for Py interface of shape type system
+ add getModeByName to AttachEngine
2016-05-13 19:54:44 +03:00
DeepSOIC
53bd9b674b Attacher: fix wrong inertial calculation on solids
was using surface calculation instead of volume...
2016-05-13 19:54:44 +03:00
DeepSOIC
6ffa0c9b37 Attacher: initialize member variables
They got garbage values on creation, as was revealed when testing Py
interface.
2016-05-13 19:54:44 +03:00
DeepSOIC
d21995323e Attacher: change Part2DObject to use Plane attacher by default 2016-05-13 19:54:44 +03:00
DeepSOIC
a41c79cd55 Attacher: AttachableObject should have virtual destructor 2016-05-13 19:54:44 +03:00
DeepSOIC
00d8537b66 Part: duplicate include cleanup
no functional changes
2016-05-13 19:54:44 +03:00
Yorik van Havre
0e4132a7d5 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-05-12 23:16:59 -03:00
wmayer
c21888af6c + issue #0002542: Part.Wire.makeoffset() doesn't handle circles correctly. 2016-05-12 19:03:23 +02:00
Yorik van Havre
3632129e5d Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-05-11 10:19:13 -03:00
Wolfgang E. Sanyer
4ebb62be79 Fixed bug ID0002513, where Mesh.export failed.
The failure occered when Mesh.export was passed just a filename, such as 'out.stl'. If
'/some/path/out.stl' was passed it succeeded.
2016-05-10 22:29:40 +02:00
wmayer
59980c33d1 + methods to highlight points, edges or faces of a shape 2016-05-09 23:48:30 +02:00
wmayer
1ccab846e2 + apply f3nix:fix-gcc-warnings-1 2016-05-08 12:00:26 +02:00
wmayer
fbf72553f3 + fix warnings 2016-05-08 06:19:32 +02:00
Mateusz Skowroński
56e5837fd3 Fix Tab order in TaskDatumParameters dialog. 2016-05-07 23:02:04 +02:00
Mateusz Skowroński
58daa046f1 Fix layout in TaskDatumParameters dialog. 2016-05-07 23:01:47 +02:00
wmayer
d8ad50d11d + move global function to namespace 2016-05-07 12:21:21 +02:00
DeepSOIC
c1f22cbd8d Attacher: fix wrong superPlacement read-onlyness
It reacted to changes to unrelated properties. Fixed.
2016-05-07 11:24:41 +02:00
DeepSOIC
abf4ddf9f7 Attacher: UI: another fix of status label
When no references were filled in, and modes were switched, it falsely
claimed 'Attached'. This has been fixed.
2016-05-07 11:24:41 +02:00
DeepSOIC
651be3dcd1 Attacher: make positionBySupport return if attached or not
Needed as reliable way of testing if attachment is working or not.
2016-05-07 11:24:41 +02:00
DeepSOIC
2f6aaf3742 Attacher: add superPlacement to UI
Expose superPlacement as X,Y,Z,yaw,pitch,roll quantity boxes. With partial expression support.
2016-05-07 11:24:41 +02:00
DeepSOIC
b3e9c6b9a9 Attacher: make Placement read-only when attached
Read-onlyness of Placement and superPlacement properties is now
dynamically controlled by MapMode property value.
2016-05-07 11:24:41 +02:00
DeepSOIC
ebd5414a61 Attacher: UI improve status message display
Before, message used to display 'Selection accepted', when attachment
actually failed. Shouldn't happen anymore.
2016-05-07 11:24:41 +02:00
DeepSOIC
a392927750 Attacher: rework UI
* Remove hint system on buttons. Buttons show currently selected
reference type, instead.
* Change button's caption to "Selecting..." when selecting.
* internal logic rearrangements
2016-05-07 11:24:41 +02:00
DeepSOIC
f947101938 Attacher: use getModeName() instead of eMapModeStrings[]
getModeName() does range checking. eMapModeStrings[] will crash if out
of range.
2016-05-07 11:24:41 +02:00
DeepSOIC
505ec6a26d Attacher: change suggestion routine interface
When another bit of information was needed to be extracted from mode
suggestion routine, it felt like listMapModes had too many arguments.
So, the arguments have been collapsed into a struct. This triggered a
few namespace-related changes, which lead to massive search-and-replace
changes all over FreeCAD.

So the only functional change carried out is the addition of reference
types readout to info returned by suggestor.
2016-05-07 11:24:41 +02:00
DeepSOIC
9d19bf023a Attacher: new modes: Inertia CS, Inertia axes
Modes added:
3D and plane attachment: Inertia CS
Line attachment: Inertia axes
This commit may serve a good example of how to add new attachment modes.
2016-05-07 11:24:41 +02:00
DeepSOIC
d12141d1fb Attacher: new mode: center of mass (point attacment) 2016-05-07 11:24:41 +02:00
DeepSOIC
71f5a8f980 Attacher: fix typo in tooltip 2016-05-07 11:24:41 +02:00
DeepSOIC
2b057ef192 Attacher: for reachable modes, display what's to add
For grayed out modes in list, show what's needed to get to the mode.
Like so:
"Normal to edge (add Vertex)"
2016-05-07 11:24:41 +02:00
DeepSOIC
e6911adc50 Attacher: display modes that can be reached
Attachment mode list used to display only the modes that fit current
references. Now, modes that can be reached by adding more references are
listed too, but grayed out.
2016-05-07 11:24:41 +02:00
blobfish
973dda6f88 Part: ModelRefine: adding basis surface to cylinder. 2016-05-07 09:45:39 +02:00
wmayer
7e01d0128b + issue #0002525: Line color of shapes are always black 2016-05-06 13:57:13 +02:00
wmayer
524cdec261 + suppress warnings with MSVC 2016-05-05 18:39:17 +02:00
wmayer
133ff16d0a + avoid code duplication 2016-05-05 18:38:36 +02:00
wmayer
cc88b376e1 + fixes issue #0002224: Drawings break on reopen. Template not found 2016-05-05 11:11:08 +02:00
Johannes Obermayr
1e061b5c02 Fix boost::any bug with Boost 1.54.
and set BOOST_MIN_VERSION to 1.48.

Fixes:
- http://freecadweb.org/tracker/view.php?id=0002505
- http://forum.freecadweb.org/viewtopic.php?f=13&t=15310
- http://forum.freecadweb.org/viewtopic.php?f=3&t=15400
- http://forum.freecadweb.org/viewtopic.php?f=10&t=14108
2016-05-02 18:31:08 +02:00
Yorik van Havre
a07ad8dcf1
Arch: Added pref option to not copy units to clipboard in survey mode 2016-04-30 11:38:19 -03:00
Yorik van Havre
eca3ce2dde
Arch: Fixed rebars to work with PartDesignNext 2016-04-30 10:47:05 -03:00
wmayer
9ee892eb35 + add method to show parts of a mesh transparent 2016-04-29 18:15:31 +02:00
wmayer
d57b57d7ba + add method to set a viewer for Mesh selection 2016-04-29 18:14:28 +02:00
wmayer
f83506c510 + rename BrushSelection class to FreehandSelection 2016-04-29 17:43:43 +02:00
wmayer
af72ae09c1 + implement TopoEdge.isSeam(face) 2016-04-28 11:08:28 +02:00
Enmar Abrams
c12c4368cc Fix crash from unviewed parametrized datum plane 2016-04-27 11:25:03 +02:00
wmayer
1166d8d2cc + fix compiler warning due to comparison of string literals 2016-04-26 18:57:25 +02:00
wwmayer
898bd8bb4c Merge pull request #148 from f3nix/remove-qt3-2
Remove remaining Qt3 stuff - 2
2016-04-24 20:34:01 +02:00
Bernd Hahnebach
bdbefdc52a FEM: replace tabs at line start by spaces 2016-04-24 19:10:33 +02:00
Bernd Hahnebach
b58e37b950 FEM: remove trailing whitespaces 2016-04-24 19:10:33 +02:00
Bernd Hahnebach
14eb6869a9 FEM: convert all windows code files to unix line ending 2016-04-24 19:10:33 +02:00
wmayer
1b1c0316d4 + do not allow to create primitives while a task panel is open to avoid mess on the undo/redo stack 2016-04-24 18:27:24 +02:00
wmayer
de47702b17 + fix typos + improve whitespaces 2016-04-24 18:11:02 +02:00
wmayer
d03a8fd386 + fix various gcc & clang warnings 2016-04-24 16:21:19 +02:00
wmayer
6b4821a855 + fix crash on abort of adding primitives 2016-04-24 14:17:01 +02:00
Mateusz Skowroński
c50bc17675 QInputDialog::getInteger() is obsolete in Qt4. Replace it with getInt().
This change is Qt4/Qt5 neutral.
2016-04-22 20:11:52 +02:00
DeepSOIC
b08a75bfb2 Attempt to fix gcc build 2016-04-21 22:34:20 +03:00
DeepSOIC
6eb450b7a0 Attacher: coding and translation style fixes
Replace QObject::tr() with qApp->translate, as suggested by @wwmayer
Curly braces around nested ifs.
Fix misleading comment in Attacher.h
2016-04-21 20:55:42 +03:00
DeepSOIC
4a1a1480ce Attacher: list ref. combinations in UI 2016-04-21 20:55:42 +03:00
DeepSOIC
7e14a044a6 Attacher: change label in UI
"Attachment mode:" instead of "Available modes:"
2016-04-21 20:55:42 +03:00
DeepSOIC
cdc507fa36 Attacher: use the new strings in UI
* user-friendly mode names
* tooltips
2016-04-21 20:55:42 +03:00
DeepSOIC
314617f16a Attacher: create special source file to contain attacher strings 2016-04-21 20:55:42 +03:00
DeepSOIC
1ca73cf428 Attacher: fix typesystem (forgotten ::init())
still doesn't work =(
2016-04-21 20:55:42 +03:00
DeepSOIC
b1fba06b33 Attacher: remove #include QString 2016-04-21 20:55:42 +03:00
DeepSOIC
d6a3d1b140 Attacher: fix superPlacement applied twice in some cases
superPlacement was applied twice on line and point attachment modes that
re-use 3d attachment modes code. Fixed.
2016-04-21 20:55:42 +03:00
DeepSOIC
431373823d Attacher: split Attacher3d and AttacherPlane
Even though they share all the functionality now, I split them, to allow
independent user-friendly mode names.
2016-04-21 20:55:42 +03:00
Jose Luis Cercos-Pita
14cb2b8a75 Moved to version checking for anarchists and software realists, like matplotlib guys 2016-04-19 13:41:30 +02:00
Yorik van Havre
6b1c433807
FEM: Results can now be double-clicked to show their task panel 2016-04-17 14:01:10 -03:00
wmayer
c5876fe7ca + fix whitespace & cmake warning 2016-04-17 11:38:56 +02:00
mandeeps708
8059563681 adds new material: Aluminium-6061-T6 2016-04-17 05:02:38 +05:30
mandeeps708
043502d073 Materials readme 2016-04-17 04:26:23 +05:30
wmayer
cba54c51ad + disconnect boost signals on destruction 2016-04-16 15:38:04 +02:00
wmayer
099ceebec1 + issue #0002504: Crash in pad function after undoing some operations 2016-04-16 15:16:00 +02:00
wmayer
46d340530f + fix various warnings with VC12 2016-04-16 12:02:58 +02:00
Mateusz Skowroński
b5519922d8 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-04-15 11:55:12 +02:00
Mateusz Skowroński
3df6064e85 QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
2016-04-15 11:54:59 +02:00
Mateusz Skowroński
e797054304 Fix files encoding. Go from ISO8859-1 to UTF-8. 2016-04-15 10:22:08 +02:00
wmayer
88e987dd86 + translatable tab name of Start page 2016-04-13 19:05:31 +02:00
wmayer
08df5cbc59 + remove 'using namespace Part' inside header file 2016-04-13 16:20:31 +02:00
wmayer
df48d1668b + remove 'using namespace Attacher' inside header file 2016-04-13 15:57:49 +02:00
wmayer
0a7ab4e1ff + add missing license text 2016-04-13 15:20:41 +02:00
wmayer
5de9696365 + fix warnings:
-Wsign-compare, -Wunused-variable, -Wunused-function, -Wswitch
+ fix Qt issues
2016-04-13 14:26:38 +02:00
wmayer
e3b609b309 + consistent naming 2016-04-13 11:37:09 +02:00
Stefan Tröger
483e64f368 remove unneeded orig files 2016-04-12 19:10:19 +02:00
Stefan Tröger
4119bb7adc Fix compilation issue in Attacher code 2016-04-12 18:12:24 +02:00
Stefan Tröger
cd2da9fe6d Fix test cases by adopting to new behavior
Pad now does not have a Sketch property anymore but a profile property. Also due to changes in PropertyLinkSubList it ispossible that PropertyLinks get an empty list assigned, this must be supportet now.
2016-04-12 18:12:24 +02:00
Stefan Tröger
788035b80e Part: Recalculate tessellation when requested 2016-04-12 18:12:23 +02:00
Stefan Tröger
5f45bcbc94 PartDesign: Fix body command 2016-04-12 18:12:23 +02:00
Stefan Tröger
8b0d53358a PartDesign: Adopt primitive preview
The preview was developed when the "one feature only" visibility rule was not yet introduced. This commit maks it work again.
2016-04-12 18:12:23 +02:00
Stefan Tröger
6bf31e841e PartDesign: Fix attachment external references 2016-04-12 18:12:23 +02:00
Stefan Tröger
306611e8f8 Fix rebase error 2016-04-12 18:12:23 +02:00
Stefan Tröger
036d0691dd Fix Windows build errors 2016-04-12 18:12:23 +02:00
Stefan Tröger
e9b9d285ac PartDesign: Unify datum and shapebuilder visuals 2016-04-12 18:12:23 +02:00
Stefan Tröger
666a5968cb Override mode works with non-toplevel viewprovider
And adopt the part design body to handle the override mode correctly
2016-04-12 18:12:23 +02:00
Stefan Tröger
048c374080 PartDesign: body is responsible for visuals
-Hide all visual properties of features when they are part of a body
-Propagate all body visual changes to features
-Separate display mode from body mode to enable setting display mode for both "tip" and "through" modes
-Use default visuals for body shape and only make "through" a new display mask mode for the children
2016-04-12 18:12:23 +02:00
Stefan Tröger
03b08a311c Fix sketch positioning with part and body 2016-04-12 18:12:23 +02:00
Stefan Tröger
d7e52f11a7 PartDesign: Fix context menus 2016-04-12 18:12:23 +02:00
Stefan Tröger
64de3b64e1 PartDesign: prevent claiming features 2016-04-12 18:12:23 +02:00
Stefan Tröger
90debce159 Fix rebase error 2016-04-12 18:12:23 +02:00
Stefan Tröger
3b27def228 PartDesign: prevent crash on delete and add body 2016-04-12 18:12:23 +02:00
Stefan Tröger
e7d8a1a9a4 Remove ShapeBinder2D
As profile based features can work with faces and wires now ShapeBinder can do everything that needed ShapeBinder2D before.
2016-04-12 18:12:23 +02:00
Stefan Tröger
2b0e6883c3 Fix workflow manager crash on windows 2016-04-12 18:12:23 +02:00
Stefan Tröger
4ec7fe6303 PartDesign: Adopt pattern to face based features 2016-04-12 18:12:22 +02:00
Stefan Tröger
f712f5e4ac PartDesign: Modeling features work with faces
-Rename Sketchbased to ProfileBased to show new behavior
-Adopt ProfileBased to make the relevant helper functions work with faces too
-Adopt features for unified use of helper functions
-Adopt commands to allow face selection
2016-04-12 18:12:22 +02:00
Stefan Tröger
7dea66872e Datums not selectable during edit 2016-04-12 18:12:22 +02:00
Stefan Tröger
5002e8e430 Fix crash on aborted pattern external axis 2016-04-12 18:12:22 +02:00
Stefan Tröger
7d30833349 PartDesign: Adopt to new property status bits 2016-04-12 18:12:22 +02:00
Stefan Tröger
a6c8f38cf0 no body allowed as body base feature 2016-04-12 18:12:22 +02:00
Stefan Tröger
7cd20adc9a ShapeBinder: fix Null shape on recompute for copy 2016-04-12 18:12:22 +02:00
Stefan Tröger
e88b042a26 Fix shape binder placement
-- hidden for user
-- inherited by linked part
2016-04-12 18:12:22 +02:00
Stefan Tröger
4164f8fc4c Ensure only a single PartDesign feature is visible 2016-04-12 18:12:22 +02:00
Stefan Tröger
24bdc173f7 PartDesign mirror must work with base planes 2016-04-12 18:12:22 +02:00
Stefan Tröger
99ef8e756d Fix transform feature crash on apply
-Redundant "reset edit" and command commit removed
-Redundant apply call removed
2016-04-12 18:12:22 +02:00
Stefan Tröger
16433939e1 Add missing files 2016-04-12 18:12:22 +02:00
Stefan Tröger
c0b2568091 fix reference selection of origin features 2016-04-12 18:12:22 +02:00
Stefan Tröger
4be81b01e4 Handle external references for revolution et all
The reference selection, used in multiple part design features, treated body external references not corectly.
2016-04-12 18:12:22 +02:00
Stefan Tröger
3792f38191 Fix shutdown crash with primitives in the document
and cleanup the header
2016-04-12 18:12:22 +02:00
Stefan Tröger
4d12023f17 Prevent dressup crash due to multi command commit
the same functionality is provided by upstream accept functions
2016-04-12 18:12:21 +02:00
Stefan Tröger
28965457aa Active view may not be 3d viewer
When for example the spreadsheet is open and an recompute is issued, the active view is not the 3d viewer which leads to crash if used for scene graph calculations.
2016-04-12 18:12:21 +02:00
Alexander Golubev
d43525370c PartDesignGui: small rework to sketch-based task parameters
This done mostly for thurther unification them with other task
parameters/dialogs.
2016-04-12 18:12:21 +02:00
Alexander Golubev
96486cc4ed PartDesign/App: a small fix to offset constraint syntax for Pad and Pocket 2016-04-12 18:12:21 +02:00
Alexander Golubev
6b75141514 Suppress a couple more warnings 2016-04-12 18:12:21 +02:00
Alexander Golubev
0cfc0cd424 Fix warnings introduced in new PartDesign
Mostly unused wariables and compare of signed & unsigned
2016-04-12 18:12:21 +02:00
DeepSOIC
81015b3f44 Fix problems with unlimited external geometry
Caused by recent changes by abdullah, which assumes there is external
geometry only if sketch has support.
http://forum.freecadweb.org/viewtopic.php?f=3&t=12746&p=102087#p102087
2016-04-12 18:12:21 +02:00
Stefan Tröger
e675c43ddf Simplify the feature pick dialog
less options are easier to grasp for the user
2016-04-12 18:12:21 +02:00
Stefan Tröger
005c3db946 fix sketch classification for other body
hasObject does search recursive only in groups, but a body is not a group. Hence for sketches within a body this will always return false. Annother logic must be used to detect sketches in bodies.
2016-04-12 18:12:21 +02:00
Stefan Tröger
80fe971b55 fix sketch selection in part design
validateSketch was faulty: as every sketch is valid (non is removed) it could happen that the returned number was >0 but the iterator firstValidSketch was NULL nontheless. The routine needed to be udated to make snese and the usage in prepareSketchbased together with it.
2016-04-12 18:12:21 +02:00
Stefan Tröger
76c8cb3b69 add only a single reference copy 2016-04-12 18:12:21 +02:00