Commit Graph

1359 Commits

Author SHA1 Message Date
wandererfan
b36abb146c [TD]correct s/s cell format 2024-03-05 07:29:29 -05:00
WandererFan
ce90c89b54 Merge branch 'main' into techdraw_leaderline_linking 2024-03-04 15:34:48 -05:00
Josh Coalson
a8ae56e06a Part: Rename AttachExtension::Support property to AttachmentSupport, to avoid name conflict with base features. Fixes #7052 2024-03-04 18:22:43 +01:00
pavltom
a9b77de0be [TechDraw] Reimplement Leader Line parent linking 2024-03-04 15:35:06 +01:00
wandererfan
cbc39e989f [TD]fix Projection Group front view position
- also fix checkbox correspondence with view position
2024-02-29 13:06:22 -05:00
pavltom
d11d3cd7b8 [TechDraw] Reimplement Rich Annotation parent linking 2024-02-26 16:22:30 -05:00
mos
a025af2d26 removed deprecaded functions
.

.
2024-02-26 17:38:01 +01:00
wandererfan
289c386f6b [TD]ANSI/ASME section line conformance 2024-02-21 11:46:18 -05:00
pavltom
c21dca3a21 [TechDraw] Add Owner property to Symbols 2024-02-11 16:03:44 -05:00
wandererfan
deed6df1b2 [TD]fix line number not saved for cosmetic edge 2024-01-22 20:02:54 -05:00
wandererfan
e5ae85e8fd [TD]protect against stretch factor == 0 2024-01-20 18:58:55 -05:00
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