by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Parametric Design
Introduced first in SolidGeometry 5.3, Creation date: 2023-04-30, Last change: 2025-09-15
See Also: SGbarcelonaspacer
SG=SGfurniturespacer([ddd,ope])
ddd: | [x y wall distance height]; default is [25 25 3 65 25] | |
ope: | if true; the parts are open in [x y]; default is [false false] |
SG: | Solid Geometry |
SGfurniturespacer([25 25 3 65 25]); % Rolf Benz Ego Sofa 2022 (Tusculum Living Room)
SGfurniturespacer([40 80 3 30],true); % Bestloft Krupp Table Slides
SGfurniturespacer([60 40 5 150 10],true) % Homery White Sofa (Tusculum Souterain)
SGfurniturespacer([45 43 3 120],true); % Rolf Benz 2002 (Klein-Tusculum)
The function SGfurniturespacer is designed to create a solid geometry object that acts as a spacer to protect furniture from touching a wall. It is part of the SolidGeometry library.
[25 25 3 65 25], representing [x y wall distance height].[x y] directions. The default is [false false].ddd and ope using the getfuncparams function, with default values if not provided.sl to 1 mm.x = ddd(1) + 2 * sly = ddd(2) + 2 * sld = ddd(3)l = ddd(4)h = ddd(5)str using sprintftext to define the base and height of the spacer.SG using SGofCPLcommand with the command string.ope vector:
ope(1) is true, cut the end of SG on the 'right' by d + 0.5 mm using SGcutend.ope(2) is true, cut the end of SG on the 'front' by d + 0.5 mm using SGcutend.nargout == 0), perform the following:
SGfigure and SGplotalpha.SGwriteSTL.