Modelling functions for 3D "foils" (geometric shapes formed by overlapping circles) such as trefoils, quatrefoils, cinquefoils, etc. Input 2D profiles must be centred at [0, 0, 0].
Methods
(static) cinquefoil(opts, geomProfile)
Generates a cinquefoil opening using a given 2d cross-section profile.
Parameters:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object |
Properties
|
||||||||||||
geomProfile |
geom2.Geom2 | 2D cross-section profile |
Returns:
...
(static) octofoil(opts, geomProfile)
Generates an octofoil opening using a given 2d cross-section profile.
Parameters:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object |
Properties
|
||||||||||||
geomProfile |
geom2.Geom2 | 2D cross-section profile |
Returns:
...
(static) quatrefoil(opts, geomProfile)
Generates a quatrefoil opening using a given 2d cross-section profile.
Parameters:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object |
Properties
|
||||||||||||
geomProfile |
geom2.Geom2 | 2D cross-section profile |
Returns:
...
(static) sexfoil(opts, geomProfile)
Generates a sexfoil opening using a given 2d cross-section profile.
Parameters:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object |
Properties
|
||||||||||||
geomProfile |
geom2.Geom2 | 2D cross-section profile |
Returns:
...
(static) trefoil(opts, geomProfile)
Generates a trefoil opening using a given 2d cross-section profile.
Parameters:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object |
Properties
|
||||||||||||
geomProfile |
geom2.Geom2 | 2D cross-section profile |
Returns:
...