SGdimensioningFront

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 Side View Dimensioning Figure



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

Example Illustration

 missing image of SGdimensioningFront(SG,pnt,acc)

Syntax

CPL=SGdimensioningFront(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)

This function, SGdimensioningFront, is designed to create a side view dimensioning figure from a given solid geometry (SG). It is part of the SG-Library and was introduced in SolidGeometry version 4.9.

Input Parameters

Output

Algorithm Steps

  1. Initialize ang1 and ang2 to 0. These angles are used for dimensioning but are not modified in this function.
  2. Retrieve the pnt parameter using getfuncparams. If pnt is a scalar, convert it to a 3D point by setting its x and y components to 0.
  3. If pnt is not provided, calculate it as the mean of the vertices in the solid geometry (SG.VL).
  4. Convert the input solid geometry to a standard format using SGofSG.
  5. Check the number of output arguments (nargout).
  6. If no output is expected, call SGdimensioning with the parameters SG, ang1, ang2, pnt, and acc. Assign the result to CPL.
  7. If an output is expected, directly assign the result of SGdimensioning to CPL.
Algorithm explaination created using ChatGPT on 2025-08-19 00:35. (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