This shows you the differences between two versions of the page.

Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||

design_guide_2d_primitives [2018/03/05 13:51] z3dev |
design_guide_2d_primitives [2018/06/12 14:08] z3dev |
||
---|---|---|---|

Line 1: | Line 1: | ||

===== 2D Primitives ===== | ===== 2D Primitives ===== | ||

- | ā2Dā stands for two (2) dimensional. A 2D primitive is any shape that has two dimensions, which are length and width (or X and Y.) The 2D dimensional shapes have no thickness (Although, JSCAD shows a very thin shape.) | + | ā2Dā stands for two (2) dimensional. A 2D primitive is any shape that has two dimensions, which are width and length (or X and Y.) The 2D dimensional shapes have no thickness (Although, JSCAD shows a very thin shape.) |

One way of thinking about 2D shapes is anything that lays flat on a piece of paper, such as drawing a circle or a square. | One way of thinking about 2D shapes is anything that lays flat on a piece of paper, such as drawing a circle or a square. | ||

Line 11: | Line 11: | ||

All rounded shapes have a ''resolution'' option which controls tesselation. If ''resolution'' is set to 8, then 8 polygons are used to create 360 degrees of revolution. | All rounded shapes have a ''resolution'' option which controls tesselation. If ''resolution'' is set to 8, then 8 polygons are used to create 360 degrees of revolution. | ||

- | This allows each design to control the amount of detail present, but beware that calculations and rendering time will also increase. For example, the number of polygons increases quadratically with each increase of the ''resolution'' for spheres. | + | This allows each design to control the amount of detail present, but beware that calculations and rendering time will also increase. For example, the number of polygons increases quickly with each increase of the ''resolution'' for circles. |

EXAMPLE | EXAMPLE |