跳轉到內容

Brlcad/如何使用mged/基本體/rcc

來自華夏公益教科書,開放的書籍,開放的世界

rcc(直立圓柱體)基本體用於建立圓柱體。

以下引數是必需的

  • 底面頂點 x
  • 底面頂點 y
  • 底面頂點 z
  • 高度向量 x
  • 高度向量 y
  • 高度向量 z
  • 半徑

繪製圓柱體

[編輯 | 編輯原始碼]
# Create a cylinder names cyl.s of radius 5 with one end centred at the origin
# with a vector of 10 in the x direction.
in cyl.s rcc 0 0 0 10 0 0 5
華夏公益教科書