Zheng, Lei
c1454dfbed
Base: add new API Rotation::get/setEulerAngles()
...
Exposed to Python as new constructor parameters and
Rotation.toEulerAngles()
This function uses the code from OCCT
gp_Quaternion::Get/SetEulerAngles() to support all 24 possible
generalized euler rotation sequences. Call Rotation.toEulerAngles()
without argument to obtain all possible sequence types.
2021-05-02 17:20:45 +08:00
Yorik van Havre
ccc4151b30
Draft: Added a 'solid faces' projection mode to shape2dviews to treat individual faces
2021-04-30 16:44:20 +02:00
Yorik van Havre
e2e380655b
Draft: Allow to set 'arch' unit override on dimensions
2021-04-29 19:51:34 +02:00
Yorik van Havre
1b09fecda4
Merge pull request #4766 from waebbl/module-test-issue
...
[Test] fix failing test in Test module
2021-04-29 12:47:15 +02:00
Yorik van Havre
9ef0e8b26a
Merge pull request #4688 from marioalexis84/draft-feature_name
...
Draft: Make featureName attribute translation-independent
2021-04-29 12:40:38 +02:00
Yorik van Havre
dca216e761
Merge branch 'master' into draft-feature_name
2021-04-29 12:40:27 +02:00
Bernd Waibel
20c4c369b3
[Test] fix failing test
...
Solves an issue with the test module when running test-suite
as described in
https://forum.freecadweb.org/viewtopic.php?f=10&t=58099
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net >
2021-04-28 22:09:55 +02:00
Yorik van Havre
bcf9ef3cbe
Merge pull request #4764 from KeithSloan/addElement
...
OpenSCAD - Add element ( Load | Save | Refresh )
2021-04-28 12:37:45 +02:00
wmayer
6138770ef2
Gui: [skip ci] fix crash in SequencerBar::setProgress or SequencerDialog::setProgress when used in worker threads
2021-04-28 12:02:52 +02:00
wmayer
b5c49a6b77
Base: allow to use the classes XUTF8Str and StrXUTF8 outside FreeCADBase
2021-04-28 10:56:17 +02:00
luz paz
05a22ec22d
Misc: remove py2 code
2021-04-27 18:52:01 +02:00
Keith Sloan
d850ed87aa
Add Load/Save/Refresh to add OpenSCAD Elements
2021-04-27 17:42:06 +01:00
wmayer
2f276601f8
Fix generation and build of python classes for 3.8
2021-04-27 14:35:34 +02:00
wmayer
346fe8a93a
Path: [skip ci] fix memory leaks
2021-04-27 14:32:35 +02:00
wmayer
1e5c5f4e7f
Path: [skip ci] fix memory leaks
2021-04-27 13:02:57 +02:00
markus
aa0dcff74f
Fix generation and build of python classes for 3.9
2021-04-27 00:41:53 +02:00
wmayer
5a5b20df56
Sketcher: [skip ci] fix memory leak in GeometryFacade
2021-04-27 00:20:57 +02:00
wmayer
e51f5a8aa7
Sketcher: [skip ci] remove superfluous semicolons
2021-04-26 23:05:18 +02:00
wmayer
86b1308f45
Base: [skip ci] do not make PyBaseProxy class declaration dependent on ATTR_TRACKING
2021-04-26 15:57:17 +02:00
Yorik van Havre
1c282b8aa8
Added KiCAD Corp to the credits
2021-04-26 12:55:57 +02:00
wmayer
b35ae4fc81
Sketcher: [skip ci] fix memory leak in GeometryFacadePy
2021-04-26 12:30:02 +02:00
wmayer
f82af9eca2
Base: remove obsolete swig source files
2021-04-26 11:20:13 +02:00
wmayer
6aef001272
Part: remove some more deprecated Py2 code
2021-04-26 11:13:22 +02:00
wmayer
0fc3d4883f
Image: remove some more deprecated Py2 code
2021-04-26 11:12:51 +02:00
wmayer
b4ee9fa345
Drawing: remove some more deprecated Py2 code
2021-04-26 11:12:34 +02:00
wmayer
b84dcf9b27
Path: remove some more deprecated Py2 code
2021-04-26 11:11:35 +02:00
wmayer
322e027c2b
Points: remove some more deprecated Py2 code
2021-04-26 11:04:53 +02:00
wmayer
2d0bbfdb3a
Raytracing: remove some more deprecated Py2 code
2021-04-26 11:04:26 +02:00
wmayer
77b7b0816c
Spreadsheet: remove some more deprecated Py2 code
2021-04-26 11:03:48 +02:00
wmayer
f5f3acc2a3
TD: remove some more deprecated Py2 code
2021-04-26 11:01:59 +02:00
wmayer
1aad309886
Gui: remove some more deprecated Py2
2021-04-26 10:59:32 +02:00
wmayer
44e82ac3c4
App: remove some more deprecated Py2 code
...
and remove deprecated void from function signature and replace 0 or NULL with nullptr
2021-04-26 10:55:56 +02:00
wmayer
af16ab02a0
Base: remove some more deprecated Py2 code
...
and remove deprecated void from function signature and replace 0 or NULL with nullptr
2021-04-26 10:29:48 +02:00
luz paz
142c2c2c4d
Base: remove Py2 code
2021-04-26 09:23:58 +02:00
bitacovir
31b0f25b6d
[UI] Replace SVG icon files for Plain SVG format
2021-04-25 22:04:17 +02:00
wmayer
3ed720dcd3
App: [skip ci] fix memory leaks:
...
Found two memory leaks in class Enumeration
* method tearDown() always ignored to free the memory of the first element
* assignment operator didn't call tearDown() when needed
2021-04-25 21:58:24 +02:00
Keith Sloan
8bdf4a7a2b
Add load/save/refresh to addElement
2021-04-25 15:10:46 +01:00
wmayer
ea96f18601
TD: do not delete mtextedit.h for in-source builds
2021-04-25 13:15:20 +02:00
luz paz
c69f245d6f
Part: remove py2 code
2021-04-25 11:29:35 +02:00
luz paz
81918da613
Gui: remove py2 code
2021-04-25 11:27:48 +02:00
luz paz
086063f75e
Mesh: remove py2 code
2021-04-25 11:26:39 +02:00
luz paz
1e795e869c
[FEM] remove Py2 code
2021-04-25 11:25:29 +02:00
0penBrain
043dd45da0
[Sketcher] Visibility automation : add ability to open sketch in Section View mode
2021-04-24 16:22:46 +02:00
Abdullah Tahiri
18e751530a
Sketcher: Changes to split edge functionality
...
=============================================
This commit is directed to external functionality of the split() function.
1. getAppliedConstraints renamed to getConstraintIndices
This is just for clarity being a general function
2. SwapInvolvedGeometry functionality moved to Constraint class
Why?
i. Because it is a specific operation on a constraint, it must not be
a public function, as it does not define interface of the Sketch.
ii. It could be a lambda or a private utility function, but them it would not be reusable.
iii. It could be part of a helper class, but then, it is would be less reusable.
3. renaming of the flag passed to transferConstraints function
2021-04-24 14:38:44 +02:00
Tomas Pavlicek
4d6b1f3eb8
Sketcher - Add new Split Edge action
2021-04-24 14:30:35 +02:00
wmayer
ae0a31542f
TD: fix memory leaks in BaseGeom::baseFactory() and make code more readable
2021-04-23 17:05:13 +02:00
Yorik van Havre
317177dad6
Draft: Fixed default color for new dimensions (now uses DefautTextColor instead of DefaultLineColor)
2021-04-23 15:46:39 +02:00
Andrew White
73bfb94895
Add human readable version to mac app bundle
...
CFBundleVersion is used by the system to identify
app versions, but CFBundleShortVersionString is
what Finder shows about the app when using the Get
Info screen. Having the version available there
makes it easer to check app versions without
launching FreeCAD
2021-04-23 15:32:45 +02:00
wmayer
56fb65de62
Base: use Python's weak reference mechanism to avoid memory leaks due to cyclic dependencies
2021-04-23 11:02:19 +02:00
wmayer
ef4f74aa94
Gui: fix memory leak in SelectionParser::yyparse()
2021-04-22 23:16:03 +02:00