Commit Graph

14748 Commits

Author SHA1 Message Date
hokieengr
f8dcd64fa2 Added support for fractional inch user setting. 2018-09-17 10:32:04 +02:00
hokieengr
00205570d4 Now only storing the actual fractional denominator
GUI settings now computed directly from this value. This eliminates the
possibility of the combobox index and the value it represents getting
out of sync.
2018-09-17 10:32:03 +02:00
hokieengr
89c1049746 Added option to select minimum fractional inch displayed
Load/save operation complete. Not yet integrated with the display code.
Also would like to disable option when non supported (those not using
fractional inches) are selected.
2018-09-17 10:32:03 +02:00
Markus Lampert
e3952867a9 Renamed Path Chamfer op to Deburr. 2018-09-17 10:27:49 +02:00
Markus Lampert
58372e78ab Fixed selection restore of entire object. 2018-09-17 10:23:41 +02:00
Markus Lampert
99e844863f Added option to rotate multiple base objects as a compound or individually. 2018-09-17 10:23:41 +02:00
Markus Lampert
cb2afd5a98 Changed Rotate tool behaviour to rotate the entire selection group instead of each one individually. 2018-09-17 10:23:40 +02:00
Markus Lampert
f9c166f6ec Don't force stock refresh on editor start 2018-09-17 10:23:40 +02:00
wmayer
072d05725b fix compiler warning, fix build failure with older OCCT versions 2018-09-17 10:20:03 +02:00
tomate44
b2c9833c9f add a check to BSplineCurve.segment() 2018-09-17 10:02:04 +02:00
kreso-t
b1fb3b02d1 Fix for compiler warnings 2018-09-17 09:57:47 +02:00
kreso-t
a76dfc6254 Path: Adaptive - small enhancement
- improved handling in spiky corners
2018-09-17 09:57:47 +02:00
kreso-t
3e11598247 Path: Adaptive - performance optimization for larger models
- utilizing bounding boxes
- changed the alg. for resolving tool down linking paths,
   resolution is no longer based on clipper offsets as
   offset alg. tends to become slow
- new tool down linking alg. also should be better in finding
   shorter linking paths
- lead-in lead-out improvements
2018-09-17 09:57:46 +02:00
Markus Lampert
d2da4d7a19 Return self in addProperty for interface compliance. 2018-09-16 15:38:27 -07:00
wmayer
2e7bcde56b expose some more methods of ParameterGrp to Python 2018-09-16 19:36:46 +02:00
wmayer
c6949dceef fix build failure on Linux 2018-09-15 21:38:15 +02:00
Mark Ganson TheMarkster
ce8ee78993 addon manager py3 fixes
Only decode / encode if on py2 except for the b'\xc2\xa0', replace, which must be decoded to create the unicode string.
2018-09-15 19:28:44 +02:00
Mark Ganson TheMarkster
68fb70ff3c fix python3 issues
* fix attempts to remove readonly temp folder in windows, which was preventing addon manager window from closing
* cleanup (unescape) macros manually if HTMLParser().unescape() fails
* replace tabs in macros with 4 spaces
2018-09-15 19:28:36 +02:00
wmayer
506f50788b when loading file by drag and drop then create the objects in the active document
if no document exists then use i18n to translate the document name
2018-09-15 19:14:46 +02:00
luz.paz
af7180270e Typo and whitespace fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt --skip=".git,*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/zipios++" -L "entires,fle,actuall"`
2018-09-15 19:13:52 +02:00
wmayer
8070462118 Initial support of SpaceMouse Plus XT 2018-09-15 14:53:48 +02:00
wmayer
70aa8e056b expose more methods of Geom_Curve to Python 2018-09-15 11:26:26 +02:00
wandererfan
2c0d1d882b Fix Decoration positions on Views derived from DPG Base
- Section faces, detail highlights, center and section lines
  were wrong when the BaseView was a DPGI
2018-09-14 21:28:02 +02:00
wmayer
b8e8f4a8d1 fixes #0002908: stp file import name mismatch (due to some limitation into UTF-8 support & naming convention) 2018-09-14 18:15:48 +02:00
wmayer
be0192a0e2 add option to disable auto-deactivation of property view for inactive document 2018-09-14 16:30:26 +02:00
Markus Lampert
333dfe92d7 Disable property editor if none of the selected objects is in the active document. 2018-09-13 22:18:28 -07:00
wmayer
d1d470c149 fixes #0003588: The path to the Addons does not allow special characters 2018-09-14 00:00:22 +02:00
wmayer
f9aff34415 restore old behaviour of AddonManager.get_macro_dir 2018-09-13 23:50:36 +02:00
wmayer
398fc8ce80 issue #0003588: The path to the Addons does not allow special characters 2018-09-13 21:40:30 +02:00
wmayer
6b93f4ea91 issue #0003588: The path to the Addons does not allow special characters 2018-09-13 16:03:38 +02:00
DeepSOIC
e7485effb4 Part, PartDesign, Attacher: fix a few problems with infinite shapes
To throw an error instead of returning a semi-infinite result that kills rendering.
fixes #3439
2018-09-13 13:12:55 +02:00
DeepSOIC
d91765a79c Part: Attacher: fix flip-sides for O-X-Y-like attachment modes
fixes #2519
2018-09-13 13:03:06 +02:00
wmayer
aef87aeec5 Ignore key events in dialogs and let parent task panel handle them
The affected dialogs are:
* Texture mapping
* Cross-sections
* Extrusion
* Revolution
2018-09-13 11:13:33 +02:00
wmayer
adb2fb6e04 move document mode command further uo in the View menu 2018-09-13 01:23:52 +02:00
wmayer
0c8cc7efcf fix regression wrt to bold text in multi-document mode when activating document by tabs 2018-09-13 01:19:49 +02:00
wmayer
0b9f869ed7 fixes #0003514: Program crashes when user try to add (by mistake) the origin to a group 2018-09-12 19:01:25 +02:00
wmayer
4d47ce619e fixes #0002833: [Spreadsheet] Keyboard events are sent to the wrong viewprovider 2018-09-12 17:40:57 +02:00
wmayer
ef42cfb5d6 add method to activate 3d view when setting active object list 2018-09-12 15:38:28 +02:00
wmayer
90e63b49a4 fixes #0003155: FEM to mesh conversion fails for shells 2018-09-12 12:39:12 +02:00
wmayer
aee9359da1 ignore key events in placement dialog and let parent task panel handle them 2018-09-11 21:12:04 +02:00
wmayer
90258a47f0 move check for grabbed node and releasing it from ViewProviderDragger::unsetEditViewer to View3DInventorViewer::resetEditingViewProvider 2018-09-11 17:27:17 +02:00
wmayer
8f3c135a5c minor fixes:
make QtCreator happy by removing const & when connecting signal/slots
fix typo in comment
2018-09-11 15:50:27 +02:00
Zheng, Lei
652e9314bd PropertyEditor: improve editing experience 2018-09-11 14:51:03 +02:00
Amritpal Singh
762b24352b Fixed minor bug in Rebar object. 2018-09-11 14:34:59 +02:00
wmayer
0155cbb5d4 improve whitespaces 2018-09-11 14:26:38 +02:00
hokieengr
e3452ecb5f Reformatted variable spacing. 2018-09-11 14:12:15 +02:00
hokieengr
fddd3004df Parameterized previously hardcoded fractional inch code
To make way for an eventual upcoming feature whereby the user can select
the minimum fractional inch value (1/8", 1/16", 1/32", etc) to be
displayed, the function responsible for rendering this string was
rewritten. Previous functionality used hardcoded values for 1/8" and
therefore did not allow this to be changed. New code will work with any
integer denominator.

Also, a minor bug in the previous implementation has been fixed by the
new code. Prior to this fix, if an inch value rounded up to a foot, it
would still be rendered in inches. For example: 23.99" would be rendered
as 1'+12". The new code will render this as 2'.

Default fractional value set to 8 (1/8") for now such that there is no
change in the existing behavior. GUI option will be added at some point
in the future.
2018-09-11 14:12:05 +02:00
Markus Lampert
22838a95ce Added collapse/expand option to the document tree view. 2018-09-11 11:38:58 +02:00
Markus Lampert
b475b01686 Changed tree view document hiding boolean to integer to support arbitrary number of views. 2018-09-11 11:38:38 +02:00
Markus Lampert
71175748fc Added option to hide inactive documents in tree view. 2018-09-11 11:38:20 +02:00