DeepSOIC
701eba37be
Attacher: new mode: center of mass (point attacment)
2016-05-07 11:24:41 +02:00
DeepSOIC
d1d8746518
Attacher: fix typo in tooltip
2016-05-07 11:24:41 +02:00
DeepSOIC
2c5fccaf5f
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
a0e99c425e
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
deed33e6f2
Part: ModelRefine: adding basis surface to cylinder.
2016-05-07 09:45:39 +02:00
wmayer
a1cccbc449
+ issue #0002525 : Line color of shapes are always black
2016-05-06 13:57:13 +02:00
wmayer
0509fcfc9e
+ avoid code duplication
2016-05-05 18:38:36 +02:00
wmayer
1736901e92
+ implement TopoEdge.isSeam(face)
2016-04-28 11:08:28 +02:00
wmayer
4ce77402ca
+ fix compiler warning due to comparison of string literals
2016-04-26 18:57:25 +02:00
wmayer
d1bc34441d
+ fix various gcc & clang warnings
2016-04-24 16:21:19 +02:00
DeepSOIC
7dbe10bb12
Attempt to fix gcc build
2016-04-21 22:34:20 +03:00
DeepSOIC
8dea73ed2b
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
2639b6b5fb
Attacher: list ref. combinations in UI
2016-04-21 20:55:42 +03:00
DeepSOIC
102b02e12b
Attacher: create special source file to contain attacher strings
2016-04-21 20:55:42 +03:00
DeepSOIC
464ea0c85d
Attacher: fix typesystem (forgotten ::init())
...
still doesn't work =(
2016-04-21 20:55:42 +03:00
DeepSOIC
0085071654
Attacher: remove #include QString
2016-04-21 20:55:42 +03:00
DeepSOIC
475484ab7b
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
f7b1b0416c
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
dfa5972b4b
+ fix various warnings with VC12
2016-04-16 12:02:58 +02:00
wmayer
f439a88c69
+ remove 'using namespace Part' inside header file
2016-04-13 16:20:31 +02:00
wmayer
ab43e18b00
+ remove 'using namespace Attacher' inside header file
2016-04-13 15:57:49 +02:00
wmayer
b6892c5424
+ add missing license text
2016-04-13 15:20:41 +02:00
wmayer
6380881b58
+ fix warnings:
...
-Wsign-compare, -Wunused-variable, -Wunused-function, -Wswitch
+ fix Qt issues
2016-04-13 14:26:38 +02:00
wmayer
d604abdfc4
+ consistent naming
2016-04-13 11:37:09 +02:00
Stefan Tröger
9c68424a1e
Fix compilation issue in Attacher code
2016-04-12 18:12:24 +02:00
Stefan Tröger
4f0f1449eb
Part: Recalculate tessellation when requested
2016-04-12 18:12:23 +02:00
Alexander Golubev
57c583bb09
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
d62aa38ac4
PartDesign/App: cleanup datum's classes and headers
2016-04-12 18:12:19 +02:00
Alexander Golubev
68c78de00d
PartDesign/Gui: add origin sizing and rework datums sizing
2016-04-12 18:12:18 +02:00
Alexander Golubev
1d7a1982aa
Part/Attacher: remove a couple of no more valid asserts
2016-04-12 18:12:18 +02:00
Alexander Golubev
305151be34
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
f6b0ed3a47
PartDesign: Body rework - add BaseFeature property and make Tip always point to solid
2016-04-12 18:12:16 +02:00
Alexander Golubev
340c52a939
Share code for finding a body containing a feature
2016-04-12 18:12:14 +02:00
Stefan Tröger
73e1982154
fix datum crash when origin is selected
2016-04-12 18:12:13 +02:00
Stefan Tröger
83546a02d3
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
f446541717
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
8babf7c2dc
PartDesign: transfer Datums to become AttachableObjects
...
Crude and quick, needs cleanup.
2016-04-12 18:12:12 +02:00
DeepSOIC
d009a5cd3d
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
b6152364af
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
9a48d210cf
PropertyLinkSubList, Sketcher: move legacy Support readout from PropertyContainer to Part2DObject
2016-04-12 18:12:12 +02:00
DeepSOIC
9331c2a677
Attacher: fix crash of suggestor on compounds
2016-04-12 18:12:12 +02:00
DeepSOIC
d69e50510e
Sketch: expose positionBySupport python func
2016-04-12 18:12:12 +02:00
DeepSOIC
8286c36b6f
Sketcher: minimalistic UI for new attachment engine
2016-04-12 18:12:12 +02:00
DeepSOIC
93fff0e65f
Sketcher: new attachment engine
2016-04-12 18:12:12 +02:00
DeepSOIC
1b754d35c5
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
6301fce72c
add part design thickness
2016-04-12 18:12:08 +02:00
blobfish
20284ab7e3
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
628a0279cd
visualize the primitive add/sub shape in edit
2016-04-12 18:12:07 +02:00
Stefan Tröger
27d46a6593
primitive bug fixes, add cylinder and sphere
2016-04-12 18:12:07 +02:00
Stefan Tröger
07099e1163
add coordinate system datum
2016-04-12 18:12:07 +02:00