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

Both sides previous revision Previous revision Next revision | Previous revision | ||

design_guide_2d_primitives [2018/03/05 13:15] z3dev |
design_guide_2d_primitives [2018/06/12 14:10] (current) z3dev |
||
---|---|---|---|

Line 1: | Line 1: | ||

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

- | ā2Dā stands for 2-dimensional. A 2D primitive is any shape that has two dimensions. | + | ā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. | ||

+ | |||

+ | The mathematical study of 2D shapes and dimensions is called [[https://en.m.wikipedia.org/wiki/Plane_(geometry)|plane geometry]]. | ||

=== Resolution of Shapes === | === Resolution of Shapes === | ||

Line 9: | 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 | ||

Line 23: | Line 25: | ||

{{page>design_guide_polygon}} | {{page>design_guide_polygon}} | ||

- | |||

- | {{page>design_guide_path}} |