概要
このデザインは 3 次元の円柱を定義します。円柱はソリッドであり、ソリッド エンティティに関連付けられている標準的なマス プロパティが含まれるデザイン solidMixin からルールを継承します。高さと半径はデザインの主要なパラメータであり、他はその配置およびその他の属性に影響します。
例 1
| 名前: |
cylinder_Ex01
|
| デザイン: |
acDrawingDocument
|
| 子の名前: |
cylinder_1
|
| 子のデザイン: |
:Cylinder
|
|
[名前]
|
[タイプ]
|
指定値
|
| height |
数 |
6 |
| 半径 |
数 |
2 |
| referenceFrame |
フレーム |
frameXY(origin, unitZ, unitY) |
| color |
文字列 |
"jungle green" |
例 2
| 名前: |
cylinder_Ex02
|
| デザイン: |
acDrawingDocument
|
|
[名前]
|
[タイプ]
|
式
|
| od |
数 |
3 |
| thk |
数 |
0.25 |
| 長さ |
数 |
1 |
| 子の名前: |
pipe
|
| 子のデザイン: |
: BooleanSolid
|
|
[名前]
|
[タイプ]
|
指定値
|
| operation |
name |
:difference |
| components |
list |
{odObject, idObject} |
| color |
文字列 |
"plum" |
| 子の名前: |
odObject
|
| 子のデザイン: |
:Cylinder
|
|
[名前]
|
[タイプ]
|
指定値
|
| height |
数 |
長さ |
| 半径 |
数 |
od / 2 |
| referenceFrame |
フレーム |
frameXY(origin, -unitZ, unitY) |
| 子の名前: |
idObject
|
| 子のデザイン: |
:Cylinder
|
|
[名前]
|
[タイプ]
|
指定値
|
| height |
数 |
odObject.height |
| 半径 |
数 |
odObject.radius - thk |
| referenceFrame |
フレーム |
odObject.ReferenceFrame |
例 3
| 名前: |
cylinder_Ex03
|
| デザイン: |
acDrawingDocument
|
|
[名前]
|
[タイプ]
|
式
|
| od |
数 |
3 |
| thk |
数 |
0.25 |
| center |
点 |
MidPoint(odStraight.bottomPoint, odStraight.topPoint) |
| 子の名前: |
tee
|
| 子のデザイン: |
: BooleanSolid
|
|
[名前]
|
[タイプ]
|
指定値
|
| operation |
name |
:difference |
| components |
list |
{teeOd, idStraight, idSide} |
| color |
文字列 |
"navy blue" |
| 子の名前: |
teeOd
|
| 子のデザイン: |
: BooleanSolid
|
|
[名前]
|
[タイプ]
|
指定値
|
| components |
list |
{odStraight, odSide} |
| 子の名前: |
odSide
|
| 子のデザイン: |
:Cylinder
|
|
[名前]
|
[タイプ]
|
指定値
|
| height |
数 |
od + 1 |
| 半径 |
数 |
od / 2 |
| 原点 |
点 |
center |
| referenceFrame |
フレーム |
frameXY(origin, unitX, unitY) |
| 子の名前: |
odStraight
|
| 子のデザイン: |
:Cylinder
|
|
[名前]
|
[タイプ]
|
指定値
|
| height |
数 |
(od / 2) + 0.5 |
| 半径 |
数 |
odStraight.radius |
| referenceFrame |
フレーム |
frameXY(origin, -unitZ, unitY) |
| 子の名前: |
idSide
|
| 子のデザイン: |
:Cylinder
|
|
[名前]
|
[タイプ]
|
指定値
|
| height |
数 |
odSide.height |
| 半径 |
数 |
idStraight.radius |
| 原点 |
点 |
odSide.origin |
| referenceFrame |
フレーム |
odSide.referenceFrame |
| 子の名前: |
idStraight
|
| 子のデザイン: |
:Cylinder
|
|
[名前]
|
[タイプ]
|
指定値
|
| height |
数 |
odStraight.height |
| 半径 |
数 |
odStraight.radius - thk |
| referenceFrame |
フレーム |
odStraight.referenceFrame |