Hi,
I need to fit my objects in fixed-size bounding boxes, so I set their offset and width accordingly. There's an option for preserving stroke width while I rescale them, but I need this behavior the other way around. That is, I'd like to set their fixed sized first, then play around with stroke width without changing their (visible, w/ stroke applied) size. Readjusting offset, width, and height works, but I'm just too lazy for that. Is there a way around this?
Can I preserve object size while changing stroke width?
Re: Can I preserve object size while changing stroke width?
I don't think this will work for you because it sounds as if you want the object to change size every time you adjust stroke width!! but there is an option in preferences to use 'visual' (with stroke) or 'geometric' (without stroke) bounding box (size). So basically depending on which option you pick the size displayed takes or doesn't take the stroke into account. But it won't automatically resize to keep it the same size.
Your mind is what you think it is.
Re: Can I preserve object size while changing stroke width?
The only workaround I can think of is to use guides and use bounding boxes for your object.
So after you've scaled the stroke, you need to rescape the object - snapping to guides.
So after you've scaled the stroke, you need to rescape the object - snapping to guides.

Re: Can I preserve object size while changing stroke width?
A bit different but might suit your needs: make two separate paths, one for the "stroke" and another one for the "fill" atop of it.
By fixing the lower object's size and giving it a desired stroke's colour -for a fill colour only, no stroke-,
you can add dynamic offsetting to the other path, and try out different "seemingly" strokes for "seemingly" identical shaped paths.
The only problem with it is that the stroke's heartline -path without stroke- is at the middle of the stroke,
so in this case the "seemingly identical" is technically not identical at all from that kind of perspective.
Just an idea.
By fixing the lower object's size and giving it a desired stroke's colour -for a fill colour only, no stroke-,
you can add dynamic offsetting to the other path, and try out different "seemingly" strokes for "seemingly" identical shaped paths.
The only problem with it is that the stroke's heartline -path without stroke- is at the middle of the stroke,
so in this case the "seemingly identical" is technically not identical at all from that kind of perspective.
Just an idea.
Re: Can I preserve object size while changing stroke width?
I should mention that the redoubtable Taumjong Bah (I believe ) is working on a stroke position feature that allows you to place the stroke inside, outside, or anywhere on the path so that would take care of this issue one it's in!
Your mind is what you think it is.
Re: Can I preserve object size while changing stroke width?
Interesting.
But.
Where the path bends, at the inner side of the curve, when the offsetting is larger than the tangent radius of the curve, it would produce unwanted results.
Which brings out that there would be a great need in at least to have an indication of the curvature along the path, or a way to limit the amount of offset according to the path's parametres.
But.
Where the path bends, at the inner side of the curve, when the offsetting is larger than the tangent radius of the curve, it would produce unwanted results.
Which brings out that there would be a great need in at least to have an indication of the curvature along the path, or a way to limit the amount of offset according to the path's parametres.
Re: Can I preserve object size while changing stroke width?
Another workaround is to "clip" the object with the same shape. Then you need to double the stroke of the clipped object as the outer half will always be hidden by the clip shape. But the outside always remains the same size.