wandererfan
cf3189fef7
[TD]fix Section scale for DPGI base views
2024-01-18 13:27:29 -05:00
wandererfan
ff2cea3008
[TD]fix Dimension icons
2024-01-12 09:23:38 -05:00
wandererfan
158ef7ee8f
[TD]Revert detail to piecewise algo
2024-01-11 18:24:51 -05:00
Alexander Neumann
d51d2f674f
Remove code related to qtxmlpatterns ( #11755 )
2024-01-08 13:49:38 -03:00
David Carter
343f1b01a0
Material: Material editor enhancements ( #11764 )
...
Continues the work of the material subsystem improvements.
Add support for embedded SVG files. These are not the same
as image files so need to be handled differently.
Add the ability to filter materials in the editor when called from
code. This allows programs to select objects supporting specific
models, complete models, older models, etc.
Updated tests, and refactored code.
New models and materials supporting patterns such as used by the
TechDraw workbench.
fixes #11686 - checks for the presense of a model property before
assinging a value. This can happen when a required model definition is
not available.
---------
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org >
2024-01-06 18:11:53 -06:00
wandererfan
0c1f6138b4
[TD]use standard lines & LineFormat in extensions
2023-12-27 19:46:34 -05:00
wandererfan
c91a35961f
[TD]mute dimension autocorrect warning
2023-12-24 12:27:25 -05:00
wandererfan
e6517089df
[TD]fix location of CV on rotated views
2023-12-24 12:27:25 -05:00
wandererfan
43d8fa81f5
[TD]prevent fail during document restore
2023-12-24 08:30:53 -05:00
wandererfan
18e62a731c
[TD]prevent gp_GTrsf::Trsf() - non-orthogonal GTrsf
2023-12-21 17:32:16 -05:00
wandererfan
2a51d79afd
[TD]fix double transform for linked objects
2023-12-21 09:46:09 -05:00
wandererfan
f9ea3bc072
[TD]fix Landmark dim with datum points
2023-12-20 19:33:00 -05:00
mos
eb4214da4c
Removed redundant float casts
...
fix cast promotions
2023-12-19 14:26:05 +01:00
wandererfan
091d9c34af
[TD]add properties for detail highlight and matting
2023-12-17 08:37:19 -05:00
pavltom
fb2d5a6a83
[TechDraw] Fix scrubEdges() OCC error with single input edge
2023-12-11 23:40:33 +01:00
André Caldas
560898907b
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
ba236d0b94
[TechDraw] Use OCC to split intersecting edges
2023-12-07 10:14:30 -05:00
wandererfan
1593fe5247
[TD]fix line standard drop downs
2023-12-06 14:52:54 -05:00
wandererfan
9cb4745f38
[TD]handle loose geometry via HLR
2023-12-03 08:55:59 -05:00
wandererfan
9e7f21fcb2
[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
b26b83dfee
[TechDraw] Use OCC to compute intersections of any types of curves
2023-12-02 13:54:37 -05:00
wandererfan
8f17842974
[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
762e1b53ff
[TD]Standard Line Styles - Gui components
2023-12-01 11:27:29 -05:00
wandererfan
8a7e8effb3
[TD]Standard Line Styles - App components
2023-12-01 11:27:29 -05:00
Chris Hennes
fa65438556
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
59282956bf
[TD]fix wrong include
2023-11-26 16:42:06 -05:00
wandererfan
f03461a85a
[TD]spelling in comments
2023-11-26 16:42:06 -05:00
wandererfan
ca90c73811
[TD]trap null 2d shape in ShapeExtractor
2023-11-26 16:42:06 -05:00
pavltom
886c683f65
[TechDraw] Fix DrawView.setPosition signaling changes always
2023-11-16 20:45:02 -05:00
wandererfan
69761e72d2
[TD]fix regression on Links with scale
2023-11-13 12:21:10 -05:00
wandererfan
037165f1b7
[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
aaa0db3867
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
8de6db3e97
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
24352a7f4c
TechDraw: modernize type checking
2023-10-23 18:08:59 +02:00
pavltom
4ea8558e09
[TechDraw] - Cosmetic circle fixes
2023-10-20 12:18:30 -04:00
wandererfan
9defdaf0a6
[TD]#11091 item 12 array over run
2023-10-19 10:07:48 -04:00
wmayer
9012fec857
TD: fix GeometryMatcher::compareBSplines
2023-10-18 19:43:51 -04:00
wmayer
5b1ccf895a
TD: fix -Wsign-compare
2023-10-11 15:12:42 +02:00
wandererfan
772bd03cff
[TD]fix fail on unmeshed shape
2023-10-06 20:39:38 -04:00
wandererfan
ed72c03df3
[TD]fix sketch location in view
2023-10-03 13:35:36 -04:00
Florian Foinant-Willig
c214ca3dd9
TechDraw: Fix #10919 crash at geometry deletion
2023-10-03 09:01:42 -04:00
Chris Hennes
6d37ef6609
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
60da0b80f7
TechDraw: fix extension lines of projected dimension
2023-10-02 13:53:01 -04:00
Florian Foinant-Willig
c8313874e4
TechDraw: Implements projected Length dimension
2023-10-02 13:53:01 -04:00
wandererfan
0e2b3c0ecc
[TD]Fix no dimensions from old document ( #10880 )
2023-10-02 09:39:27 -04:00
wandererfan
895d0f0e60
[TD]add line spacing property
...
- requires Arch PR #10816 to see results
2023-10-01 19:54:32 -04:00
liukaiwen
18af697795
Merge remote-tracking branch 'origin/master' into remove_redundant_definition
2023-10-02 01:42:37 +08:00
wandererfan
d7fcbc79a8
[TD]fix missing reference geometry
2023-09-28 09:01:39 -04:00
ppphp
82ba7ae5ca
Merge branch 'master' into remove_redundant_definition
2023-09-28 01:38:38 +08:00
wandererfan
084b33d3e4
[TD]fix centerline rotation
2023-09-27 12:24:21 -04:00