SGcheck4cura
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Problems Find/Check/Fix
Introduced first in SolidGeometry 5.1, Creation date: 2021-08-11, Last change: 2025-09-15
Analyzes and checks Solid orientation for printing an a FDM printer
Description
This function analyzes solids or STl files to reduce the rotation of objects in the program cura
1. Whether holes are oriented in the direction of the Z axis,
2. Whether blind holes are also oriented with the opening facing upwards
the function rotates the solids if necessary
in case of STL file, the filename is modified and a rotated copy is saved.
This function is used in the function "cura"
See Also: , CPLofSGboreholes
, FSselect
, FSfeature
Example Illustration
Syntax
[SG,fname]=SGcheck4cura([SG,turn])
Input Parameter
SG: | | file name or solid geoemtry |
turn: | | if true, the part is turned; default is true |
Output Parameter
SG: | | Solid Geometry |
fname: | | file name |
Examples
SGcheck4cura(SGrotate(SGcylinder(4,10,'',3),'y',pi/2))
SGcheck4cura(YKBasePlate) % 3rd case area, Does not work yet 2021-08-12
Copyright 2021-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