CPLfillHoneycomb

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CPL/Closed Polygon Lists
Introduced first in SolidGeometry 2.8, Creation date: 2015-12-29, Last change: 2025-09-14

fills a contour with honeycomb

Description

This function creates starting with [0 0] a honeycomb structure and fills nested closed contours

See Also: CPLfillPattern

Example Illustration

 missing image of CPLfillHoneycomb(PLs,w,d,ww,n)

Syntax

CPL=CPLfillHoneycomb([PLs,w,d,ww,n])

Input Parameter

PLs: [x y] or closed contour of the border
w: width of the wall; default is 0.5
d: distance between the walls
ww: width of the border wall; if ww<0 ; ww=distance to pattern
n: number of walls per cell; default is 6

Output Parameter

CPL: Closed contour that can be extruded by SGofCPLz

Examples

Try:
CPLfillHoneycomb;
CPLfillHoneycomb(CPLsample(12));
CPLfillHoneycomb(PLstar(40,12));
CPLfillHoneycomb([100,30]);




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