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
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
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
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
133ff16d0a
+ avoid code duplication
2016-05-05 18:38:36 +02:00
wmayer
af72ae09c1
+ implement TopoEdge.isSeam(face)
2016-04-28 11:08:28 +02:00
wmayer
1166d8d2cc
+ fix compiler warning due to comparison of string literals
2016-04-26 18:57:25 +02:00
wmayer
d03a8fd386
+ fix various gcc & clang warnings
2016-04-24 16:21:19 +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
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
wmayer
46d340530f
+ fix various warnings with VC12
2016-04-16 12:02:58 +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
4119bb7adc
Fix compilation issue in Attacher code
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
Alexander Golubev
0ff24fd618
Part/Gui: remove ViewProviderPart::onDelete which handled unnecessary body housekeaping
...
Also do some headers cleanup
2016-04-12 18:12:19 +02:00
Alexander Golubev
118f1cec6a
PartDesign/App: cleanup datum's classes and headers
2016-04-12 18:12:19 +02:00
Alexander Golubev
26fb01b429
PartDesign/Gui: add origin sizing and rework datums sizing
2016-04-12 18:12:18 +02:00
Alexander Golubev
8bca27463e
Part/Attacher: remove a couple of no more valid asserts
2016-04-12 18:12:18 +02:00
Alexander Golubev
797d6d3a11
App/Origin: big refactoring
...
- Rebase App::Origin on App::DocumentObject
- Keep all control over the Origin structure inside the Origin and it's
ViewProvider
- Add OriginFeature class as common base for App::Plane and App::Line
- Rebase App::Plane and App::Line on top of newly created class and
move to the file.
- Change Origin's ViewProvider API associated with temporary display
- Lots of associated changes to files
- Several minor fixes
- Lots of new bugs
2016-04-12 18:12:18 +02:00
Alexander Golubev
8c5d514b18
PartDesign: Body rework - add BaseFeature property and make Tip always point to solid
2016-04-12 18:12:16 +02:00
Alexander Golubev
ffc6cc2f23
Share code for finding a body containing a feature
2016-04-12 18:12:14 +02:00
Stefan Tröger
d2f4410c1e
fix datum crash when origin is selected
2016-04-12 18:12:13 +02:00
Stefan Tröger
de0768af80
fix crash on datum point preselect
...
It is unclear why the coordinates are NULL. This fix prevents the crash but does not fix the reason why this unnormality occurs.
2016-04-12 18:12:13 +02:00
DeepSOIC
98717f010a
Attacher: proximity modes
...
The modes that base on distToShape:
* a line that connects the closest points,
* the actual points
2016-04-12 18:12:12 +02:00
DeepSOIC
9e440b955c
PartDesign: transfer Datums to become AttachableObjects
...
Crude and quick, needs cleanup.
2016-04-12 18:12:12 +02:00
DeepSOIC
40592e6055
Attacher: line and point AttachEngines. Other changes.
...
* propose attachment modes
* refactor setUp and Copy
* split off postprocessing from 3D to reuse in 1D and 0D calculations
* AttachableObject: fix error printout in onChange
* AttachableObject: no more defaults to Attacher3D
* implementation of lines and points attachment (some of the proposed modes).
* refactor getShapeType, add getShapeType(obj, sub); add a flag to eRefType enum, indicating that referenced thing is a whole object that has placement.
* change readLinks to be static, and obtain shape types in the process.
* test mode enums lengths equality
* extend ObjectXY to work on conics.
* Fix upside-down sketches attached as TangentPlane on most shapes.
* Fix crash when a shape of unlisted type is in the links.
* fix attaching to datum lines go crazy because of infinities.
* abs->fabs
* support for App::Line
* Add namespace qualifiers to TYPESYSTEM_SOURCE-like stuff
2016-04-12 18:12:12 +02:00
DeepSOIC
4800957858
Attacher: change Part2DObject's MapMode default to mmDeactivated, and set mode to mmFlatFace only when reading files of old format.
...
PartDesign, Sketcher: set mapping mode when setting support
Mapping mode mmFlatFace is no longer default, so an explicit assignment
is required.
2016-04-12 18:12:12 +02:00
DeepSOIC
fa441a9623
PropertyLinkSubList, Sketcher: move legacy Support readout from PropertyContainer to Part2DObject
2016-04-12 18:12:12 +02:00
DeepSOIC
ad01411efc
Attacher: fix crash of suggestor on compounds
2016-04-12 18:12:12 +02:00
DeepSOIC
acac286cd0
Sketch: expose positionBySupport python func
2016-04-12 18:12:12 +02:00
DeepSOIC
2a390660c8
Sketcher: minimalistic UI for new attachment engine
2016-04-12 18:12:12 +02:00
DeepSOIC
42ecc24ec5
Sketcher: new attachment engine
2016-04-12 18:12:12 +02:00
DeepSOIC
061747f367
Sketcher: change Support from PropertyLinkSub to PropertyLinkSubList
...
Note: may fail to build after this commit...
2016-04-12 18:12:12 +02:00
Stefan Tröger
c3f35d9f05
add part design thickness
2016-04-12 18:12:08 +02:00
blobfish
c61718c63b
PartDesign: Gui: build error. couldn't find ui generated file in part build directory.
2016-04-12 18:12:07 +02:00
Stefan Tröger
fec86abc09
visualize the primitive add/sub shape in edit
2016-04-12 18:12:07 +02:00
Stefan Tröger
0385734339
primitive bug fixes, add cylinder and sphere
2016-04-12 18:12:07 +02:00
Stefan Tröger
8fdde38e75
add coordinate system datum
2016-04-12 18:12:07 +02:00
DeepSOIC
31e4fd8994
Sketcher: fix free-standing sketches
...
See forum thread, Sketch support == NULL
http://forum.freecadweb.org/viewtopic.php?f=20&t=10942
2016-04-12 18:12:07 +02:00
blobfish
8fffa8b564
Part: BodyBase: typo in property header macro
2016-04-12 18:12:06 +02:00
Stefan Tröger
f357e045de
fix blocking datum plane
...
BrepFaceSet implementation was faulty, if normal cache locks have been aquired they need to be released
2016-04-12 18:12:04 +02:00
jriegel
842604a2f8
small warning fix
2016-04-12 18:12:03 +02:00
blobfish
4b2f107cc1
Part Design: support for overlapping and coincident patterns
...
Fixed crash after rejecting a MultiTransform dialog
remove overlap check
adding getSolid to cut operation
add extrema method to part::checkinterference
move refineshape call out of loops
divideTools functions
2016-04-12 18:12:00 +02:00
Jan Rheinländer
af25c0c793
Reference highlighting for fillets and chamfers
2016-04-12 18:12:00 +02:00
jrheinlaender
0ab6a77442
Update SketchObject Placement when the Support property changes
2016-04-12 18:11:55 +02:00
jrheinlaender
ae1890f56b
Python functions to intersect curves and surfaces
2016-04-12 18:11:55 +02:00
jrheinlaender
8e1ea4ac14
Removed some old code
2016-04-12 18:11:55 +02:00
jrheinlaender
b6932b0bdb
Allow datum points and lines to have offsets from their references
2016-04-12 18:11:55 +02:00
jrheinlaender
99fe9b6178
Moved Body::isAfterTip() to BodyBase
2016-04-12 18:11:55 +02:00
jrheinlaender
f954a51430
Pad/Pocket: Allow extrude up to a datum plane
2016-04-12 18:11:50 +02:00
jrheinlaender
6915d8b734
Miscellaneous fixes
2016-04-12 18:11:50 +02:00
jrheinlaender
ba17aa2839
Try to be consistent with sketch plane orientation PartDesign module <-> Sketcher module
2016-04-12 18:11:50 +02:00
jrheinlaender
fe2e490645
Allow selecting back of base planes, miscellaneous fixes
2016-04-12 18:11:50 +02:00
jrheinlaender
02dfb8551d
Moved some methods from PartDesign::Body to Part::BodyBase so the SketchObjects will be removed cleanly from the Body when deleted
2016-04-12 18:11:49 +02:00
jrheinlaender
5b3d5e6bd8
Moved generic Datum class to Part module to avoid Sketcher dependency on PartDesign
2016-04-12 18:11:49 +02:00
jrheinlaender
bb1a3a532f
Miscellaneous fixes
2016-04-12 18:11:49 +02:00
jrheinlaender
4280334751
Make sure that App::Plane sketch placement is identical to deprecated SketchOrientationDialog placement
2016-04-12 18:11:49 +02:00
jrheinlaender
1ec99c5d32
Work on inserting, removing, hiding and showing features in the body
2016-04-12 18:11:48 +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
jriegel
b825571562
implement active body in PartDesign
2016-04-12 18:11:45 +02:00
jriegel
6700512efe
Add some commands to assembly
2016-04-12 18:11:44 +02:00
Yorik van Havre
ca7c5d31a4
updated translations
2016-04-06 22:39:34 -03:00
wmayer
a4dc263846
+ always get occ version information in About dialog
2016-03-19 15:55:09 +01:00
Yorik van Havre
bcb75d5477
Updated translation files from crowdin
2016-03-17 23:29:11 -03:00
wmayer
d0e52d3578
+ prepare ViewProvider2DObject to read in GridSize from old projects
2016-03-11 23:06:47 +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
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
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
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
a1eef54451
+ do not allow to set negative grid size in property editor
2016-03-01 18:24:39 +01:00
wmayer
0c5a477fee
+ fix regression in German translation (also fixed on crowdin)
2016-03-01 16:45:14 +01:00
Yorik van Havre
7734ffb810
Updated translation files
2016-03-01 12:34:03 -03:00
wmayer
9139ab37d3
+ change binary export & import of shapes to restore placement and orientation
2016-02-29 18:37:36 +01:00
wmayer
5574419293
+ set range for quantity boxes
2016-02-29 12:29:02 +01:00
wmayer
a59b915132
+ code clean-up
2016-02-28 19:01:23 +01:00
wmayer
4e29db90c6
+ fixes #0002200 : Application crash when modifying fillet
2016-02-28 18:56:21 +01:00
wmayer
32a5340b0b
+ use application-wide number of decimals in primitive creation dialog
2016-02-28 12:30:42 +01:00
wmayer
3f15ae80d0
+ fixes #0002049 : 0.15 and 0.16 Part Revolve ignores unit accuracy setting beyond 2 decimals
2016-02-28 12:12:10 +01:00
wmayer
d9e47e5896
+ make fillet/chamfer dialog narrower
2016-02-28 11:39:32 +01:00