bofdahof
ba2c2ca5ad
Console: rename PascalCase named methods to camelCase
2025-05-06 17:50:21 +02:00
Kacper Donat
13fbab9e42
Base: Move App::Color to Base
...
Every basic data type is stored in Base module, color is standing out as
one that does not. Moving it to Base opens possibilities to integrate it
better with the rest of FreeCAD.
2025-02-17 21:10:26 +01:00
Benjamin Bræstrup Sayoc
ea26b3f18c
Remove magic number and hard type enums in CenterLine.h
...
- Remove currently present magic numbers
- Hard type enums, so magic numbers can no longer be introduced. We don't want people to introduce magic numbers.
2025-02-17 12:16:49 -05:00
WandererFan
50f970efd7
[TD]Cosmetic function overhaul ( #14216 )
...
* [TD]Cosmetic geometry and tools update
- all cosmetics to store geometry in same form
- all cosmetics to survive scaling and rotation
- extension functions to survive scaling and rotation
* [TD]overhaul leader point storage and editing
- add py routine makeLeader(points)
* [TD]add leader conversion utility
* [TD]Set Leader RotateWithView default to true
* [TD]fix intersection vertex position
* [TD]add CosmeticEdge::makeLineFromCanonicalPoints
* [TD]fix 2 Extension tools
- positioning in DrawCosmeticCircle
- mishandling of points in execLineParallelPerpendicular
* [TD]Remove duplicate constexpr
* [TD]fix 2x Cosmetic arc tools
* [TD]refactor LineFormat out of Cosmetic
* [TD]move cosmetic appearance settings to LineFormat
* [TD]remove 2 unused methods
* [TD]apply format to blue line & circle tools
* [TD]fix ballon arrowhead does not rotate with view
* [TD]fix CosmeticCircle3Points
* [TD]allow multiple cosmetic object deletions
* [TD]fix extend/shorten centerline
2024-05-23 09:41:42 -04:00
wmayer
acbb19335d
TD: Fix memory leaks with PySequence_GetItem
2024-05-09 00:03:01 +02:00
wandererfan
ed6c12773e
[TD]Expose getVisibleVertexes/getHiddenVertexes to Python
2024-04-18 08:35:31 -04:00
wandererfan
43fc04309a
[TD]implement BrokenView
2024-04-06 15:25:23 -04:00
wandererfan
023dd8ed8a
[TD]fix location of CV on rotated views
2023-12-24 12:27:25 -05:00
wandererfan
80539ff4c4
[TD]initial implementation of cosmetic cicle command
2023-09-20 13:42:11 -04:00
wandererfan
41817c188f
[TD]split GeometryObject
2023-08-18 15:18:42 -04:00
Benjamin Bræstrup Sayoc
0bfae905d9
[TechDraw] Move CenterLine into own file
2023-04-06 13:51:35 -04:00
wandererfan
704fb894a5
[TD]getters and setters for geometry
...
- make attributes private (or protected) and use
getters and setters instead of accessing attributes
directly.
2023-02-28 08:15:06 -05:00
marioalexis
c8aef3b75b
TechDraw: Improve code in Python DrawViewPartPy class
2022-10-29 09:01:52 -04:00
wandererfan
e9d988d43c
[TD]expose DVP projectPoint to Python
2022-10-19 20:00:27 -04:00
Uwe
909e4f2dd3
[TD] DrawView*: remove unused includes - part 2
...
- also sort includes
- also additions to precompiled header
2022-10-08 02:10:26 +02:00
wandererfan
aa2b1b8392
[TD]CI clang warnings
2022-09-05 17:48:38 -04:00
berniev
f4ffd15864
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
Benjamin Bræstrup Sayoc
ac8099d1f6
[TechDraw] Remove deprecated replaceCenterLine
2022-08-02 16:09:54 -04:00
Benjamin Bræstrup Sayoc
b36d6b53cd
[TechDraw] Remove deprecated replaceCosmeticEdge
2022-08-02 16:09:54 -04:00
Benjamin Bræstrup Sayoc
a017cb41bc
[TechDraw] Remove deprecated replaceCosmeticVertex
2022-08-02 16:09:54 -04:00
Uwe
b2bb479788
[TD] last part of removal of superfluous nullptr checks
2022-07-20 12:17:16 +02:00
Uwe
b81d7e4864
[TD] remove some more superfluous nullptr checks
2022-07-20 11:54:28 +02:00
Uwe
36add10c86
[TD] App: remove some superfluous nullptr checks
2022-07-19 02:03:50 +02:00
wmayer
e8f9c8a1d3
TD: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
Wanderer Fan
28c5890bc9
[TD] avoid memory leaks by using shared_ptr
...
TD geometry objects are sometimes double deleted. This
change uses shared_ptr instead of raw pointers to manage
deletions.
2022-01-07 13:34:20 -05:00
wmayer
3fa4a321d3
TD: replace usage of raw pointers of Vertex and Face with shared pointers.
...
This fixes issue 4741: Broken File After Using Landmark Dimension in TechDraw
2021-12-10 14:25:24 +01:00
luz paz
738a697d94
[TD] remove Py2 code from TD
2021-04-22 13:08:56 +02:00
wmayer
b3cd06afe8
Py: fix memory leaks by incorrect use of PyList_Append
2020-12-13 16:30:04 +01:00
luz paz
ae71abd1cc
TechDraw: Header uniformity and whitespace fixes
2020-11-14 16:59:51 +01:00
wandererfan
fa111f86ad
[TD]draw line through 2 points
2020-08-19 09:02:25 -04:00
wandererfan
abdf4fa23b
[TD]add py getEdgeBySelection
2020-08-06 10:21:13 -04:00
wmayer
ba683bf241
Coverity: Dereference null return value
2020-07-20 17:34:26 +02:00
wandererfan
862b2cdf83
[TD]makeCosmeticLine Y inversion
2020-07-12 09:04:59 -04:00
WandererFan
64a96e2216
[TD]CosmeticEdge setters and getters
2020-06-09 18:40:59 -04:00
wandererfan
6734bffcc6
[TD]Eliminate replace fcns for Cosmetic objs
2020-05-16 07:42:45 -04:00
wandererfan
eaf2f0e8a4
[TD]Simplify Cosmetic List & PyObject handling
2020-05-16 07:42:45 -04:00
wandererfan
a584afcd91
[TD]Coordinate inversion for CosmeticVertex
2020-04-28 09:11:28 -04:00
wandererfan
8cbcd243e6
[TD]Py routines for CenterLines
2019-12-16 20:36:10 -05:00
wandererfan
b54212f82c
[TD]Python routines and extension for line formating
2019-12-16 20:36:10 -05:00
wandererfan
a71bc8f734
[TD]Python routines and extension for Cosmetic Edges
2019-12-16 20:36:10 -05:00
wandererfan
f63cd9255a
[TD]Python routines & extension for CosmeticVertex
2019-12-16 20:36:10 -05:00
wandererfan
4c0bb37f4d
[TD]Add getEdges Py functions
2019-11-12 07:08:50 -05:00
wandererfan
f539a0ea8c
[TD]use UUID for CosmeticEdges instead of indices
2019-11-06 20:31:02 -05:00
wandererfan
e0c770ef49
[TD]Expose drawing edge and vertex to Python
2019-09-08 07:13:23 -04:00
wandererfan
cb10b651ea
[TD]Py functions for CenterLines and formatting
2019-07-19 20:17:20 -04:00
wandererfan
9828655f48
[TD]Add Properties for Cosmetic persistence
2019-07-15 12:36:48 -04:00
wandererfan
b4edc9e227
[TD]Add line appearance editor
2019-07-15 12:36:48 -04:00
wandererfan
5d601c1cdd
[TD]Add CenterLine edit function
2019-07-15 12:36:48 -04:00
wandererfan
fbfdb69c20
[TD]Py Cosmetic Vertex, Line, Circle Arc
2019-07-15 12:36:48 -04:00
wandererfan
3f7570ad80
Initial version addCosmeticVertex
2019-05-24 19:38:02 -04:00