Abdullah Tahiri
5f46862caa
Part: correct long parsing in GeometryIntExtensionPyImp
2019-07-14 12:37:31 +02:00
Abdullah Tahiri
41ad1fe0a1
Part: Geometry extension const correctness
2019-07-14 12:37:31 +02:00
Abdullah Tahiri
c670ef9793
Part: Move default geometry extension for int to internally use long
2019-07-14 12:37:31 +02:00
Abdullah Tahiri
69c3b7d4f8
Part: Default geometry extension template encapsulate value
2019-07-14 12:37:31 +02:00
Abdullah Tahiri
fb5e8b4df7
Part: GeometryDefaultExtensions template
...
========================================
Generalisation of code for a default geometry extension in the form of a template.
Default geometry extensions provide a standard interface for an extension having a single stored value (e.g. one int or one string).
Python implementation must be provided separatedly.
2019-07-14 12:37:31 +02:00
Abdullah Tahiri
9bb2210c92
Part: Geometry extensions set interface
...
=======================================
unique_ptr is a move only type. Therefore it may only take an rvalue.
It does not make sense a pass by value for move only types (Item 41).
2019-07-14 12:37:31 +02:00
Abdullah Tahiri
460bb59320
Geometry extensions: remove unnecessary smart pointer deletion
...
==============================================================
When the geometry object is destroyed, std::vector's destructor is called, which in turn calls the destructor of the smart pointers.
If a weak_ptr corresponding to one of those shared_ptr is locked (elsewhere, if FC were multithread),
the underlaying resource will not be freed until said locked weak_ptr goes out of scope. It will then.
2019-07-14 12:37:31 +02:00
Abdullah Tahiri
b5f5d1c32f
Part: GeometryStringExtension to extend a geometry by a string
2019-07-14 12:37:30 +02:00
Abdullah Tahiri
9cb2863a2e
Part: Expose GeometryIntExtension python type
2019-07-14 12:37:30 +02:00
Abdullah Tahiri
7828c34ffe
Part: Standard geometry extension adding an integer value
2019-07-14 12:37:30 +02:00
Abdullah Tahiri
1e2c627f26
Part: Excise GeometryExtension from Geometry
2019-07-14 12:37:30 +02:00
Abdullah Tahiri
9b65a4885d
Sketcher: Excise SketchGeometryExtension outside of SketchObject
2019-07-14 12:37:29 +02:00
Abdullah Tahiri
8688dbceb9
Sketcher: Python implementation of Sketcher geometry extension
2019-07-14 12:37:29 +02:00
Abdullah Tahiri
ef30cc2527
Part: Geometry Python interface to get/set an extension
2019-07-14 12:37:29 +02:00
Abdullah Tahiri
2c65c5681f
Part:: Bug fix in geometry set extension
2019-07-14 12:37:29 +02:00
Abdullah Tahiri
718d79fa94
Part: Geometry Extension Python object
2019-07-14 12:37:29 +02:00
Abdullah Tahiri
b778e21b45
Sketcher Geometry Extension
2019-07-14 12:37:28 +02:00
Abdullah Tahiri
aedfb6a6a3
Geometry Extension based on smart pointers
2019-07-14 12:37:28 +02:00
Abdullah Tahiri
f977f47de3
Geometry: Extensions - release any allocated dynamic memory
2019-07-14 12:37:28 +02:00
Abdullah Tahiri
26d3d906c8
Sketcher: Add Sketcher Geometry Extension
2019-07-14 12:37:28 +02:00
Abdullah Tahiri
2400d63d70
Part: Geometry Extensions
2019-07-14 12:37:28 +02:00
0penBrain
4617e5484a
Add basic ability that PartDesign doesn't switch to Task panel when activated => Add a 'SwitchToTask' boolean parameter to Mod/PartDesign and set to 'false' to prevent switching
2019-07-13 12:56:09 -03:00
paullee0
f39ffe5707
Change ArchWall WidthsOfWall attribute to OverrideWidth
...
- following discussion at github
2019-07-13 12:52:20 -03:00
paullee0
589a2ac4f5
ArchWall_DraftGeomUtils Multi-Width support added
...
Discussion:- https://forum.freecadweb.org/viewtopic.php?f=23&t=36772&p=319829#p319829
2019-07-13 12:52:20 -03:00
sliptonic
90651c24f3
Merge pull request #2337 from Russ4262/helix_sort
...
[Path] PathHelix: Add simple x,y path sorting
2019-07-12 19:12:14 -05:00
Yorik van Havre
e5c823bf34
AddonManager: Better support of non-github addons
2019-07-12 16:45:31 -03:00
Russell Johnson
ea5a1393f3
PathHelix: Add simple x,y path sorting
...
Same PathUtils.sort_jobs() method copied from PathDrilling
Change feedback comment to debug category
2019-07-12 10:05:18 -05:00
sliptonic
ec0049921b
Merge pull request #2331 from Russ4262/4th_axis_analysis_fix
...
[Path] 4th-axis rotation analysis Z-orientation fix
2019-07-12 08:36:15 -05:00
wandererfan
4a466c4667
[TD] Improve CenterMark handling on print
2019-07-12 06:45:34 -04:00
Russell Johnson
4e7e9a55e7
4th-axis rotation analysis Z-orientation fix
...
orientation == 'Z' was failing in some cases due to undefined "axis" variable. "axis" declaration was commented out in an earlier commit. Declaration now restored for all orientations.
2019-07-12 01:17:26 -05:00
Yorik van Havre
7eccda34d0
Arch: Lightweight mode for Arch References
2019-07-11 19:37:10 -03:00
luz.paz
c79fc5ce2c
[Draft] source comment typo fix
2019-07-11 19:17:07 +02:00
luz.paz
0a893e8b8a
[Arch] typo fixes
2019-07-11 19:17:07 +02:00
luz.paz
752e74c396
Misc. typo fixes
...
Found via `codespell -q 2`
2019-07-11 19:17:07 +02:00
Yorik van Havre
0d4106541c
Draft: Fixed clone bugs
2019-07-11 12:44:04 -03:00
sliptonic
88a6e73f3b
Merge pull request #2332 from mlampert/refactor/pylint3-cleanup
...
Path: more pylint3 cleanup
2019-07-10 18:25:38 -05:00
Yorik van Havre
3342225402
AddonManager: Provisions to support different git hosting platforms than github
2019-07-10 18:29:02 -03:00
Bernd Hahnebach
b51bf9a7fd
FEM: unit tests, fix round failure on windows by setting fix float numbers
2019-07-10 22:08:09 +02:00
Yorik van Havre
4fc91dcc73
AddonManager: Handled exception when unable to download from url
2019-07-10 11:29:32 -03:00
Yorik van Havre
fec5f2a673
Fixed indent
2019-07-10 13:08:43 +02:00
luz.paz
804293ff3b
[AddonManager] Added CurvedShapes WB Logo
2019-07-10 13:08:43 +02:00
Markus Lampert
eaa36b0338
pylint3 cleanup of unit tests
2019-07-09 21:41:33 -07:00
Markus Lampert
fb0a5c8fa5
pylint3 cleanup of (most) post processors
2019-07-09 21:12:46 -07:00
Markus Lampert
861432cfa3
Added pylint3 exceptions for PathSimulatorGui and PathSurface due to their noisiness.
2019-07-09 20:01:47 -07:00
Markus Lampert
5659a0ecc0
Cleaned up Path op utilities
2019-07-09 19:48:26 -07:00
Markus Lampert
32ce6cc764
Added tooltips to depths transfer buttons.
2019-07-09 19:04:36 -07:00
Yorik van Havre
cf18161dc2
Draft: discard unsupported curve types in intersection snap
2019-07-09 17:33:03 -03:00
Yorik van Havre
45367edb6d
Arch/Draft: Fixed remaining bugs from latest commits
2019-07-09 15:07:00 -03:00
Yorik van Havre
7c53cbf921
Draft: Added button to working plane task panel to orient the view to the WP
2019-07-09 12:29:32 -03:00
Yorik van Havre
78239e48a5
Arch: panel layers with negative thickness are not drawn
2019-07-09 12:06:59 -03:00