跳到內容

Brlcad/如何繪製長方體

來自 Wikibooks,開放世界的開放書籍

以下程式演示如何繪製一個簡單的 2x3x4 長方體

opendb cuboid.g y            # Create a database to hold our shapes
units cm                     # Set the unit of measure
in cuboid.s rpp 0 2 0 3 0 4  # Create a 2 x 3 x 4 cuboid named cuboid.s  
華夏公益教科書