Sebastian Bachmann
c41363c117
TechDraw: new center/section draw style
...
using custom QT pen styles, the center and section lines look much
better.
With some math we are also able to control the middle position, thus
the centerlines will always look good, regardless of the size of an
object.
Also getting the section label size from the settings, so the font
size is controllable and not hardcoded.
Bonus: adding blank templates for the common paper sizes (as the
Drawing WB has them)
2018-02-24 16:58:17 +01:00
WandererFan
99fcba4992
VPart/VSection Graphic Properties to Gui side
2018-02-14 15:42:26 -05:00
WandererFan
78f4d91b95
HatchColor & HatchScale prop to Gui side
2018-02-14 15:42:25 -05:00
TeroK
434bf4d3f3
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
87271d0cbb
Allow user to modify Vertex size by parameter
2017-12-11 13:17:05 +01:00
WandererFan
15b509db25
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
luzpaz
706141b967
Make uniform the use of B-spline visible to users
...
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=8&t=25411
This commit does not include fixes to source comments unless they were 'doxygenated'.
No .xml files were altered either.
2017-11-17 19:30:37 -05:00
WandererFan
44fd200166
Rotate DrawViewPart around part centroid
2017-11-12 19:08:32 -05:00
WandererFan
3d7a4b9db6
Fix 3215 - ViewDetail does not handle Scale correctly
2017-10-19 13:24:19 +02:00
WandererFan
d27b8387e8
Eliminate superfluous DPG executes
2017-09-10 15:22:49 +02:00
WandererFan
e8f2c68b5c
Allow DrawPage updates to be suspended
2017-09-10 15:21:54 +02:00
WandererFan
f60464e545
implement detail view highlight in base view
2017-05-10 17:43:48 +02:00
WandererFan
75397d9e43
clean up GeomHatch feature, gui & dialog
...
Refactor code, allow dialog to edit feature, update graphics on change
prep for dash line start positioning.
2017-05-10 17:43:48 +02:00
WandererFan
d5bb03b75f
hidden pref setting for face debugging
2017-02-07 10:51:42 -02:00
WandererFan
84b858a142
fix naming conflicts
2017-01-29 19:40:34 -05:00
WandererFan
299ac94c9f
Geometric hatch for Section face
2017-01-29 19:40:34 -05:00
WandererFan
f51b5818cc
Initial working version of geometric crosshatch/PAT files
2017-01-29 19:40:34 -05:00
WandererFan
a6129b9198
Remove SectionLine on delete or cancel
2017-01-29 19:40:32 -05:00
WandererFan
78c07ced57
Remove section line from DVP on delete of DVS
2017-01-29 19:40:32 -05:00
WandererFan
60ba62c09f
Fix non-rotation of QGIDecorations with QGIViewPart
2017-01-29 19:40:32 -05:00
WandererFan
5007193541
Initial Bitmap fills for Faces
...
- also texture from svg (not used yet)
2017-01-29 19:40:32 -05:00
WandererFan
fe617e1433
Make SVG hatches scalable
2017-01-29 19:40:32 -05:00
WandererFan
f68cbc83e3
Basic working HiResolution TD
2017-01-29 19:40:32 -05:00
wmayer
76c529d47d
fix CIDs 154889, 151939, 151763, 154892, 154891, 151802, 151936, 151803, 153359
2016-12-18 14:12:13 +01:00
wmayer
0ada809ec5
fix CIDs 151701, 151747
2016-12-18 13:46:26 +01:00
wmayer
df8f7cfb7e
fix CIDs 154873, 154874, 153875, 153876, 154883, 154884, 154886
2016-12-18 13:27:34 +01:00
WandererFan
b845bc7e41
Fix DrawViewDetail behaviour near object edge
2016-12-04 15:27:26 +01:00
WandererFan
edab34c6ac
Remove old decorative items from scene before redraw
2016-12-04 15:26:01 +01:00
WandererFan
bcb1534391
Add 2nd page of preferences
2016-11-24 14:44:37 -02:00
WandererFan
906bffba8f
Initial DrawingViewDetail
2016-11-24 14:44:37 -02:00
wmayer
e54e9515fc
rename 2d tool classes to be consistent with 3d classes
2016-11-21 14:29:51 +01:00
WandererFan
cf22852ee3
Fix handling of BezierCurves
...
Replace custom bbox code with OCC/Base code
Refactor duplicate code Geometry/DrawProjectSplit
2016-11-20 10:06:00 +01:00
WandererFan
dc66106683
Create outline of 3D shape
2016-11-07 17:20:19 -05:00
WandererFan
a662cad5be
Section Rebuild subproject
...
new dialog
new Section/SectionLine logic
remove XAxisDirection property
2016-10-31 11:06:15 -02:00
WandererFan
6b4352f79f
Rename properties to fit PropertyEditor window
2016-10-06 11:00:35 -03:00
WandererFan
c8f4de5fbc
Fix #2707 hidden seam/smooth lines
2016-10-06 11:00:35 -03:00
WandererFan
ae5798434a
Add options for face detection and cut face edge display
2016-10-06 11:00:35 -03:00
WandererFan
ecbd8c8dc0
Control Face edges from Part/Section
2016-09-28 20:24:46 -04:00
wmayer
c457fc468c
fix -Wextra & -Wdeprecated in TechDraw
2016-09-22 19:32:16 +02:00
WandererFan
4d7f00860e
reduce use of "execute" on cosmetic changes.
2016-09-11 13:12:24 -04:00
WandererFan
884a32fabf
Coverty changes:
...
** CID 152490: Control flow issues (DEADCODE)
** CID 152492: Null pointer dereferences (FORWARD_NULL)
** CID 152493: Null pointer dereferences (FORWARD_NULL)
** CID 152494: Null pointer dereferences (FORWARD_NULL)
** CID 152495: Null pointer dereferences (FORWARD_NULL)
** CID 152496: Null pointer dereferences (FORWARD_NULL)
** CID 152497: Null pointer dereferences (FORWARD_NULL)
** CID 152502: Null pointer dereferences (REVERSE_INULL)
** CID 152507: Uninitialized members (UNINIT_CTOR)
** CID 152508: Uninitialized members (UNINIT_CTOR)
** CID 152508: Uninitialized members (UNINIT_CTOR)
** CID 152510: Uninitialized members (UNINIT_CTOR)
2016-09-11 13:12:24 -04:00
WandererFan
34644e9d71
Fix Section arrows,xDir,label
2016-09-01 12:14:42 -04:00
WandererFan
3901d2fe82
Add View centerlines
2016-09-01 12:14:42 -04:00
WandererFan
4cb4e5f04a
Create ViewSection from ViewPart
...
Property name changes
Touch section when View SymbolSection changes
2016-08-26 11:39:03 -03:00
Ian Rees
8cc3ee64e8
TechDraw: Fix Coverity dynamic_cast warnings
2016-08-21 11:08:29 +02:00
WandererFan
fa57b7a5de
Fix dimension highlighting problems
...
Derived all lines from PrimPath
2016-08-16 14:29:15 +02:00
WandererFan
af7d257b91
Add centermarks for circles in Views
2016-08-16 14:29:15 +02:00
WandererFan
aa8fea7ba4
Fix GH Issue 49 Clip artifact
2016-07-23 15:03:39 +02:00
WandererFan
222492c912
remove unneeded boundingRect methods
2016-07-23 15:03:39 +02:00
WandererFan
985ac47f67
Prevent buildup of old QGItems
2016-07-17 10:43:55 -04:00