View Full Version : Question: Canvas Stroke
Is there a way to make sure that [CanvasStroke] always starts/strokes on the Subtool? I was thinking about centering the Subtool and then always starting the [CanvasStroke] from the center of the canvas but that wouldn't work for "all" models.
I am pretty new to scripting and just putting my toes in the water with a couple ideas.
marcus_civis
07-23-11, 02:26 PM
There's no certain way that I know of. Centering is no guarantee at all because the pivot can be a long way from the geometry. Framing the subtool using Transform>Fit (hotkey F) is better. Having done that you might be able to sample the canvas using [PixolPick] to measure zdepth - anything negative or around zero will be the model. Whether any of this works will really depend on what you are trying to do.
Powered by vBulletin® Version 4.1.11 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.