Commit Graph

18712 Commits

Author SHA1 Message Date
wmayer
4e7c2a233f add method to get wires of mesh boundaries 2019-11-10 11:14:04 +01:00
wmayer
08b54bb5a0 [skip ci] line width must be explicitly set in NaviCube and SoFCSelectionRoot to avoid that an inappropriate value is used when set from somewhere else 2019-11-10 11:13:10 +01:00
wmayer
116c868d9e [skip ci] support of style sheet in branding framework 2019-11-09 17:36:49 +01:00
Zheng, Lei
10e2681ab5 Gui: force dynamic property item background and text color
To avoid visual problem under dark theme.
2019-11-09 16:17:19 +01:00
wmayer
4b604c677b support of transparent image planes 2019-11-09 15:11:18 +01:00
wmayer
be69317c64 [skip ci] make mesh/points cutting working for nested view providers 2019-11-09 11:58:54 +01:00
wmayer
ae5a6a2350 [skip ci] tmp. disable selection when switching to curvature or inspection info modus 2019-11-09 11:31:51 +01:00
wmayer
a128489ea3 [skip ci] for curvature and inspection objects set default selection style to BBOX 2019-11-09 11:21:18 +01:00
wmayer
67be01f3ac make mesh picking working for view providers underneath a Part container 2019-11-09 11:16:23 +01:00
wmayer
a31b15217a [skip ci] remove Standard_Handle.hxx to still support older OCC versions 2019-11-09 11:03:23 +01:00
wandererfan
a7c491e639 [TD]Fix wrong default for parameter 2019-11-07 16:59:10 -05:00
wandererfan
585a1ed772 [TD]fix duplicate name in parent & derived 2019-11-07 16:59:10 -05:00
wandererfan
cc1392ed73 [TD]Always show degree symbol 2019-11-07 16:59:10 -05:00
wandererfan
eeac81a26e [TD]fix balloon colors 2019-11-07 16:59:10 -05:00
wmayer
d36de59c32 [skip ci] tmp. disable viewer selection for several interactive commands in Mesh workbench 2019-11-07 19:23:06 +01:00
wmayer
7bdec38e4e [skip ci] fix tooltip 2019-11-07 17:43:44 +01:00
wmayer
11581294e5 add convenience method to 3d viewer to disable selection 2019-11-07 17:13:20 +01:00
Zheng, Lei
e8fec27b02 Gui: remove SelectionStyle from ViewProviderGeometryObject
The property has been moved to ViewProviderDocumentObject. Forgot to
remove it in ViewProviderGeometryObject.
2019-11-07 17:12:27 +01:00
Bernd Hahnebach
24ac773b28 Arch: import IFC, add import of layer 2019-11-07 08:04:11 +01:00
Bernd Hahnebach
0e7a705664 Arch: import IFC, fix if imported in non Gui mode 2019-11-07 08:04:09 +01:00
wandererfan
3921a22e8b [TD]CL removal 2019-11-06 20:31:02 -05:00
wandererfan
5957b72573 [TD]ensure default edge avail for geom copy 2019-11-06 20:31:02 -05:00
wandererfan
44b1f46858 [TD]Allow skip restore cosmetics
- temporary work around due to format changes during v019
  devl
2019-11-06 20:31:02 -05:00
wandererfan
4b93655b83 [TD]Avoid double delete on cosmetic items 2019-11-06 20:31:02 -05:00
wandererfan
cf94e56905 [TD]Save geometry and tag with centerline 2019-11-06 20:31:02 -05:00
wandererfan
f539a0ea8c [TD]use UUID for CosmeticEdges instead of indices 2019-11-06 20:31:02 -05:00
wmayer
95c22f7c3b [skip ci] fix possible crash in DelaunayTriangulator 2019-11-06 16:46:08 +01:00
wmayer
f2b7f2805f improve detection of OpenSCAD executable to print a more appropriate error message in case of failures 2019-11-06 16:09:50 +01:00
sliptonic
843d8ba8b1 Merge pull request #2696 from mlampert/feature/path-constraint-dressup
Path: Feature/path boundary dressup
2019-11-06 07:30:48 -06:00
Markus Lampert
584ba0eaaa Added PathBoundary task panel tool tips and tab order. 2019-11-05 19:18:39 -08:00
Markus Lampert
e1c8dfa230 Fixed typo in onDelete 2019-11-05 19:18:39 -08:00
Markus Lampert
e6f9af4e62 Added new boundary dressup files to CMakeLists 2019-11-05 19:18:39 -08:00
Markus Lampert
9f8c64c6af PathBoundary editor filled with life. 2019-11-05 19:18:39 -08:00
Markus Lampert
d0e16a58ef Added boundary dressup to restrict path to another shape. 2019-11-05 19:18:39 -08:00
wmayer
17b2cf2e96 make BrowserView::onLinkHovered() working with QtWebKit 2019-11-06 00:29:25 +01:00
wmayer
e4a7349947 make PythpnToCPP script Py2 compliant 2019-11-05 21:11:10 +01:00
vocx-fc
7bd3dc7b72 Draft: TestDraft, refactor unit tests, 66 in total.
Only 50 test are really performed.

Some tests are not fully implemented, for example, arc_3points, dimension_radial,
shapestring, trim, extend, and stretch. The reason is that there are no proper
functions to test.
In order to have a unit test, basic functions that perform these actions
must be written inside Draft.py. At the moment, these tests just
run a _fake_function() which always returns successfully
and thus the test always passes without problem.

There are also tests for the import and export
of SVG, DXF, DWG, and OCA files. Currently these are also not implemented.
Sample files could be provided in the source tree in order to test basic operations
like opening, import, and export.
A complete unit test would require writing a test for each geometrical element
that could be imported and exported, that is, line, circle, arc, rectangle, etc.

These tests are inspired by the tests in the FEM workbench.
Import of modules is tested, as well as the creation and modification tools.
Eventually, the tests should be migrated to individual modules,
and test files should be provided to serve as reference.
2019-11-05 09:29:25 -03:00
Huang, Zhaoquan
c00f842a8f Explicitly specify encoding in PythonToCPP.py
On Windows, the python script opens a file with the default ANSI
encoding. This causes UnicodeDecodeError in some region. The encoding
should be set explicitly to match the files.
2019-11-05 09:28:44 -03:00
wmayer
8d71d1f973 fix encoding problem when clicking a link on StartPage if application is installed into a directory with non-ASCII characters 2019-11-05 13:26:54 +01:00
donovaly
7a0d4dfd7f ThumbnailProvider: update MSVC solution file
Now ThumbnailProvider can be compiled easily using MSVC 2017
2019-11-05 10:15:20 +01:00
wandererfan
956a5ddbae [TD]fix Balloon text positioning 2019-11-04 19:03:22 -05:00
wmayer
fa8263ccb4 fix building of thumbnail dll for msvc 2017 or higher 2019-11-04 19:08:54 +01:00
donovaly
7bb59d80a9 Win-installer README.md: improvements and fix a mistake 2019-11-04 12:06:13 -03:00
donovaly
eb80170a2c [TD] Command.cpp: fix indentation 2019-11-04 08:04:56 -05:00
donovaly
4d6800404e [TD] Command.cpp: uniform menu names
see https://forum.freecadweb.org/viewtopic.php?f=35&t=40608 for the reason
2019-11-04 08:04:56 -05:00
donovaly
cc0e1a8f3a DrawViewAnnotation: add transformation procedure for changed properties 2019-11-04 07:23:34 -05:00
donovaly
c673813f66 TD annotation: use more suitable properties
- see https://forum.freecadweb.org/viewtopic.php?f=35&t=40608 for details
- also simplify tooltips
2019-11-04 07:23:34 -05:00
Bernd Hahnebach
c471916c90 Arch: import IFC, fix crash if IfcProject is not found in ifc file 2019-11-04 11:03:30 +01:00
donovaly
86aeb024b5 TD Workbench.cpp: add submenus
- the menu was too long even for 4k monitors, see https://forum.freecadweb.org/viewtopic.php?f=35&t=40608
2019-11-03 18:54:59 -05:00
wandererfan
afa807d6fe [TD]fix Quadrant/Midpoint selection 2019-11-03 18:52:19 -05:00