[TA...] Posted November 2, 2021 Share Posted November 2, 2021 Hi. I just wondering how can I draw straight line (line composed right angle) when drawing surface component? or Is there any method that can draw rectangle at once when drawing surface component? Link to comment https://qualityforum.zeiss.com/topic/515-how-can-i-draw-straight-line-when-drawing-surface-component/ Share on other sites More sharing options...
[Ma...] Posted November 3, 2021 Share Posted November 3, 2021 Hi, I don't know of an option to directly select a rectangle, but you could do the following: Go to the script editor, create a new script, start recording Create a surface component with a roughly rectangular selection, clicking a polygon with four corner points Stop script recording. The creation of the surface component is recorded with its parameters, including the "selection_area" parameter Modify the pixel coordinates for the polygon of that parameter to from a perfect rectangle Delete the original surface component and execute this script Note that this will only lead to a rectangle in 2D space on this image, so if you are using a 3D system with multiple cameras, and this primary camera does not look at the object in a 90° angle, the resulting 3D data will probably not be rectangular. Hope that helps ^^ Link to comment https://qualityforum.zeiss.com/topic/515-how-can-i-draw-straight-line-when-drawing-surface-component/#findComment-1553 Share on other sites More sharing options...
[TA...] Posted November 5, 2021 Author Share Posted November 5, 2021 Thanks! Link to comment https://qualityforum.zeiss.com/topic/515-how-can-i-draw-straight-line-when-drawing-surface-component/#findComment-1567 Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in