AnyRail Model Railroad Forum

General Category => Problems => Topic started by: Nick the Cabin Boy on September 22, 2022, 12:35:02 AM

Title: Co-ordinate change when grouping
Post by: Nick the Cabin Boy on September 22, 2022, 12:35:02 AM
I have designed some surfaces to represent the connector blocks that I use for my wiring. All my wiring is schematic, using 1mm lines of various colours. Being a bit OCD about these things, I want the cable to line up up precisely with the terminal on the block, using snap-to-grid at 1mm.

So, let's say I have drawn a box, with the top left corner at 100,100, put some numbers on it, and grouped it. The top left co-ordinate is now 99.75, 99.75! This means that I now have to position my blocks at X+.25, Y+.25 for the terminations to line up. But this means that I can't use snap-to-grid to place them (unless I change that to .25!).

Is this supposed to happen, or is it a bug?

Nick
Title: Re: Co-ordinate change when grouping
Post by: David on September 22, 2022, 10:46:50 AM
This has to do with the fact that you've probably set a line width for the box of 0.5 mm.

Once grouped, there is no longer a distinction between the box and its outline, that will extend 0.5 / 2 = 0.25mm to the left and the top (and also to the right and bottom).


Title: Re: Co-ordinate change when grouping
Post by: Nick the Cabin Boy on September 23, 2022, 11:47:30 PM
I did have the line set to 0.5mm.

So, does that mean that I need to have a line width of 0.0 mm to retain the position? Or, I suppose, multiples of 2mm to give a integer answer for the extension calculation?

I might be tempted to ungroup one of each, then copy/paste them as required. Apart from the numbers, they were a plain rectangle with added points to represent the terminations, and I placed the cable ends over the extra points. That's one problem with grouping/saving; you lose all the points!

Cheers,

Nick
Title: Re: Co-ordinate change when grouping
Post by: David on September 24, 2022, 10:56:01 PM
Yes, as soon as it's all grouped, it's just one piece (of art) with no further internal information.
If you set the line width to 0, or a multiple of 2 mm, you would indeed get the result you want.


Title: Re: Co-ordinate change when grouping
Post by: Nick the Cabin Boy on October 06, 2022, 10:23:33 PM
Thanks, David!

Sorry for the delay in replying, I've been away!

Cheers,

Nick