summaryrefslogtreecommitdiff
path: root/src/primitives.cc
AgeCommit message (Collapse)Author
2014-02-03Fix positional arguments for polyhedron (fixes #634).Torsten Paul
2014-01-24compile fix: forgot include for boost::math::isinfMarius Kintel
2014-01-14fix broken build on mingw / mxeDon Bright
2014-01-14bugfix: division by zero can cause malformed primitivesMarius Kintel
2013-12-27Moved get_fragments_from_r into CalcTorsten Paul
2013-12-16Deprecated polygons(triangles=[])Marius Kintel
2013-12-15fix bug in polyhedron() primitive keyword 'faces' vs 'triangles'Don Bright
2013-12-15in polyhedron() replace "triangles" w "faces", but allow backwards compatabilityDon Bright
by accepting 'triangles' and putting them into 'faces' variable
2013-10-20Add diameter variable to the sphere, cylinder and circle primitives (fixes ↵Torsten Paul
#392). When doing the lookup, the diameter value has priority so if both diameter and radius are given, the radius value is ignored and a warning is printed.
2013-10-19Ignore malformed polygonsMarius Kintel
2013-06-08clamp to 3. Fixes #395Marius Kintel
2013-05-10Added support for 2D scaling in linear_extrudeMarius Kintel
2013-05-10Initial code to support scaling of linear_extrude(). Part of Issue #273Marius Kintel
2013-04-26Refactoring: Split out FileModule from Module, Added LocalScope renamed some ↵Marius Kintel
confusing 'evaluate' methods to 'instantiate', added FileContext (not yet used)
2013-04-18Cleaned up argument list handling, related to #116Marius Kintel
2013-04-09Refactored context handling into using separate Module contexts and Eval ↵Marius Kintel
contexts. This allows for recursive module calls, and cascading children. I believe this fixes issue #116
2012-03-27Rewrote the Value class to be based on boost::variant - this should reduce ↵Marius Kintel
memory footprint and improve performance
2012-02-13Cleaned up unsigned int compiler warningsAndrew Plumb
2012-01-25Ported printutils away from QtMarius Kintel
2011-12-19bugfix: The parameter yielded half as many segments as expectedMarius Kintel
2011-12-13Improved sphere tesselation for low resolution spheresMarius Kintel
2011-12-04Killed some warningsMarius Kintel
2011-11-06Slight refactoring of builtin function and module handlingMarius Kintel
2011-09-30Cleaned up some unnecessary includesMarius Kintel
2011-09-09Initial attempt of cleaning up polyset handling. PolySet no longer keeps a ↵Marius Kintel
refcount, basic cache mechanism is in place, instantiating polysets are controlled through PolySetEvaluator
2011-09-03De-Qt-ification continues, almost done with DxfDataMarius Kintel
2011-09-03Ported a bunch of stuff from Qt to STLMarius Kintel
2011-09-02change: Always use r as fallback variable if either of r1 or r2 are missingMarius Kintel
2011-09-01Refactored some non-CGAL functionality into separate functions in ↵Marius Kintel
PolySetCGALEvaluator
2011-08-25Merge branch 'master' into visitorMarius Kintel
Conflicts: src/primitives.cc
2011-08-14Fix for crash caused by 0-sized square as reported by chrysn.Giles Bathgate
2011-08-05Started on getBoundingBox functionality, refactored some vector code as part ↵Marius Kintel
of this initiative
2011-07-30Merge branch 'master' into visitorMarius Kintel
Conflicts: src/GLView.h src/glview.cc src/mainwin.cc src/render-opencsg.cc
2011-07-11merged in recent changes in masterMarius Kintel
2011-06-05Windows build fixes from Kliment YanevMarius Kintel
2011-06-05Removed offset since it's always 0Marius Kintel
2011-06-04Restores rotation of cylinder to that of previous versions of openscad.Giles Bathgate
Fix for changes done in commit 8c95ac44629e699c842a883c79d0833c5b83475c
2011-04-28Merged with masterMarius Kintel
2011-04-13Changed circle calculation to match sphere tessellation; makes example022 ↵Marius Kintel
look better
2011-04-12Ported recent changes to master into the visitor branchMarius Kintel
2011-04-07Merge remote branch 'gitorious/sphere-cylinder-optimisation' into sphere-cylMarius Kintel
2011-04-07Bugfix: Clamp and to 0.01 to fix a crashMarius Kintel
2011-04-07Fixed for when rings <= 0.Giles Bathgate
2011-03-22Optimised sphere generation.Giles Bathgate
Simply use the same number of fragments for each ring, and use half the number of fragments to determine the number of rings This results in a sphere that has the same projection when viewed from above or from the front.
2011-03-22Optimised cylinder generation.Giles Bathgate
When the sides are vertical we can use 4 sided polygons instead of triangles to define the sides, this reduces the facet count for the sides of the cylinder by half.
2011-01-21Merge branch 'master' of https://github.com/meta23/openscadmeta
Conflicts: openscad.pro
2011-01-21Copyright updatesMarius Kintel
2011-01-18don't use C99 variable length arraysmeta
2010-11-07Allow render_polyset() to return NULLMarius Kintel
2010-11-07Refactored some QString usage in the backend to std::stringMarius Kintel
contact: Jan Huwald // Impressum