Created attachment 97820 [details]
Example SRM_16-12.odg as a typical use case
The current Duplication function is already very useful, but it is overly complex for casual use. Most importantly also a pivot point for polar duplication is missing, which would make the function much more useful for rotational symmetric drawings, such as clock scales, tooth wheels or electric motors.
See the attached motor.odg as a typical example for such a use case.
As an another example for the typical use of the function see the grid of the drawing, which was made with the duplication function as is.
Currently objects can only be rotated around a center point, which requires rotational symmetric parts to be drawn on both sides of the center and the ends then may not hit well. Such standard use case can then currently only be solved with quite complicated drawing technics.
It also does not take fractional angles.
Angles are currently rounded to integer numbers. This prevents the drawing of precise polar segments, where often fractions of a degree are necessary for symmetry. In example a circular division into 48 segments requires 7.5deg. increments. The precision should be changed to at least 2 fractional digits; with 2 digits most common divisions (half and quarter degree) are possible.
Separate Panes for common operations, simplification:
For simple and efficient use the Duplication Function should be split up onto several panes for the most typical common use cases with the following properties only:
- Number of copies
- Number of copies
- Number of copies
- Pivot Point (current Placement may be used instead)
- Angle (fractional angles should be allowed)
Alternative better angle settings:
Specify only the number of copies and a total integer angle,
then divide this total angle by the number of copies.
(i.e. 360 deg. for full circles, then rounding errors
for broken angle numbers can be eliminated or greatly reduced,
this also eliminates the need for calculation of the
individual angle fraction)
Complex or elliptic Duplication:
- same as is, just on an extra pane, to not break anything.
Further possible enhancements:
All of the above and:
- Tick Box for 'Live Mode'
- Probably another Tick box for mirror mode
(only for Horizontal and Vertical Duplication,
then these would also need an x- or y-mirror axis coordinate)
- Very Fancy: Have a Numbering Function for making scales etc.
(would need a Starting Value and an Increment,
probably a small csv-list for characters etc.)
The addition of the suggested Live Mode would allow to draw everything duplicated, as long as the Duplication Live Mode is selected. This would greatly ease the drawing of simple symmetric drawings such as grids, clock scales or the attached motor example.
The above Duplication function may become a 'killer' feature for LibO-Draw and it should be implementable as suggested with very little efford; using the current function as base.
SRM_16-12.odg as a typical use case
(Motor only as png, the Grid was done with 'Duplicate')
Operating System: All
Version: 18.104.22.168 release
Thanks for the issue and the example file.
It's more then _one_ issue however. May I suggest to split into two: one for the off-center pivot point and one for splitting simple& complex functionality?
(In reply to comment #1)
> It's more then _one_ issue however. May I suggest to split into two: one for
> the off-center pivot point and one for splitting simple& complex
Thanks for your quick response. I just made 2 separate reports about the pivot and the integer issue:
Bug 77815 - Draw - Duplicate Function - Off-center pivot point is missing
Bug 77816 - Draw - Duplicate Function - Does not take fractional angles
I did not find how to edit my original report above. I think it can be left as is, the separate issues can now be easily found.
I do not know how to edit the above report. Is that possible, and how is it done?
I mark this one as duplicate of one of the separate functions.
(wrt editing: I guess that has to do with user rights in this tool ;) )
*** This bug has been marked as a duplicate of bug 77816 ***
Sorry, this in not a duplicate (I expected two issues, but we ended up with three..)
Feel free to edit my post as appropriate :).
(In reply to comment #5)
> Feel free to edit my post as appropriate :).
AFAIK it's not possible to edit comments that have been posted; only the fields at top.
has to be NEW
Nice suggestion, although "overly complex" usually not means to add functionality :-). In 100028 I suggested a simple duplicate which just takes what the prior copy/paste and modify operations did. But of course we would need a nice dialog - and your suggestions are very helpful.