Commit Graph

1232 Commits

Author SHA1 Message Date
wandererfan
96cfd6b3dc [TD]fix 3d dimension position on DetailView 2024-04-16 13:20:02 -04:00
wandererfan
41bce2eaf4 [TD]fix BrokenView dimensions 2024-04-15 19:59:22 -04:00
luzpaz
a3d72167b6 TD: Remove incorrect TODO
Closes #13410
2024-04-13 17:15:35 +02:00
wandererfan
74556bced8 [TD]handle odd projection cs in broken view 2024-04-12 13:41:46 -04:00
wandererfan
ee39814f0c [TD]fix templated autofill for sheet 2024-04-07 14:32:02 -04:00
wandererfan
adb1c75a98 [TD]add guards for null shape 2024-04-06 15:25:23 -04:00
wandererfan
239d0423ec [TD]adjust breakline position 2024-04-06 15:25:23 -04:00
wandererfan
33a3c84d92 [TD]implement BrokenView 2024-04-06 15:25:23 -04:00
wandererfan
94c2d4fff1 [TD]fix fail on corrupt dimension reference 2024-04-03 08:48:39 -04:00
wandererfan
10b9229492 [TD]fix fail on undo of cosmetic delete 2024-03-27 13:23:45 -04:00
Chris Hennes
4596aa1ae6 Add missing files to PreCompiled.h 2024-03-26 07:36:24 +01:00
wandererfan
2712a98d47 [TD]fix ComplexSection with ViewDirection == Z 2024-03-25 21:22:04 -04:00
wandererfan
a171886f8c [TD]remove 2 unused methods 2024-03-25 21:22:04 -04:00
pavltom
aac48eb2f9 [TechDraw] Issue #5903 - Autofill template information 2024-03-23 08:56:47 -04:00
wandererfan
c7ecfcee43 [TD]fix no PAT hatch on first paint 2024-03-23 08:47:36 -04:00
wandererfan
6337b454e1 [TD]protect against bad pref value
- this is a temporary measure to prevent problems caused by a
  bad value for LineStandard parameter.  A previous devel version
  stored on invalid value.  This patch can be removed before
  moving to production.
- this condition can be corrected by editing LineStandard to 0, 1 or
  2.  a plethora of warning messages is issued until the parameter is
  corrected.
2024-03-23 08:47:36 -04:00
wmayer
2326d52a78 [TD]Refactor LTNP correction code for Dimensions
- additional geometry types

- add method to handle line like bsplines

- handle deleted ref body feature

- add test for empty savedGeometry

- add switch for matcher/LTNP on/off
2024-03-17 08:56:34 -04:00
pavltom
8a4f13fb16 [TechDraw] Unify Projection Group parent linking 2024-03-16 19:59:49 -04:00
wandererfan
fca3b80da8 [TD]fix over/under tolerance
- left justify tolerances
- use format spec for tolerance == zero
- prevent uncommanded tolerance format changes
- use 'w' format for HoleShaftFit
- allow zero tolerance values for HoleShaftFit
2024-03-14 21:45:16 -04:00
wandererfan
a63ed712f6 [TD]fix thread line alignment 2024-03-14 21:45:16 -04:00
wandererfan
91350aad36 [TD]expose getScale() to Python 2024-03-13 13:54:59 -04:00
pavltom
7212cccae5 [TechDraw] Reimplement Weld Symbol parent linking 2024-03-09 08:32:24 -05:00
WandererFan
2e8473b659 Merge pull request #12749 from pavltom/techdraw_leaderline_linking
[TechDraw] Reimplement Leader Line parent linking
2024-03-05 12:50:09 -05:00
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