PDA

View Full Version : FReq: "Center By Background" / Lscript-Python doable



jeric_synergy
10-26-2015, 08:49 PM
Feature Request: "Center By Background"

This script would center the selected foreground entities (polys, edges, points, AKA "peps") at the center of the selected BACKGROUND object/layer. If the background layer has Hidden entities, the centering occurs at the center of the visible entities.

(The ideal script would allow multiple Foregrounds & Backgrounds, but that would just be showing off.)

lertola2
10-27-2015, 06:03 AM
The aligner tool does this.

jeric_synergy
10-27-2015, 09:27 AM
The aligner tool does this.
The new one? ( :: playplayplay :: ) I believe you, but it's not jumping out at me. I'll hit the dox.

lertola2
10-27-2015, 09:51 AM
No it has been around forever. It does have a lot of options and some of those options seem confusing and not very useful. But the align foreground to background, center and scale options are very useful.

130581

jeric_synergy
10-27-2015, 10:23 AM
Ah, the Olde One. I'll have a go later. THANKS.

(Looks good. I had disremembered.)
++++++++

BOOM! Works a treat! Thanks! :thumbsup: