jscad / scad-api

DEPRECATED: OpenSCAD like API for JSCAD (See the link below)
https://github.com/jscad/OpenJSCAD.org/tree/V2/packages
MIT License
14 stars 8 forks source link

Support for fn parameter #6

Closed z3dev closed 3 years ago

z3dev commented 7 years ago

The user guide says "OpenSCAD like functions support the fn parameter, which is the numer of segments to approximate a sphere (default 32, total polygons per sphere fn*fn)."

I really doubt that this is consistently being followed in the function parameters. A few test cases should be created to verify.

Here's an example from the user guide.

cylinder({start: [0,0,0], end: [0,0,10], r1: 1, r2: 2, fn: 50});