円柱

概要

このデザインは 3 次元の円柱を定義します。円柱はソリッドであり、ソリッド エンティティに関連付けられている標準的なマス プロパティが含まれるデザイン solidMixin からルールを継承します。高さと半径はデザインの主要なパラメータであり、他はその配置およびその他の属性に影響します。

Mixin

CylinderMixin

SolidMixin

標準、パラメータ、ルール、メソッド、およびグループルールの完全セットについては CylinderMixin および 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