mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-11 19:54:01 +02:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -3168,7 +3168,7 @@ module _show_ghost()
|
|||||||
// that use the parent geometry such as {{attach()}}, {{align()}}, {{position()}} or {{parent()}}
|
// that use the parent geometry such as {{attach()}}, {{align()}}, {{position()}} or {{parent()}}
|
||||||
// will reference the geometry for the specified part. This allows you to access the inner wall
|
// will reference the geometry for the specified part. This allows you to access the inner wall
|
||||||
// of tubes, for example.
|
// of tubes, for example.
|
||||||
// Argument:
|
// Argument:
|
||||||
// name = name of part to use for subsequent attachments.
|
// name = name of part to use for subsequent attachments.
|
||||||
// Example: This example shows attaching the light blue cube normally, on the outside of the tube, and the pink cube using the "inside" attachment part.
|
// Example: This example shows attaching the light blue cube normally, on the outside of the tube, and the pink cube using the "inside" attachment part.
|
||||||
// tube(ir1=10,ir2=20,h=20, wall=3){
|
// tube(ir1=10,ir2=20,h=20, wall=3){
|
||||||
@@ -3595,6 +3595,7 @@ function attach_geom(
|
|||||||
// Arguments:
|
// Arguments:
|
||||||
// name = name of part
|
// name = name of part
|
||||||
// geom = geometry of part produced by {{attach_geom()}}
|
// geom = geometry of part produced by {{attach_geom()}}
|
||||||
|
// ---
|
||||||
// inside = if true, reverse the attachment direction for children. Default: false
|
// inside = if true, reverse the attachment direction for children. Default: false
|
||||||
// T = Transformation to apply to children. Default: IDENT
|
// T = Transformation to apply to children. Default: IDENT
|
||||||
// Example(3D): This example shows how to create a custom object with two different parts that are both transformed away from the origin. The basic object is two cylinders with a cube shaped attachment geometry that doesn't match the object very well. The "left" and "right" parts attach to each of the two cylinders.
|
// Example(3D): This example shows how to create a custom object with two different parts that are both transformed away from the origin. The basic object is two cylinders with a cube shaped attachment geometry that doesn't match the object very well. The "left" and "right" parts attach to each of the two cylinders.
|
||||||
|
Reference in New Issue
Block a user