Commit Graph

121 Commits

Author SHA1 Message Date
wandererfan
072b6f11b1 [TD]make geom hatch lines on property change 2020-03-20 07:28:33 -04:00
wandererfan
ee626abef4 [TD]synchronize defaults in code and prefs 2020-03-16 08:57:08 -04:00
wandererfan
dcc2790834 [TD]fix potential nullptr while restoring 2019-12-30 18:20:48 -05:00
wandererfan
57bfc2e380 [TD]fix Svg hatch on export 2019-12-17 08:29:49 -05:00
wandererfan
a04d0f2574 [TD]Py routines for CenterLines 2019-12-16 20:36:10 -05:00
wandererfan
1ad2d35bce [TD]Python routines and extension for line formating 2019-12-16 20:36:10 -05:00
wandererfan
08f23b84f7 [TD]Python routines and extension for Cosmetic Edges 2019-12-16 20:36:10 -05:00
wandererfan
d9e0c2e452 [TD]Python routines & extension for CosmeticVertex 2019-12-16 20:36:10 -05:00
wandererfan
e1e9c7e7bd [TD]add ability to filter obvious geometry errors
- also add checks for geometry errors
2019-12-10 06:51:09 -05:00
wandererfan
fff0029de5 [TD]correct face detection to avoid ghost faces 2019-11-27 07:31:45 -05:00
wandererfan
acc7686b83 [TD]Section Line position 2019-11-27 07:31:45 -05:00
wandererfan
92dfecea75 [TD]correct alignment of Section & Detail with Base 2019-11-27 07:31:45 -05:00
wandererfan
900a7c6bdd [TD]use UUID for CosmeticEdges instead of indices 2019-11-06 20:31:02 -05:00
wandererfan
5bb659e7e2 [TD]Transition to on demand page updates ph1 2019-10-23 14:19:52 -04:00
wandererfan
2b2210543c [TD]Fix slow GC of QGIPrimPath 2019-10-15 06:29:37 -04:00
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