Commit Graph

14345 Commits

Author SHA1 Message Date
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
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
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
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
wandererfan
956a5ddbae [TD]fix Balloon text positioning 2019-11-04 19:03:22 -05: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
wandererfan
e987560314 [TD]using namespace clean up 2019-11-03 18:52:19 -05:00
donovaly
1c28e068c6 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
b29f738f07 [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
47efd3d493 [TD]fix ShowAll on DPG 2019-11-02 20:12:14 -04:00
wandererfan
b9035c8ad7 [TD]fix py2 unicode/string handling 2019-11-02 14:59:32 -04:00
wandererfan
b34eb9de77 [TD]Implement unique tags for Cosmetic Vertex 2019-11-02 14:59:32 -04:00
wandererfan
88b07896e6 [TD]Extent Dimensions 2019-11-02 14:59:32 -04:00
Jean-Marie Verdun
d276c84516 Fix Apple build 2019-11-01 17:48:14 -03:00
donovaly
c0034afdfc DlgSettingsMeshView.ui: add missing unit suffix 2019-11-01 17:47:36 -03:00
Jean-Marie Verdun
25697f65d4 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
d5820329c5 Added <last> as an option to the workbench selection. 2019-11-01 17:42:14 -03:00
Sören Rohweder
44be21d1ac Arch: Fixes PanelCut action 2019-11-01 17:39:45 -03:00
Gabriel Wicke
d851fd58d5 [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
db5dfccc5d Arch: Allow OfflineRenderingUtils module to run without pivy 2019-11-01 13:49:52 -03:00
wandererfan
67c023765c [TD]Simplify Section cut surface formatting 2019-10-30 14:25:35 -04:00
wandererfan
0bc3134e24 [TD]fix Section frame paint 2019-10-30 14:25:35 -04:00
wandererfan
f5c6269923 [TD]fix const-ness of CS routines 2019-10-30 14:25:35 -04:00
wandererfan
e84f987a1d [TD]fix default svg hatch file retrieval 2019-10-30 14:25:35 -04:00
wmayer
f0c89811bd add method to sketch object to get index by user-defined name 2019-10-29 19:35:53 +01:00
Bernd Hahnebach
ca3070247b Arch: import IFC, add guid to non parametric arch import 2019-10-28 18:04:48 +01:00
luz.paz
6c0483647b ...small comment clarification [skip ci] 2019-10-28 10:23:59 -03:00
luz.paz
88b2ded146 AddonManager: Add WebTools icon to dialog
Thanks @bitacovir !  
Ref:  
* Closes https://github.com/yorikvanhavre/WebTools/issues/7  
* https://forum.freecadweb.org/viewtopic.php?f=34&t=40130
2019-10-28 10:23:59 -03:00
donovaly
f90b11f87e add toolbar icon to create mesh from shape
In daily work there are 2 main methods to work with meshes: creating one from a shape or importing an existent one.
Since the generation from a shape is often needed, add its icon to the default toolbar.
2019-10-28 10:23:26 -03:00
wandererfan
d87ba96510 [TD]fix selection issue for View and ProjGroup
- DrawPage should not be include in Source selection
2019-10-28 08:39:06 -04:00
wandererfan
f4829a5deb [TD]improve handling of Assembly4 Models 2019-10-28 08:39:06 -04:00
wandererfan
1f77bcc0d7 [TD]hide uneditable properties for DPGI 2019-10-27 07:23:18 -04:00
wandererfan
a6357bc86e [TD]fix Orientation of Detail of Section of DPG 2019-10-27 07:23:18 -04:00
Bernd Hahnebach
d296e10cb4 FEM: coding conventions, add linkt to lgtm 2019-10-26 17:39:22 +02:00
Yorik van Havre
c53986ff94 AddonManager: Fixed missing 'update available' header 2019-10-25 11:36:09 -03:00
vocx-fc
6f98a20c03 Draft: fix double translation in Draft._PointArray 2019-10-25 10:55:19 -03:00
vocx-fc
28831b4c78 Draft: set the Autoconstraint view property only if the interface is up (FreeCAD.GuiUp) 2019-10-25 10:54:31 -03:00