Commit Graph

14360 Commits

Author SHA1 Message Date
wmayer
f2bd624c63 make mesh picking working for view providers underneath a Part container 2019-11-09 11:16:23 +01:00
wmayer
ac4e23012a [skip ci] remove Standard_Handle.hxx to still support older OCC versions 2019-11-09 11:03:23 +01:00
wandererfan
aab61f3e15 [TD]Fix wrong default for parameter 2019-11-07 16:59:10 -05:00
wandererfan
9802d362ec [TD]fix duplicate name in parent & derived 2019-11-07 16:59:10 -05:00
wandererfan
c773e20bf3 [TD]Always show degree symbol 2019-11-07 16:59:10 -05:00
wandererfan
f3fcabdcc3 [TD]fix balloon colors 2019-11-07 16:59:10 -05:00
wmayer
acd6cb005a [skip ci] tmp. disable viewer selection for several interactive commands in Mesh workbench 2019-11-07 19:23:06 +01:00
wmayer
72a30f2bb0 [skip ci] fix tooltip 2019-11-07 17:43:44 +01:00
Bernd Hahnebach
c3ba04183e Arch: import IFC, add import of layer 2019-11-07 08:04:11 +01:00
Bernd Hahnebach
85883712b7 Arch: import IFC, fix if imported in non Gui mode 2019-11-07 08:04:09 +01:00
wandererfan
5b63ac5a7d [TD]CL removal 2019-11-06 20:31:02 -05:00
wandererfan
37fdcec6cf [TD]ensure default edge avail for geom copy 2019-11-06 20:31:02 -05:00
wandererfan
805d701aa7 [TD]Allow skip restore cosmetics
- temporary work around due to format changes during v019
  devl
2019-11-06 20:31:02 -05:00
wandererfan
4027c780a3 [TD]Avoid double delete on cosmetic items 2019-11-06 20:31:02 -05:00
wandererfan
fcf5435b43 [TD]Save geometry and tag with centerline 2019-11-06 20:31:02 -05:00
wandererfan
900a7c6bdd [TD]use UUID for CosmeticEdges instead of indices 2019-11-06 20:31:02 -05:00
wmayer
f0cdad7f70 [skip ci] fix possible crash in DelaunayTriangulator 2019-11-06 16:46:08 +01:00
wmayer
7415e3602a improve detection of OpenSCAD executable to print a more appropriate error message in case of failures 2019-11-06 16:09:50 +01:00
Markus Lampert
1572519067 Added PathBoundary task panel tool tips and tab order. 2019-11-05 19:18:39 -08:00
Markus Lampert
4a897d3f4f Fixed typo in onDelete 2019-11-05 19:18:39 -08:00
Markus Lampert
eb35e8a553 Added new boundary dressup files to CMakeLists 2019-11-05 19:18:39 -08:00
Markus Lampert
421e50ae87 PathBoundary editor filled with life. 2019-11-05 19:18:39 -08:00
Markus Lampert
a27a00064a Added boundary dressup to restrict path to another shape. 2019-11-05 19:18:39 -08:00
wmayer
d5be41d825 make BrowserView::onLinkHovered() working with QtWebKit 2019-11-06 00:29:25 +01:00
vocx-fc
0347a4b7a6 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
wmayer
5c2b7be976 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
wandererfan
18028d18a1 [TD]fix Balloon text positioning 2019-11-04 19:03:22 -05:00
donovaly
953b802f83 [TD] Command.cpp: fix indentation 2019-11-04 08:04:56 -05:00
donovaly
42742db540 [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
33844f8760 DrawViewAnnotation: add transformation procedure for changed properties 2019-11-04 07:23:34 -05:00
donovaly
3a34cf1344 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
64cf85c214 Arch: import IFC, fix crash if IfcProject is not found in ifc file 2019-11-04 11:03:30 +01:00
donovaly
28daf35955 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
c2851ae4b6 [TD]fix Quadrant/Midpoint selection 2019-11-03 18:52:19 -05:00
wandererfan
6ada9e96ad [TD]using namespace clean up 2019-11-03 18:52:19 -05:00
donovaly
adccd0d3f3 DlgPrefsTechDraw.ui: uniformity and tooltip improvements
- add and improve tooltips using the info given in the Wiki
- fix typos
- uniform letter casing
2019-11-03 11:28:31 -05:00
donovaly
286926d0c8 [TD] DrawView.cpp: better tooltips
- for the reason of the change, see https://forum.freecadweb.org/viewtopic.php?f=35&t=40608

- also use "0.0" as initialization because these values are floats, not integers and e.g. in the mesh WB these are initialized that way
2019-11-03 11:25:12 -05:00
wandererfan
f3c6db990c [TD]fix ShowAll on DPG 2019-11-02 20:12:14 -04:00
wandererfan
f1e9c1967a [TD]fix py2 unicode/string handling 2019-11-02 14:59:32 -04:00
wandererfan
5cab111a65 [TD]Implement unique tags for Cosmetic Vertex 2019-11-02 14:59:32 -04:00
wandererfan
a7d9661b1d [TD]Extent Dimensions 2019-11-02 14:59:32 -04:00
Jean-Marie Verdun
223d41c676 Fix Apple build 2019-11-01 17:48:14 -03:00
donovaly
5e1ee09209 DlgSettingsMeshView.ui: add missing unit suffix 2019-11-01 17:47:36 -03:00
Jean-Marie Verdun
1aeea67f42 Introduce support of multiple entries bucket directory list
Needed for FreeCAD files which generate thousands of BRep files
(most of the time assemblies or STEP)
2019-11-01 17:46:29 -03:00
Markus Lampert
c6c761b812 Added <last> as an option to the workbench selection. 2019-11-01 17:42:14 -03:00
Sören Rohweder
813b529f5c Arch: Fixes PanelCut action 2019-11-01 17:39:45 -03:00
Gabriel Wicke
5a055fec0d [path] Fix ignoreWasteFlag option
The code was trying to iterate over a `range(0, pntsPerLine)`, but
pntsPerLine was a float resulting from a division.

Convert pntsPerLine to an int, and only ignore waste if this was
successful.
2019-11-01 17:12:42 -03:00
Yorik van Havre
95f18a7507 Arch: Allow OfflineRenderingUtils module to run without pivy 2019-11-01 13:49:52 -03:00
wandererfan
481870be2b [TD]Simplify Section cut surface formatting 2019-10-30 14:25:35 -04:00
wandererfan
1b4d2d48ae [TD]fix Section frame paint 2019-10-30 14:25:35 -04:00