Commit Graph

2584 Commits

Author SHA1 Message Date
wandererfan
df0cf92243 [TD]Revert detail to piecewise algo 2024-01-11 18:24:51 -05:00
Alexander Neumann
c144160331 Remove code related to qtxmlpatterns (#11755) 2024-01-08 13:49:38 -03:00
David Carter
d9017bcca3 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
08612d4489 [TD]fix duplicate unscale of CosmeticVertex 2024-01-06 08:43:25 -05:00
M G Berberich
970b1048f0 german ISO 7200 templates for TechDraw 2024-01-06 08:42:06 -05:00
Chris Hennes
fce7dea6f7 Update translations (#11886)
* Update translations

* [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>
2024-01-03 09:27:18 -06:00
wandererfan
4e6dc1ca50 [TD]fix positioning of secondary views 2024-01-01 13:45:30 -05:00
sliptonic
70bc10a5d9 Merge pull request #11808 from luzpaz/typos-12-2023
Fix typos
2024-01-01 12:44:49 -06:00
wandererfan
daeaa2b7e3 [TD]fix fail when dropping onto corrupt object 2023-12-29 08:28:11 -05:00
wandererfan
de320363c9 [TD]use standard lines & LineFormat in extensions 2023-12-27 19:46:34 -05:00
wandererfan
5e7a5abaa3 [TD]fix balloon visibility behaviour 2023-12-27 19:46:34 -05:00
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
1d7f8b0c1d [TD]fix warning re catch on polymorphic class 2023-12-24 08:30:53 -05:00
wandererfan
ca1aa9d916 [TD]prevent fail during document restore 2023-12-24 08:30:53 -05:00
Tomas Pavlicek
95fad03ee2 [TechDraw] Tree view update refactoring (#11815) 2023-12-23 08:06:58 -05:00
Alex Neufeld
bff23896e2 [TechDraw] italicize leaderline auto-horizontal preference checkbox (#11813)
... to correctly indicate that it only applies to new objects.
2023-12-23 08:02:12 -05:00
luzpaz
9c8a3f27f9 Fix typos 2023-12-22 13:35:23 +00:00
Tomas Pavlicek
1cf7861b51 [TechDraw] Implement proper selection of subitems (#11804) 2023-12-22 08:25:58 -05:00
WandererFan
258b9bcdbe Merge pull request #11806 from WandererFan/LinkDoubleTransform
[TD]prevent gp_GTrsf::Trsf() - non-orthogonal GTrsf
2023-12-21 20:37:40 -05:00
WandererFan
e4d22148d8 Merge pull request #11797 from edi271/PositionSectionView
[TD] New extended version of PositionSectionView tool.
2023-12-21 18:02:31 -05:00
wandererfan
9ceb9de19f [TD]prevent gp_GTrsf::Trsf() - non-orthogonal GTrsf 2023-12-21 17:32:16 -05:00
edi271
5b832bacf9 [TD] New version of PositionSectionView 2023-12-21 16:04:36 +01:00
edi271
6d77f75cd2 [TD] Connect PositionSectionView to TechDraw 2023-12-21 16:04:36 +01:00
edi271
a9764d5fa5 [TD] Solve issue in MenuBar 2023-12-21 16:04:36 +01:00
edi271
c40d0c3ef8 [TD]Remove PositionSectionView, solve Line Style issue 2023-12-21 16:04:36 +01: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
wandererfan
2cc6c1f504 [TD]fix vertex-edge dimension 2023-12-20 19:33:00 -05:00
Yorik van Havre
651fc54a8c merged crowdin translations 2023-12-20 09:27:37 +01:00
Yorik van Havre
1f65348080 Updated ts files 2023-12-20 09:27:37 +01: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
wandererfan
37c54b6708 [TD]template green squares to underline 2023-12-17 08:37:19 -05:00
Syres916
5ae3a5da9d [TechDraw] Correct typo in folder name 2023-12-16 23:01:55 -03: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
Syres916
e0494febb4 [TechDraw] Add missing quotation marks 2023-12-07 19:55:01 -05:00
Syres916
207f2c7714 [TechDraw] Fix Lint Warning 2023-12-07 19:55:01 -05:00
Syres916
d7ee7c7c03 [TechDraw] Fix Lint Warnings 2023-12-07 19:55:01 -05:00
Syres916
94b201309e [TechDraw] Collect doc info to fill template fields 2023-12-07 19:55:01 -05:00
pavltom
10f4cd8cc5 [TechDraw] Use OCC to split intersecting edges 2023-12-07 10:14:30 -05:00
edi271
111bcc1b0c [TD] Improve AxoLengthDimension tool 2023-12-07 09:24:09 -05:00
edi271
cfc1cf2f91 [TD] Extend utils by two more functions 2023-12-07 09:24:09 -05:00
luzpaz
d584643a05 Fix typos 2023-12-06 14:53:48 -05:00
wandererfan
efd3407dd8 [TD]fix line standard drop downs 2023-12-06 14:52:54 -05:00
wandererfan
fb128a3f4d [TD]fix section scale
- scale field in ui was QuantitySpinBox which is wrong for
  dimensionless number.
- section view scale was being set at only GlobalDecimals
  precision.
2023-12-06 14:52:54 -05:00
edi271
703561f7bc [TD] Connect to TechDraw 2023-12-06 08:50:59 -05:00
edi271
db7639c186 [TD] New command and task panel 2023-12-06 08:50:59 -05:00
edi271
55f8e45d02 [TD] Extended utility tools 2023-12-06 08:50:59 -05:00