imagico.de
imagico.de

imagico.de

IsoCSG Library

previous: IsoCSG Library Documentation - part 2 current: IsoCSG Library Documentation - part 3 next: IsoCSG Library Documentation - part 4 Navigation

'iso_rcsg.inc' - Rounded shape functions

The macros in this file are replacements for some shapes in iso_csg.inc with rounded edges.

For normal usage this does not make any difference so there is no need to use this file in most cases, but it can be useful when working with surface displacement, changed threshold values or when using the functions in patterns.

This file overrides the definitions from iso_csg.inc.



Description of the macros

The shape macros

IC_Box()

Box sample (3k)

Rounded version of the IC_Box() macro

parameters:

example:

#declare fn_1 = IC_Box (<-0.8,-0.8,-0.8><0.8,0.8,0.8>)

IC_Cylinder()

Cylinder sample (3k)

Rounded version of the IC_Cylinder() macro

parameters:

example:

#declare fn_1 = IC_Cylinder (-xx0.8)

IC_Cone()

Cone sample (3k)

Rounded version of the IC_Cone() macro

parameters:

example:

#declare fn_1 = IC_Cone (-x0.2x0.8)