Commit Graph

106 Commits

Author SHA1 Message Date
wandererfan
dd459f0d88 [TD]Allow transparent Faces as default 2019-09-08 07:13:23 -04:00
wandererfan
6a1b19739d [TD]Remove old hatch on add new hatch 2019-09-07 07:32:24 -04:00
wandererfan
0d01744098 [TD]Clean up Welding Symbol creation 2019-08-22 17:11:55 -04:00
wandererfan
21efae348e [TD]Fix #4017 Crash on bad hatch scale 2019-07-19 11:01:20 -04:00
wandererfan
3104854826 [TD]Add Show/Hide invisible lines tool 2019-07-18 08:53:38 -04:00
wandererfan
0d56397427 [TD]fix master merge conflict 2019-07-15 12:36:48 -04:00
wandererfan
3d2edd0f7e [TD]Add line appearance editor 2019-07-15 12:36:48 -04:00
wandererfan
11d8aaed61 [TD]Add CenterLine edit function 2019-07-15 12:36:48 -04:00
wandererfan
5970e91ef2 [TD]Py Cosmetic Vertex, Line, Circle Arc 2019-07-15 12:36:48 -04:00
wandererfan
4a466c4667 [TD] Improve CenterMark handling on print 2019-07-12 06:45:34 -04:00
wandererfan
3e0452417b Cosmetic CL for Section and Detail 2019-06-06 19:58:15 -04:00
wandererfan
656e1654ff Initial working version Face Centerline 2019-06-06 19:58:15 -04:00
wandererfan
5cea2f83bc Fix "trails" on dim lines when zoomed in 2019-06-04 15:41:41 -04:00
wandererfan
8e6dd25ad7 Fix overlap of line ends and arrowheads 2019-06-04 06:59:17 -04:00
wandererfan
94b167f3a2 Add Midpoint and Quadrant Cosmetic Vertex 2019-05-24 19:38:02 -04:00
wandererfan
59e47de506 Initial version addCosmeticVertex 2019-05-24 19:38:02 -04:00
wandererfan
d42c79c146 Fix #3695 Frame toggle sync 2019-05-13 12:29:15 -04:00
wandererfan
66b091e625 Fix handling of Visibility property on Restore 2019-04-29 14:19:41 -04:00
wandererfan
9d296194e8 Fix Detail Highlight when Detail has no Geometry
- Detail circles were no drawn if detail area did not
  produce any geometry (detail anchor point + radius not
  over original part.
2019-04-18 18:47:03 -04:00
wandererfan
b46dfc4d2b Fix Center/Section Line Length
- when View is rotated, Center/Section line lengths
  are calculated as if View is not rotated.
2019-04-18 18:47:03 -04:00
wandererfan
198c2258d4 Remove superfluous updates
- under certain conditions, unnecessary screen paints
  were being performed.
2019-03-07 10:58:28 +01:00
wandererfan
77b22f4f30 Fix bad highlight position in Detail from ProjGroup 2019-02-22 11:55:21 +01:00
wandererfan
cd1959a094 Fix Detail highlight position for rotated DPGI
- highlight position calculation was not taking into account
  rotation of DPGI due to RotationVector property.
2018-12-19 10:30:30 -02:00
wandererfan
603c294d47 Fix QGIVP boundingRect 2018-08-11 11:24:12 +02:00
wandererfan
4046b001b5 Fix default Vertex color 2018-07-31 16:08:48 -03:00
wandererfan
2cc80b6131 Add preference settings
- autodistribute, vertex size, vertex color
2018-07-23 12:47:17 -03:00
wandererfan
eefaaa58db Eliminate some redundant executes
- excessive calls to DrawView::execute were
  slowing data entry in PropertyEditor.
2018-05-11 10:32:24 -03:00
wandererfan
f13689753c Fix #3367: view/data pane is unselected
- error in coordination of Tree & QGraphicsScene
  selection logic caused Feature to become
  unselected during update.
2018-04-23 07:55:38 +02:00
wandererfan
2b35fd173a Correct delayed scaling of center/section lines 2018-03-11 21:33:59 +01:00
Sebastian Bachmann
efa8ceb303 TechDraw: small corrections for line sizes
changeing the line weight for dimensions to a thin line
and get the font size for detail view labels from the configuration
rather than using a hardcoded value.
Also removing a duplicate method, as it is already implemend in the
parent class.
2018-03-02 10:48:55 -03:00
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