ᴩʜᴏɴᴇᴅʀᴏɪᴅ
670da3d796
SPDX [ 41 ][ Src / Mod / Sketcher ] ( #25135 )
2025-12-25 12:00:22 -06:00
Kacper Donat
d586447a7d
Sketcher: Use freecad_cast whenever possible
2025-04-26 14:23:25 +02:00
bgbsww
db9c075be8
Toponaming: Clean Code adding RefIndex to ExternalGeometry and supporting new migration types.
2024-07-19 09:39:19 -04:00
Zheng, Lei
1972156308
Transfer in code from linkstage3
2024-07-19 09:22:17 -04:00
pre-commit-ci[bot]
222a2520b1
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-09-12 13:02:35 -04:00
Chris Hennes
791fe02934
Sketcher: Reformat to current clang-format standard
2023-09-04 07:17:28 -05:00
Abdullah Tahiri
987b4bda2a
Sketcher: App - Clang-format
2023-05-20 07:55:05 +02:00
Uwe
a139a35d24
[Sketch] App A - G: remove unused headers
...
- also some sorting
2022-12-11 18:53:45 +01:00
berniev
6953310116
Mod: Single arg ctors must be explicit
2022-08-24 16:55:20 +02:00
berniev
ddafb98813
Mod: Use override etc 2
2022-08-09 12:52:26 +02:00
berniev
da9ebc572f
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
Abdullah Tahiri
f7dec6b601
Part: Geometry and Sketcher: GeometryFacade and ExternalGeometryFacade
...
======================================================================
Change pass-by-value to const reference.
Thanks Kunda!
https://lgtm.com/projects/g/FreeCAD/FreeCAD/alerts/?mode=tree&ruleFocus=2163210742
https://forum.freecadweb.org/viewtopic.php?p=555658#p555658
2021-12-27 21:03:51 +01:00
Abdullah Tahiri
62c8125097
Sketcher: Addition of layerId field to SketcherGeometryExtension, GeometryFacade and ExternalGeometryFacade, and their Python wrappers
2021-12-07 16:30:55 +01:00
Abdullah Tahiri
9add3ba199
Sketcher/Part: Python handling of GeometryExtensions without a Python counterpart
...
=================================================================================
Some geometry extensions do not provide a PyObject as they do not have a Python counterpart
as it would serve no purpose to have it.
This commit handles this situation making sure to provide the right error to Python
or to ignore the extension where appropriate.
2020-12-10 18:34:06 +01:00
Abdullah Tahiri
316a8b635d
Sketcher - Construction Migration - step 2: Adapt GeometryFacade to retrieve construction from extension
...
========================================================================================================
Access to the Construction state from facade is now obtained from the extension data.
2020-12-10 18:34:06 +01:00
Abdullah Tahiri
eb929ad217
Sketcher: Extend GeometryFacade and ExternaGeometryFacade to GeometryMode
2020-12-10 18:34:06 +01:00
Abdullah Tahiri
72fa70add8
Sketcher: Adapt GeometryFacade and ExternalGeometryFacade to new SketchGeometryExtension
2020-12-10 18:34:06 +01:00
Abdullah Tahiri
485b0b58a0
Sketcher: GeometryFacade inheritance correctness
...
- Make explicit private inheritance of the interface
- Correct inheritance of ExternalGeometryFacade
- Correct inheritance of ExternalGeometryExtension
- Better document the inheritance choice
2020-11-10 13:35:11 +01:00
Abdullah Tahiri
b0bc4b5dc6
Sketcher: Improve documentation of SketchGeometryFacade and ExternalGeometryFacade
2020-11-03 12:01:22 +01:00
Abdullah Tahiri
79b192978e
Sketcher: Restrict ability to create empty GeometryFacade and ExternalGeometryFacade objects to Python
2020-11-03 12:01:22 +01:00
Abdullah Tahiri
7dcac46229
Sketcher: Facade for geometry and external geometry extension
2020-11-03 12:01:22 +01:00