WandererFan
eafba8cbfe
Fix Exception when Source Shape IsNull
2018-01-22 19:10:28 -05:00
TeroK
61b202992c
TechDraw: Add option to use polygonal HLR algorithm
...
Now on property panel there is option 'Coarse View' which allows to set
selected drawing view's Hidden Line Removal to utilize polygonal algorithm.
This should be faster on same cases (complex models).
When this option is set for a view there is known limitation with dimensions not
working on this experimental mode. At least currently this is best utilized on
view with no dimensions.
Also the vertices' 'black dots' are not drawn on this mode view to avoid
cluttering. Face hilite is avoided, to gain speed. All curves are represented
by short linesegments in this mode.
Previously TechDraw always used OCC's exact HLR algorithm to generate views,
which produces good quality and continous shape lines but is sometimes
slower to generate than with polygonal approach.
Additionally now there is bool 'CoarseView' Parameter Editor setting, if anyone
wants to set this as their default.
2018-01-22 19:31:30 +01:00
WandererFan
4f2fe1d1a5
Allow GroupExtension as Source for Views
...
- DrawViewPart had special case logic for App::Part.
It now handles DocumentObjectGroup and any other
GroupExtensions as Source.
2018-01-20 14:07:31 +01:00
WandererFan
a858c3b9be
Fix crash when deleting View with Dimensions
...
- if a Dimension has multiple references to a
DrawViewPart (ex vertex-vertex) the Dimension
will appear twice in the DVP's InList. This
commit ensures that the Dimension is only
deleted once when deleting the DVP.
2018-01-12 10:30:42 -02:00
WandererFan
60e43253f7
Fix Section Line Wrong Position
...
- Section cut line Y coord needs to be mirrored to
be position correctly on Page.
2018-01-11 11:21:25 -02:00
WandererFan
1e7aa621f1
Allow View Position to be Locked
...
- prevents accidently moving View A from desired position
while grabbing/dragging View B.
2018-01-11 11:21:25 -02:00
WandererFan
c94bb4d2f8
Fix crash in DrawViewDraft/DrawViewArch
...
- when restoring DVD/DVA from old files, convert Source from
PropertyLinkGlobal to PropertyLink with Scope = Global. Note
subtle difference from Restore method in DrawView - PropertyLink
vs PropertyLinkList.
2018-01-07 18:37:34 -02:00
triplus
e8a76cd2e8
TechDraw LabelFont defaults
2017-12-31 15:09:13 +01:00
WandererFan
d84ee2b131
Fix LineGroup install & default issues
2017-12-31 14:54:05 +01:00
WandererFan
71253bad81
Fix crash when Source.Shape is Null
2017-12-31 14:54:05 +01:00
WandererFan
815d8bed0a
Fix crash during multi-object delete
2017-12-31 14:54:05 +01:00
WandererFan
0549caf2cb
Support old Source property (PropertyLink)
...
- Source is now PropertyLinkList
2017-12-31 14:54:05 +01:00
WandererFan
d9b71fb754
LinkScope clean up
2017-12-31 14:54:05 +01:00
WandererFan
309178f2ff
Allow multiple sources for all View types
2017-12-31 14:54:05 +01:00
WandererFan
8ecc370a40
Coverity 169507
2017-12-31 14:54:05 +01:00
Unknown
e3eca59173
Misc. typo fixes
...
Various workbenches
2017-12-23 14:30:30 +01:00
WandererFan
622d91f743
Implement option for perspective drawing views
2017-12-03 19:17:53 -02:00
WandererFan
5b19abb0dd
Fix "still touched after recompute" and display
2017-12-03 19:17:53 -02:00
WandererFan
4756cfab4e
Implement LineGroups for default weights
...
- Add ability to control default weight for visible,
hidden and decorative lines from a configuration
file. Diffent sets of defaults can be specified as
a preference.
2017-12-02 13:51:25 +01:00
WandererFan
8ee5a0cfd3
Fix Dimension value format with Qt5
...
- Dimension values were displayed as zero for locales
with "," decimal point in Qt5.
2017-11-12 19:08:33 -05:00
WandererFan
f637da702d
Make decimal point optional in FormatSpec
2017-11-12 19:08:33 -05:00
WandererFan
3b8c240f89
Rotate DrawViewPart around part centroid
2017-11-12 19:08:32 -05:00
WandererFan
54b7d2c5f0
Handle variable UoM schemes in Dimensions
2017-10-19 13:24:08 +02:00
wmayer
525770f838
fix coverity issue
2017-10-15 21:08:04 +02:00
wmayer
a42199882b
fix -Winconsistent-missing-override
2017-10-15 20:26:10 +02:00
wmayer
96d01c9200
fix several kind of warnings:
...
+ fix -Wparentheses/-Wlogical-op-parentheses
+ fix -Wunused-variable
+ disable -Wundefined-var-template due to many false-positives (clang)
+ fix -Winconsistent-missing-override
+ fix -Wmaybe-uninitialized
2017-10-15 19:12:07 +02:00
luzpaz
f3bf8fe919
Misc. typos
...
+ some are doxy others are just comment code.
+ some minor whitespace and grammatical tweaks.
+ app/SCL/* typos have also been submitted upstream (https://github.com/stepcode/stepcode/pull/366 ). So it's ok to merge them in to master.
2017-10-04 17:59:11 +02:00
WandererFan
5fb3a4d58b
Fix XXX is still touched after recompute in DPG
2017-10-02 13:48:45 -03:00
WandererFan
913e6a7fd8
Allow Views of App::Parts
2017-10-02 13:48:45 -03:00
WandererFan
6d032f1bcf
Change links to Global scope
2017-10-02 13:48:45 -03:00
WandererFan
310fdab492
add missing logic for "true" dimensions
2017-10-02 13:48:45 -03:00
WandererFan
a580f60e1e
change isDeleting to isUnsetting
...
- DocumentObject::isDeleting was changed to isRemoving.
This commit just prevents future confusion.
2017-10-02 13:48:45 -03:00
WandererFan
ce7f6ed351
Allow Section based on ViewMulti
2017-10-02 13:48:45 -03:00
wmayer
270d1ab175
fix determination of number of columns
2017-09-24 21:33:34 +02:00
wmayer
0816fd1bba
0003010: Spreadsheet -> Drawing, maximum rows
2017-09-24 21:08:30 +02:00
wmayer
7c366eae50
fix override warnings
2017-09-15 08:26:48 +02:00
wmayer
506ce6b5f5
fix override warnings
2017-09-15 01:49:12 +02:00
wmayer
712966ff50
rename method from remObject to removeObject to be more readable
2017-09-13 18:57:38 +02:00
WandererFan
4125bfe9c3
Handle Qt5 change from QString::sprintf to asprintf
2017-09-10 15:26:16 +02:00
WandererFan
ac762c32ea
Ensure DrawView picks up DrawPage Scale at creation
2017-09-10 15:25:58 +02:00
WandererFan
c0cddda862
Use system Decimals, alternate or custom for Dimensions
...
- Also make Dimension arrowhead size adjustable
2017-09-10 15:25:37 +02:00
WandererFan
fc6f8a91ce
Fix page alignment when change to different Template
2017-09-10 15:25:22 +02:00
WandererFan
8e2e70c76e
Prevent crash when Source(s) have no Shape
2017-09-10 15:25:05 +02:00
WandererFan
e94dce3906
Add requestPaint formerly in DrawView::execute
2017-09-10 15:24:50 +02:00
WandererFan
bba800af1d
Fix handling of Scale change in DrawViewSymbol classes
2017-09-10 15:24:30 +02:00
WandererFan
481008629b
Add dumpSymbol method to DrawViewSymbol based classes
...
- this is mainly for debugging output from Arch/Draft
2017-09-10 15:24:14 +02:00
WandererFan
15be0f285e
Include osifont in TechDraw
...
- also use PropertyFont instead of PropertyString
2017-09-10 15:23:46 +02:00
WandererFan
caace9d617
Add RedrawPage command
2017-09-10 15:23:23 +02:00
WandererFan
eb59620e4d
Fix #2967 Allow fcstd to open without drawing TechDraw::DrawPage
2017-09-10 15:23:04 +02:00
WandererFan
e35e2f2573
Eliminate superfluous DPG executes
2017-09-10 15:22:49 +02:00