SGdimensioningSide

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - ENG-Dimensioning
Introduced first in SolidGeometry 4.9, Creation date: 2020-07-18, Last change: 2025-09-14

Creates a Front View Dimensioning Figure



See Also: SGTdimensioning , viewdimensioning , PLdimensioning , CVLdimclassifier , SGdimensioning4 , SGdimensioningTop , SGdimensioningFront

Example Illustration

 missing image of SGdimensioningSide(SG,pnt,acc)

Syntax

CPL=SGdimensioningSide(SG,[pnt,acc])

Input Parameter

SG: Solid geometry
pnt: crossing point
acc: accuracy; default is 0.1

Output Parameter

CPL: CPL of Side-view

Examples


SGsample(27); SG=ans;
SGdimensioningSide(SG);




Copyright 2020-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

Algorithm (Workflow)

The function SGdimensioningSide is designed to create a side-view dimensioning figure for a given solid geometry. It is part of the SolidGeometry library and was introduced in version 4.9. The function takes in several parameters and returns a CPL (Cross-Sectional Plane) of the side view.

Input Parameters

Output

Algorithm Steps

  1. Initialize angles ang1 and ang2 to 90 and 0 degrees, respectively. These angles are used for the side view orientation.
  2. Retrieve the pnt parameter using the getfuncparams function. If pnt is not provided, it defaults to the mean of the vertices of the solid geometry.
  3. Retrieve the acc parameter using the getfuncparams function. If acc is not provided, it defaults to 0.1.
  4. If pnt is a scalar, convert it to a 3D point by setting it as [0 0 pnt].
  5. If pnt is empty, set it to the mean of the vertices of the solid geometry.
  6. Convert the solid geometry SG to its standard form using the SGofSG function.
  7. Check the number of output arguments. If no output is expected, call SGdimensioning with the parameters SG, ang1, ang2, pnt, and acc. Assign the result to CPL.
  8. If an output is expected, directly assign the result of SGdimensioning to CPL.
Algorithm explaination created using ChatGPT on 2025-08-19 00:38. (Please note: No guarantee for the correctness of this explanation)

Last html export of this page out of FM database by TL: 2025-09-21