wmayer
1cbc20b0b1
fix conversion factors for psi and ksi
2018-03-31 15:43:16 +02:00
wmayer
71f0f1a6d5
density is not an SI base unit
2018-03-28 11:47:08 +02:00
wmayer
7480544967
fix typo
2018-03-11 18:34:18 +01:00
Yorik van Havre
46acd2f6a2
Units: Fixed Building Imperial schema - closes #2792
2018-03-08 12:45:59 -03:00
luz.paz
11b8f91c5d
Misc. typos
2018-01-27 19:43:18 +01:00
luz.paz
bbfbb0e7d3
Misc. comment typos
2018-01-14 12:11:35 -02:00
luz.paz
a35dd3feea
Typos
...
The stepcode typos aren't to be found upstream. Recomend we merge nonetheless.
2018-01-08 21:07:00 +01:00
wmayer
78c9a34f50
fix compiler warning
2018-01-08 19:55:07 +01:00
luz.paz
8690d870a5
Misc. typos
...
+ stepcode typo submitted upsream https://github.com/stepcode/stepcode/pull/372
2018-01-07 18:41:29 -02:00
wmayer
83fe8f8c36
fix OpenSCAD importer
2018-01-01 16:45:06 +01:00
wmayer
9e2fa2d91a
support some more handlers in VectorPy and throw better exceptions for unsupported operators
2018-01-01 15:45:21 +01:00
wmayer
401af92890
implement setting custom attributes for RotationPy to assign matrix or pair of vectors
2017-12-31 18:18:27 +01:00
luzpaz
128239b54a
Typos: Various workbenches and misc.
...
[skip ci]
2017-12-25 10:58:10 +01:00
Unknown
a8ecffb652
Misc. typo fixes
...
Various workbenches
2017-12-23 14:30:30 +01:00
wmayer
77e3260522
add helper class to tmp. block a boost signal/slot connection
2017-12-21 22:22:33 +01:00
wmayer
0d7831e196
move Placement.isNull to Placement.isIdentity
...
add isNull for backward compatibility
2017-12-13 19:13:18 +01:00
wmayer
b22f231345
fix invalid syntax
2017-12-13 17:24:39 +01:00
wmayer
25bf33077e
rename Placement.isNull to Placement.isIdentity
...
implement Rotation.isNull and Rotation.isIdentity
2017-12-13 17:00:38 +01:00
wmayer
a19faf16f7
preserve length of rotation axis
2017-12-13 17:00:38 +01:00
wmayer
aa201cba9c
improve whitespaces
2017-12-13 17:00:38 +01:00
plgarcia
31c0230659
Improvement of rotations
...
Rotation:
- Add a private attribute Vector to store the direction of the rotation, and manage not to erase this direction when the angle id 0.
- Add a private attribute to store the angle as defined (no modulo etc)
- Keep the quaternion for calculations
PropertyGeo
- Saves the rotation with angle and direction instead of saving the quaternion.
- Attribute name chosen: Ox, Oy and Oz for the coordinates of the axis and A for the angle in radians. This has to be validated.
- Backward compatibility with the saved files with quaternion (test presence of A to determine which of the Quaternion (old way) or the direction and angle is stored (new way). New files can be opened by old FreeCAD and vice-versa.
The only side effect I can imagine is that it was possible to set a vector to 0, 0, 0 if the angle was not 0, what is somehow non sense. Now when setting to 0, 0 0 the last not null vector is kept. The vector can not be null any longer.
2017-12-13 17:00:38 +01:00
Frederic Bonnard
651d2fd751
Fix "Unit overflow in pow()" error
...
During tests on Debian/Ubuntu :
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836983 a problem was
found when raising a unit to a negative power on some architectures.
By default some architectures have "char" being
unsigned such as the ones listed here and others (
https://wiki.debian.org/ArchitectureSpecificsMemo ).
I just forced the sign-ness of pow()'s argument which fixes the issue.
2017-12-08 17:38:35 +01:00
Unknown
3579f38d62
Builder3D: doxy typo/grammar fixes
...
[skip ci]
2017-12-04 08:20:55 -05:00
wmayer
e7d4296b29
remove export macro from template class
2017-11-30 17:37:51 +01:00
Eivind Kvedalen
2ae1313975
Moved ObjectStatusLocker template class to Base/Tools.h
2017-11-30 16:28:41 +01:00
wmayer
2059d47e2c
move encodeAttribute from Property to Persitence to avoid code duplication
2017-11-26 18:38:45 +01:00
luzpaz
56af703746
Fix Techdraw UI typo found via crowdin + misc. typos
...
Ref: https://crowdin.com/translate/freecad/27911/en-eu#6503377
2017-11-26 15:48:20 +01:00
luzpaz
b24a9c9ad4
Misc. typos
...
- Tooltip uniformity
- source comment typo fixes
- remove double whitespaces
2017-11-24 09:45:08 -02:00
wmayer
8c7bb0cd55
fix warning
2017-11-14 21:47:56 +01:00
wmayer
25fb77a5a0
fixes #0002419 : Matrix rotation and Units compatibility
2017-10-25 13:50:06 +02:00
wmayer
16e6d887e7
implement FileInfo::completeExtension
2017-10-24 19:38:01 +02:00
wmayer
9aab910981
add derived unit electric potential
2017-10-16 21:56:13 +02:00
wmayer
fb1fcf3885
extend InventorBuilder
2017-10-16 11:03:21 +02:00
Unknown
15c0d38536
Capitalize beginning of tooltips + Typos
...
Capitalized all remaining uncapitalized tooltips.
+ Fixed typo in instantiate() function. Shouldn't have any repercussions on the code, AFAICT.
+ other typos
2017-10-13 00:26:53 +02:00
Harald Geyer
ed7630503c
Fix rendering of Unit::ThermalConductivity
...
The old behaviour was:
>>> Quantity('0.9 W/m/K').UserString
u'0.00 W/mm/K'
>>> Quantity('1.1 W/m/K').UserString
u'1.10 W/m/K'
>>> Quantity('1100 W/m/K').UserString
u'1100.00 W/m/K'
The new behaviour is:
>>> Quantity('0.9 W/m/K').UserString
u'0.90 W/m/K'
>>> Quantity('1.1 W/m/K').UserString
u'1.10 W/m/K'
>>> Quantity('1100 W/m/K').UserString
u'1.10 W/mm/K'
2017-10-10 20:35:33 +02:00
Unknown
ad457ba96b
Misc. Typos
2017-10-09 19:59:33 +02:00
wmayer
74b7373e48
fixes #0002323 : Workbench Start recent list of 3 files is - after a crash - not sync with recent list in File Menu Recent list of 4 files
2017-10-05 10:38:42 +02:00
wmayer
9d977b90a4
check for null string
2017-10-04 20:03:59 +02:00
wmayer
6df1ace5d5
include missing header
2017-10-04 18:58:40 +02:00
luzpaz
ab8f8919b6
Misc. typos
...
+ some are doxy others are just comment code.
+ some minor whitespace and grammatical tweaks.
+ app/SCL/* typos have also been submitted upstream (https://github.com/stepcode/stepcode/pull/366 ). So it's ok to merge them in to master.
2017-10-04 17:59:11 +02:00
wmayer
cea54396e7
expose Attach/Detach of parameter group class to Python
2017-10-04 17:16:22 +02:00
wmayer
13da3cd226
remove deprecated Type attribute
2017-09-18 19:01:25 +02:00
wmayer
770c9ce095
fix various coverity issues
2017-09-15 11:48:38 +02:00
wmayer
eaf04d5bfd
set invalid bounding box if no arguments passed
2017-09-12 17:23:39 +02:00
DeepSOIC
96f3f0fa26
Base: new Rotation constructor - on vectors
...
The new constructor accepts wanted directions of x,y,z axes of rotated
frame, and a priority string that affects how the vectors are made
perpendicular to each other.
Example - construct placement for sketch on XZ plane:
v = App.Vector
App.Rotation(v(1,0,0),v(0,0,1),v())
2017-09-10 18:31:40 +02:00
wmayer
94fcefd207
direct support of Volt in units framework
2017-09-04 12:08:29 +02:00
wmayer
012cffefe8
implement slicing for VectorPy class
2017-08-21 15:16:03 +02:00
wmayer
c4c1034e4e
Py3: replace sq_slice and sq_ass_slice with mp_subscript and mp_ass_subscript because they are not used any more in Py3
2017-08-21 13:33:07 +02:00
wmayer
533a78026a
add method toFormat to get number format from character
2017-08-20 18:50:13 +02:00
Oliver Oxtoby
858df142e2
Base: Make Quantity parser accept 1/[unit] as [unit]^-1
2017-08-20 16:53:57 +02:00