概要
このデザインは 3 次元の円柱を定義します。円柱はソリッドであり、ソリッド エンティティに関連付けられている標準的なマス プロパティが含まれるデザイン solidMixin からルールを継承します。高さと半径はデザインの主要なパラメータであり、他はその配置およびその他の属性に影響します。
例 1
名前: |
cylinder_Ex01
|
Design: |
acDrawingDocument
|
子の名前: |
cylinder_1
|
子のデザイン: |
:Cylinder
|
[名前]
|
[タイプ]
|
指定値
|
height
|
数値
|
6 |
半径
|
数値
|
2 |
referenceFrame |
フレーム
|
frameXY(origin, unitZ, unitY) |
color
|
文字列
|
"jungle green" |
例 2
[名前]:
|
cylinder_Ex02
|
Design: |
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
|
Design: |
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 |