mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-30 00:50:01 +02:00
misc doc fixes and organization
beziers reorg arc bug fix for endpoint=false and N=undef
This commit is contained in:
@@ -1274,25 +1274,6 @@ module attachable(
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Function: named_anchor()
|
||||
// Usage:
|
||||
// a = named_anchor(name, pos, [orient], [spin]);
|
||||
// Topics: Attachments
|
||||
// See Also: reorient(), attachable()
|
||||
// Description:
|
||||
// Creates an anchor data structure. For a more step-by-step explanation of attachments,
|
||||
// see the [[Attachments Tutorial|Tutorial-Attachments]].
|
||||
// Arguments:
|
||||
// name = The string name of the anchor. Lowercase. Words separated by single dashes. No spaces.
|
||||
// pos = The [X,Y,Z] position of the anchor.
|
||||
// orient = A vector pointing in the direction parts should project from the anchor position.
|
||||
// spin = If needed, the angle to rotate the part around the direction vector.
|
||||
function named_anchor(name, pos=[0,0,0], orient=UP, spin=0) = [name, pos, orient, spin];
|
||||
|
||||
|
||||
// Function: reorient()
|
||||
//
|
||||
// Usage: Square/Trapezoid Geometry
|
||||
@@ -1418,6 +1399,24 @@ function reorient(
|
||||
) _attach_transform(anchor,spin,orient,geom,p);
|
||||
|
||||
|
||||
// Function: named_anchor()
|
||||
// Usage:
|
||||
// a = named_anchor(name, pos, [orient], [spin]);
|
||||
// Topics: Attachments
|
||||
// See Also: reorient(), attachable()
|
||||
// Description:
|
||||
// Creates an anchor data structure. For a more step-by-step explanation of attachments,
|
||||
// see the [[Attachments Tutorial|Tutorial-Attachments]].
|
||||
// Arguments:
|
||||
// name = The string name of the anchor. Lowercase. Words separated by single dashes. No spaces.
|
||||
// pos = The [X,Y,Z] position of the anchor.
|
||||
// orient = A vector pointing in the direction parts should project from the anchor position.
|
||||
// spin = If needed, the angle to rotate the part around the direction vector.
|
||||
function named_anchor(name, pos=[0,0,0], orient=UP, spin=0) = [name, pos, orient, spin];
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
Reference in New Issue
Block a user