wandererfan
c40f01ae57
[TD]mute dimension autocorrect warning
2023-12-24 12:27:25 -05:00
wandererfan
023dd8ed8a
[TD]fix location of CV on rotated views
2023-12-24 12:27:25 -05:00
wandererfan
ca1aa9d916
[TD]prevent fail during document restore
2023-12-24 08:30:53 -05:00
wandererfan
9ceb9de19f
[TD]prevent gp_GTrsf::Trsf() - non-orthogonal GTrsf
2023-12-21 17:32:16 -05:00
wandererfan
a1dbf53044
[TD]fix double transform for linked objects
2023-12-21 09:46:09 -05:00
wandererfan
6ce41201cd
[TD]fix Landmark dim with datum points
2023-12-20 19:33:00 -05:00
mos
243acce4e6
Removed redundant float casts
...
fix cast promotions
2023-12-19 14:26:05 +01:00
wandererfan
90b0c15cbf
[TD]add properties for detail highlight and matting
2023-12-17 08:37:19 -05:00
pavltom
103f37eee1
[TechDraw] Fix scrubEdges() OCC error with single input edge
2023-12-11 23:40:33 +01:00
André Caldas
89dbab9b0e
Avoids using getNameInDocument() to test if DocumentObject is attached to a Document.
...
This patch substitutes by isAttachedToDocument() (almost) everywhere where
getNameInDocument() is used for this purpose.
The very few places not touched by this patch demand a (just a little) less trivial change.
When we change the returning type of getNameInDocument() to std::string,
those places will be easily found, because they shall generate a compiler error
(converting std::string to bool).
Rationale:
The fact that getNameInDocument() return nullptr to indicate
that the object is not attached to a document is responsible for lots of bugs
where the developer does not check for "nullptr".
The idea is to eliminate all those uses of getNameInDocument() and, in the near future,
make getNameInDocument() return always a valid std::string.
2023-12-11 17:37:58 +01:00
pavltom
10f4cd8cc5
[TechDraw] Use OCC to split intersecting edges
2023-12-07 10:14:30 -05:00
wandererfan
efd3407dd8
[TD]fix line standard drop downs
2023-12-06 14:52:54 -05:00
wandererfan
1d3aca0733
[TD]handle loose geometry via HLR
2023-12-03 08:55:59 -05:00
wandererfan
ac6c3786b0
[TD]fix line numbering in preferences
...
- resolve conflict between comboBox currentIndex [0,n] and
line numbering [1, n]
2023-12-02 13:55:08 -05:00
pavltom
289dda439a
[TechDraw] Use OCC to compute intersections of any types of curves
2023-12-02 13:54:37 -05:00
wandererfan
2010acc142
[TD]fix errors in MS CI
...
- apparently the "or" alternative to "||" is not supported
by MS but is part of the c++ specification:
https://en.cppreference.com/w/cpp/language/operator_alternative
- also missing TechDrawExport
2023-12-01 11:27:29 -05:00
wandererfan
d4e1731716
[TD]Standard Line Styles - Gui components
2023-12-01 11:27:29 -05:00
wandererfan
70d89b7437
[TD]Standard Line Styles - App components
2023-12-01 11:27:29 -05:00
Chris Hennes
cfd41683a5
Core: Enable compiling with MSVC /permissive- ( #11014 )
...
* Base: Fixes for MSVC permissive-
* App: Fixes for MSVC permissive-
* Gui: Fixes for MSVC permissive-
* Main: Fixes for MSVC permissive-
* Fem: Fixes for MSVC permissive-
* Material: Fixes for MSVC permissive-
* Part: Fixes for MSVC permissive-
* Mesh: Fixes for MSVC permissive-
* Points: Fixes for MSVC permissive-
* Robot: Fixes for MSVC permissive-
* TechDraw: Fixes for MSVC permissive-
* Path: Fixes for MSVC permissive-
* Core; Changes per review comments
* TD: Revision from wandererfan
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-27 17:37:29 +01:00
wandererfan
7301610a5f
[TD]fix wrong include
2023-11-26 16:42:06 -05:00
wandererfan
b8bea76481
[TD]spelling in comments
2023-11-26 16:42:06 -05:00
wandererfan
2954cfa2b6
[TD]trap null 2d shape in ShapeExtractor
2023-11-26 16:42:06 -05:00
pavltom
5a6c3b2606
[TechDraw] Fix DrawView.setPosition signaling changes always
2023-11-16 20:45:02 -05:00
wandererfan
9b377c83d4
[TD]fix regression on Links with scale
2023-11-13 12:21:10 -05:00
wandererfan
6ccf57b3a2
[TD]add 2 utility methods
...
- toAppSpace converts qt point to app view coords
- angleWithX(Base::Vector3d) returns [0,2pi]
2023-11-11 07:48:03 -05:00
Chris Hennes
37a8e348c6
Merge pull request #11231 from DeflateAwning/http-cleanup
...
Find and replace http://freecad to https://freecad
2023-11-06 11:16:13 -06:00
DeflateAwning
1e3179e9bc
Find and replace http://freecad.org to https://freecad.org
...
Find and replace:
http:\/\/(.{0,10})freecad
https://$1freecad
Done in all remaining files (after doing it in SVGs in the last commit)
2023-10-29 22:39:22 -06:00
Florian Foinant-Willig
1d8a51b47b
TechDraw: modernize type checking
2023-10-23 18:08:59 +02:00
pavltom
0657ecf3e3
[TechDraw] - Cosmetic circle fixes
2023-10-20 12:18:30 -04:00
wandererfan
2535a9e835
[TD]#11091 item 12 array over run
2023-10-19 10:07:48 -04:00
wmayer
454716c7da
TD: fix GeometryMatcher::compareBSplines
2023-10-18 19:43:51 -04:00
wmayer
f0d350f60d
TD: fix -Wsign-compare
2023-10-11 15:12:42 +02:00
wandererfan
16dd8fc239
[TD]fix fail on unmeshed shape
2023-10-06 20:39:38 -04:00
wandererfan
5b65757404
[TD]fix sketch location in view
2023-10-03 13:35:36 -04:00
Florian Foinant-Willig
aab4962b5b
TechDraw: Fix #10919 crash at geometry deletion
2023-10-03 09:01:42 -04:00
Chris Hennes
8595b07b76
Merge pull request #10844 from ppphp/remove_redundant_definition
...
[cmake] some definitions do not matter now
2023-10-02 14:20:49 -05:00
Florian Foinant-Willig
2d27b84686
TechDraw: fix extension lines of projected dimension
2023-10-02 13:53:01 -04:00
Florian Foinant-Willig
ed87ce0af0
TechDraw: Implements projected Length dimension
2023-10-02 13:53:01 -04:00
wandererfan
2d72806e29
[TD]Fix no dimensions from old document ( #10880 )
2023-10-02 09:39:27 -04:00
wandererfan
b47e9b6420
[TD]add line spacing property
...
- requires Arch PR #10816 to see results
2023-10-01 19:54:32 -04:00
liukaiwen
721b991b1c
Merge remote-tracking branch 'origin/master' into remove_redundant_definition
2023-10-02 01:42:37 +08:00
wandererfan
2f069bb94f
[TD]fix missing reference geometry
2023-09-28 09:01:39 -04:00
ppphp
ab8ae5ffdd
Merge branch 'master' into remove_redundant_definition
2023-09-28 01:38:38 +08:00
wandererfan
a48490f518
[TD]fix centerline rotation
2023-09-27 12:24:21 -04:00
wandererfan
68f79e06ae
[TD]allow centerline deletion with Del
2023-09-27 12:24:21 -04:00
liukaiwen
329904a055
[cmake] some definitions do not matter build now
2023-09-27 18:17:14 +08:00
wandererfan
80539ff4c4
[TD]initial implementation of cosmetic cicle command
2023-09-20 13:42:11 -04:00
Pieter Hijma
776649be06
TechDraw: Expose two functions for SVG export
2023-09-20 09:27:17 -04:00
André Caldas
0f27212d57
TechDraw: creates closure for concurrent thread context.
...
We use a lambda function with a copy of variables
that might be destructed in the original calling thread,
possibly producing dangling references.
See: https://forum.freecad.org/viewtopic.php?t=81260
2023-09-20 09:26:15 -04:00
wandererfan
272df02684
[TD]fix inverted detail of body
2023-09-15 13:53:54 -04:00