viewdimensioning
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - ENG-Dimensioning
Introduced first in SolidGeometry 3.8, Creation date: 2017-04-05, Last change: 2025-09-14
changes the view parameter for an engineering view
Description
make sure that drawnow is used before calling viewdimensioning
This function works similar to view but allows to add a crossing point to see only a crossing plane;
Nevertheless such a crossing plane requires in fact a real slicing of the sold at the right possition
See Also: , PLdimensioning
, CVLdimclassifier
, SGdimensioning4
, SGTdimensioning
Example Illustration
Syntax
[CPL,CVL,X]=viewdimensioning([a,b,crossp,alpha])
Input Parameter
a: | | view angle a |
b: | | view angle b |
crossp: | | optional crossing point / plane |
alpha: | | alpha value |
Output Parameter
CPL: | | Contour Point list x y 0 |
CVL: | | Contour vertex list x y z |
X: | | Crossing Solid |
Examples
SGfigure(SGsample(17)); drawnow; CPL=viewdimensioning(0,0,[0 0 0]); PLdimensioning(CPL);
SGfigure(SGsample(17)); drawnow; CPL=viewdimensioning(-90,0,[0 0 0]); PLdimensioning(CPL);
close all; SGfigure(SGsample(17)); view(-30,30);
view(0,90)
viewdimensioning(0,-90,[0 0 15],0.1)
[a,b,c]=viewdimensioning(0,-90,[0 0 15],0.1);
SGplot(c); CVLplot(b,'b-',3);
Copyright 2017-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth
Last html export of this page out of FM database by TL: 2025-09-21