gore

The gore macro facilitates the drafting of gores to create spherical or other roundish objects. They are are typically used in hats.

NOTE
Not a core-plugins macro

The gore macro is not provided by the core plugins, so you need to load the gore plugin explicitly if you want to use it.

Signature

Javascript
macro('gore', { 
  Point from,
  Number radius,
  Number gores,
  Number extraLength,
  Boolean hidden=true,
  String class='',
  String prefix='',
)

Example

Configuration

PropertyDefaultTypeDescription
fromPointThe point to start drafting the gore from
radiusnumberThe radius of the sphere the gores should cover
goresnumberThe number of gores into which the sphere is divided
extraLengthnumberThe length of the straight section after a complete semisphere
hiddentruebooleanWhether or not to hide the generated path
classbooleanAny classes to add to the generated path
prefixstringA prefix to apply to the names of the generated path and points