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
wmayer
5c984be41f
replace epsilon to check for null vector
2018-09-11 11:33:38 +02:00
Mark Ganson TheMarkster
e21f64caf9
fix bug in draft path array
...
put lnodes.normalize() inside try/except block
replace hard-coded 1e-6 with Vector3d::epsilon() in VectorPy::normalize()
2018-09-11 11:11:39 +02:00
wmayer
b5b1e96f40
make copy constructor of Handle class private
2018-09-05 22:55:33 +02:00
wmayer
79938b119f
add method Placement::isIdentity
2018-09-05 21:19:16 +02:00
Michal Ulianko
2e2b8cba6a
py3.7 fix
...
PyUnicode_AsUTF8() returns const char* in py3.7 instead of char*. Making
changes to reflect that which should also be safe in
other Python versions.
2018-09-01 22:44:39 +02:00
Zheng, Lei
00312a39f9
Selection: handle exception in observer callback
...
Selection callback are sometimes called while traversing Coin node tree.
If any unhandled exception is thrown while traversing the tree, FC 3D
rendering will become unstable and non-usable thereafter.
2018-08-26 17:29:14 +02:00
wmayer
5572f55312
clear dict when invalidating Py object to fix possible cyclic references
2018-08-25 21:49:57 +02:00
wmayer
0b3db26b24
reduce compile time after each time cmake configure is executed
2018-08-21 13:53:33 +02:00
wmayer
826b437940
reduce compile time after each time cmake configure is executed (swig)
2018-08-21 13:20:58 +02:00
wmayer
1cd894bacc
fix -Wcast-function-type
2018-08-19 13:11:08 +02:00
wmayer
3c2f7833d4
fix warning C4244: conversion from 'const double' to 'float', possible loss of data
2018-08-19 10:43:25 +02:00
luz.paz
60bd74aaad
Trailing whitespace fixes
2018-08-18 21:48:42 +02:00
luz.paz
fab9cad50f
Misc. typos
...
Found via `codespell`
Trivial typos
Found via `codespell`
2018-08-18 21:48:42 +02:00
hgutsche
1b00876014
Add library for concurremcy in >= VS2015
...
revert conditional in Points.cpp (i.e. reactivate parallel handling)
2018-08-11 11:55:51 +02:00
wmayer
e6b5a5fb14
suppress -Wcast-function-type for swig code
2018-08-08 18:18:53 +02:00
wmayer
ddfa3c8843
remove kwd argument for functions only with flag METH_VARARGS
2018-08-08 17:39:32 +02:00
wmayer
2a36f5c944
fix infinite recursion in case of non-DAG documents
2018-08-06 18:52:48 +02:00
wmayer
0260370b65
+ add option to switch off precompiled header
2018-07-25 20:17:11 +02:00
wmayer
a1309f1b66
+ move implementation of Base::ifstream and Base::ofstream to header and remove export macro.
...
This is needed for VS 2013 to avoid that it exports methods of the base class and thus causing linker errors for modules that link FreeCADBase
2018-07-25 17:50:30 +02:00
wmayer
cc8948983e
minor fix
2018-07-25 17:49:28 +02:00
wmayer
7dc1dd21fb
+ implement a faster method to multiply vector with matrix
...
+ add convenience method to transform a point array
2018-07-25 17:31:11 +02:00
wmayer
1f2302141d
+ implement direct and queued mode in console class
2018-07-25 17:25:32 +02:00
wmayer
bb1dbd720a
handling of UTF-8 in zipios++ on Win32
2018-07-25 16:57:38 +02:00
luz.paz
a1ffb0fa3c
Misc. typo & whitespace fixes
...
Found via `codespell -q 3 -I ../fc-word-whitelist.txt --skip="*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./.git,./src/zipios++"`
Revert IFC commit
2018-07-11 21:52:27 -04:00
luz.paz
92e9659fba
Misc. comment typos
...
+ Found via `codespell -q 3 --skip="*.po,*.ts,./.git,./src/3rdParty,./src/CXX,./src/zipios++,./src/Mod/Assembly/App/opendcm" -I ~/Projects/fc-word-whitelist.txt`
+ crowdin translation refinements:
- https://crowdin.com/translate/freecad/6766/en-en#6499546
- https://crowdin.com/translate/freecad/6766/en-en#6504496
2018-06-13 20:37:17 -04:00
wmayer
881059fd61
missing call to clear error indicator
2018-06-04 17:48:10 +02:00
luz.paz
43244aa762
More misc. typos
2018-05-19 12:17:52 -04:00
luz.paz
69b3b0b7f2
Misc. typos
2018-05-19 12:06:34 -04:00
luz.paz
a463c94796
Crowdin: fix in different WBs
2018-05-02 00:50:06 -04:00
luz.paz
9167064fc1
Misc. typos
...
Found via `codespell`
2018-04-25 09:41:33 -03:00
wmayer
99ec96acd5
prepare for PyCXX 7.0
2018-04-18 19:20:50 +02:00
wmayer
1b5995d787
workaround for bug in VS 2013 that occurs at Python init time
2018-04-15 19:05:06 +02:00
wmayer
8e0a6cb832
fix conversion factors for psi and ksi
2018-03-31 15:43:16 +02:00
wmayer
37ad664f1d
density is not an SI base unit
2018-03-28 11:47:08 +02:00
wmayer
c9f25d75d3
fix typo
2018-03-11 18:34:18 +01:00
Yorik van Havre
4671f82b97
Units: Fixed Building Imperial schema - closes #2792
2018-03-08 12:45:59 -03:00
luz.paz
436444b424
Misc. typos
2018-01-27 19:43:18 +01:00
luz.paz
327957110a
Misc. comment typos
2018-01-14 12:11:35 -02:00
luz.paz
504f6583dd
Typos
...
The stepcode typos aren't to be found upstream. Recomend we merge nonetheless.
2018-01-08 21:07:00 +01:00
wmayer
e588862034
fix compiler warning
2018-01-08 19:55:07 +01:00
luz.paz
831bf31817
Misc. typos
...
+ stepcode typo submitted upsream https://github.com/stepcode/stepcode/pull/372
2018-01-07 18:41:29 -02:00
wmayer
b9975a5e14
fix OpenSCAD importer
2018-01-01 16:45:06 +01:00
wmayer
15ed408121
support some more handlers in VectorPy and throw better exceptions for unsupported operators
2018-01-01 15:45:21 +01:00
wmayer
808e06f118
implement setting custom attributes for RotationPy to assign matrix or pair of vectors
2017-12-31 18:18:27 +01:00
luzpaz
c4dd42de98
Typos: Various workbenches and misc.
...
[skip ci]
2017-12-25 10:58:10 +01:00
Unknown
e3eca59173
Misc. typo fixes
...
Various workbenches
2017-12-23 14:30:30 +01:00
wmayer
495c048ece
add helper class to tmp. block a boost signal/slot connection
2017-12-21 22:22:33 +01:00
wmayer
3fb789cf7c
move Placement.isNull to Placement.isIdentity
...
add isNull for backward compatibility
2017-12-13 19:13:18 +01:00
wmayer
7991e1ae7e
fix invalid syntax
2017-12-13 17:24:39 +01:00