SGiPadFlip2stand

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Modeling function
Introduced first in SolidGeometry 5.0, Creation date: 2021-01-10, Last change: 2025-09-15

creates a stand to insert an Apple iPad into the opening of an Samsung Flip2 55 Stand

Description

Printing time for 10cm is about 3h, for 32cm its about 9h

See Also: SGMacBookPlate

Example Illustration

 missing image of SGiPadFlip2stand(L)

Syntax

SGiPadFlip2stand([L])

Input Parameter

L: Length up to 320 mm; default is 100mm

Examples


SGiPadFlip2stand(320)




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

Algorithm (Workflow)

This function, SGiPadFlip2stand, is designed to create a stand for inserting an Apple iPad into the opening of a Samsung Flip2 55 Stand. The function is part of the SolidGeometry library and was introduced in version 5.0.

Input Parameters

Algorithm Steps

  1. Retrieve the length parameter L using getfuncparams, with a default of 100 mm.
  2. Define constants: w (width) = 3 mm, H1 = 40 mm, H2 = 12 mm, and ol (offset length) = 0.1 mm.
  3. Create a base shape CPLA using PLsquare with dimensions [L, 61 + 2*ol].
  4. Subtract a circle with radius 8 mm from CPLA using CPLsubtract, aligning it at the bottom with an offset of -5 mm.
  5. Subtract another circle with radius 3 + slfit('c') from CPLA, aligning it at the top with an offset of -21 + 3 + slfit('c') - ol.
  6. Fill CPLA with a honeycomb pattern using CPLfillHoneycomb with parameters 5 and 3.5*5, then extrude it to create shape A with width w.
  7. Create a shape B using CPLradialEdges on a square with dimensions [L, H1 + H2 + w], with a radial edge of 2*w.
  8. Fill CPLB with a honeycomb pattern using CPLfillHoneycomb with parameters 3 and 3.5*3, then extrude it to create shape B with width w along the y-axis.
  9. Align B in front of A using SGtransrelSG, centering it and aligning the top with an offset of +H2.
  10. Create a copy C of B and position it behind A using SGtransrelSG, centering it and aligning the top with an offset of +H2.
  11. Concatenate shapes A, B, and C into a single shape SG using SGconcat.
  12. Plot the shapes using SGplotalpha with different colors for visualization.
  13. Export the final shape SG to an STL file using SGwriteSTL.
Algorithm explaination created using ChatGPT on 2025-08-19 07: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