Skip to content

Release 0.4.0.0

Compare
Choose a tag to compare
@julialongtin julialongtin released this 12 Jun 16:27
· 159 commits to master since this release
dac02b5
  • Haskell interface changes

    • Added support for XY-scaling on linear_extrude #269
      • ExtrudeRM scale type changes from (Either ℝ (ℝ -> ℝ)) to ExtrudeRMScale
    • Replaced the Rect primitives with SquareR and CubeR #296
      • squareR and cubeR are now available
    • Added support for mirroring objects around axis using mirror function #300
    • differenceR changes type to require mandatory shape to substract from #294
      • from Object obj vec => R -> [obj] -> obj
      • to Object obj vec => R -> obj -> [obj] -> obj
    • Both SymbolicObj2 and SymbolicObj3 now have Semigroup and Monoid instances, where <> acts as union #301
    • Added rotateQ function for rotating with Quaternions [#314][https://github.com//pull/314]
    • ℝ2 and ℝ3 are now using V2 and V3 from linear instead of tuples #342
    • Rounding is now separate from primitives #362
      • Introduces withRounding function.
      • Instead of primitiveR roundingValue ... we now use withRounding roundingValue (primitive ...)
      • Replaces squareR, rectR, polygonR, cubeR, rect3R, extrudeR, extrudeRM with versions
        without rounding arugment (square, rect, ...).
    • Removed ExtrudeRotateR #365
    • rotateExtrude now longer accepts rounding paramater #367
    • Added transform3 (transform using 4x4 matrix representing affine transformation) #410
    • Changed Object obj vec class to Object obj f a #420
  • ExtOpenSCAD interface changes

    • scale function with single parameter now behaves similar to OpenSCAD one #258
      • scales 2D object in both dimensions
    • rotateExtrude angle a parameter renamed to angle to match OpenSCAD #259
    • Added mirror support #300
    • Added multmatrix support #410
  • Other changes

    • Fixed the ExtOpenSCAD lexer bug where newlines were part of identifiers #256
    • implicitsnap not built by default anymore #272
      • Can be enabled again with cabal configure --flag=implicitsnap
    • Fixed vertex coordinates of OBJ output #281
      • discreteAprox of NormedTriangleMesh now runs in parallel #282
    • Binaries now built with default -rtsopts "-with-rtsopts -N -qg -t" to allow automatic parallelization
    • Added haddocks for Haskell eDSL #284 & #287
    • Added golden test machinery #311
    • Added quickcheck test machinery for implicit functions #316
    • Rotate now internally uses quaternions #314
    • Fixes to triangle generation #355 and #375
    • ExtOpenSCAD vector addition #408