meta data for this page
  •  

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:design_guide_3d_primitives [2020/11/28 02:41]
Admin [3D Primitives]
en:design_guide_3d_primitives [2021/05/12 08:04] (current)
JSCAD Project
Line 9: Line 9:
 ==== Resolution of Shapes ==== ==== Resolution of Shapes ====
  
-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 ''segments'' option which controls tesselation. If ''segments'' is set to 8, then 8 polygons are used to create a full revolution. If the ''segments'' option is omitted, the default value is used.
  
-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 quadratically with each increase of the ''segments'' for spheres.
  
-EXAMPLE+Sometimes, a design requires a certain degree of resolution which is expressed in the length between points, or the angle between points. If this is the case, then use the conversion function to calculate the required segments. See [[math_guide_conversions|Conversions]]
  
-If the ''resolution'' option is omitted, the following resolution is used. 
-  * CSG.defaultResolution3D = 12 
  
-OpenSCAD like functions support the ''fn'' parameter, which is the same as ''resolution''. 
  
-{{page>design_guide_cube}}+{{page>design_guide_cuboid}}
  
-{{page>design_guide_sphere}}+{{page>design_guide_spheroid}}
  
 {{page>design_guide_cylinder}} {{page>design_guide_cylinder}}