Circle
A Circle object is a convenience object representing a special Surface object. The "Surface" object is used for polygons, while the "Circle" object creates circular surfaces.
Example Syntax:
...
<O T="Circle">
...
...
</O>
Example:
Segmenting the Circle object into multiple parts.
Assigning a 2nd radius to the Circle object to form an ellipse.
Creating circle object as much as the defined anlge is covered
Creating a 3D object by assigning thickness to the Circle object.
Subtracting the volume of the cylinder created using T="Circle" object from a rectangular prism.
<O N="CircleObject1" T="Project" Category="3D Geometric Objects" TransAlignRule="Right">
<!-- created by ParamML Examples on 01.02.2023 -->
<O N="Ci1" T="Circle" Radius="20" Y="50" Segments="10" />
<O N="Ci2" T="Circle" Radius="20" Y="100" Radius2="10" />
<O N="Ci3" T="Circle" Radius="20" Y="150" StartAngle="0" EndAngle="11*PI/6" />
<O N="Ci4" T="Circle" Radius="20" Y="200" Thickness="30" />
<O N="CutoutEx" T="Surface" Thickness="15">
<O T="Point" X="-20" Y="-20" />
<O T="Point" X="-20" Y="20" />
<O T="Point" X="20" Y="20" />
<O T="Point" X="20" Y="-20" />
<O N="CutoutCi5" T="Circle" Radius="10" IsCutout="Yes" />
</O>
</O> |
3D View |
To view this example in the library, see (OpenBrIM Platform) |
Parameters of Circle Object:
Label | Mandatory | Name and Type Attributes | Default Description and Value Attributes | Other Attributes | |
---|---|---|---|---|---|
1 | Radius | Yes | N="Radius" | D="Radius: The radius of t he circle." V="5" | Role="Input" |
2 | Radius | Yes | N="Radius2" | D="Radius: The second radius along Y axis for ellipse." V="5" | Role="Input" |
3 | Start Angle | No | N="StartAngle" | D="Start Angle: the start angle for semi-circle." V="0" | Role="Input" |
4 | End Angle | No | N="EndAngle" | D="End Angle: the end angle for semi-circle. " V="PI*2" | Role="Input" |
5 | Segments | No | N="Segments" | D="Segments: Number of segments used to draw the object." V="36" | Role="Input"UT="None" |
6 | Thickness | No | N="Thickness" | D="Thickness: The thickness of the circle. (optional)" V="2" | Role="Input" |
7 | Cutout | No | N="IsCutout" | D="Cutout: Does this circle represent a cutout? [Yes=1/No=0]" V="0" | Role="Input" |