1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-16 21:58:26 +01:00
dotSCAD/RELEASE.md
2021-03-09 17:43:45 +08:00

15 KiB

Version numbers are based on Semantic Versioning.

v3.0

It's a version that Breaks Backward Compatibility!!

This version removed all deprecated modules/functions in previous versions.

Function signature changed:

  • function_grapher: delete slicing parameter.
  • hull_polyline3d: Rename the parameter thickness to diameter.
  • line3d: Rename the parameter thickness to diameter.
  • polyline3d: Rename the parameter thickness to diameter.
  • util/bsearch: only supports sorted and target parameters.
  • util/dedup: delete sorted parameter. add the eq,hash and number_of_buckets parameters.

Deleted:

  • m_cumulate deleted.
  • trianglate deleted.
  • turtle/turtle2d and turtle/turtle3d are used internally.

This version, however, has some new features.

Enhanced:

  • lines_intersection: Supports 3D lines.
  • util/sort: by accepts a function literal.
  • util/zip: Adds the combine parameter.
  • function_grapher: "LINES""HULL_LINES" performance improved.
  • vx_union, vx_circle, vx_bezier, vx_polygon: Performance improved.
  • util/dedup: Performance improved.

New modules/functions:

  • angle_between
  • util/degrees
  • util/radians
  • util/polar_coordinate
  • util/spherical_coordinate
  • util/every
  • util/some
  • util/swap
  • util/shuffle
  • util/find_index
  • util/set/hashset
  • util/set/hashset_add
  • util/set/hashset_has
  • util/set/hashset_del
  • util/set/hashset_len
  • util/set/hashset_elems
  • util/map/hashmap
  • util/map/hashmap_put
  • util/map/hashmap_get
  • util/map/hashmap_del
  • util/map/hashmap_len
  • util/map/hashmap_keys
  • util/map/hashmap_values
  • util/map/hashmap_entries
  • maze/mz_theta_cells
  • maze/mz_theta_get

v2.5

Deprecated:

  • polytransversals
  • shape_glued2circles. Use shape_liquid_splitting instead.

New modules and functions:

v2.4

Deprecated:

Improved:

  • polyline2d: improved middle-point drawing, support joinStyle parameter.
  • box_extrude: added bottom_thicnkess parameter.

New modules and functions:

v2.3

Bugfixes:

  • helix_extrude: wrong orientation when CLK.

Deprecated:

New modules and functions:

v2.2.1

Bugfixes:

  • util/sort: z not sorted.

Improvements:

  • Faster when the style of function_grapher is "LINES" or "HULL_LINES".
  • Dedup pixels of pixel/px_polyline, pixel/px_circle, pixel/px_cylinder, pixel/px_sphere, pixel/px_polygon.

v2.2

  • Bugfixes
    • util/sort: fix "search term not found" warning when by is "idx".
  • Better dependency management. Just use modules you want. Existing scripts are not required to do any change.

v2.1

v2.0

v1.3.3

  • Bugfixes
    • in_shape: Wrong variable name.

v1.3.2

  • All-in-one source file.

    • You can use include <dotSCAD.scad>; or use <dotSCAD.scad>; if you really don't want to care about dependencies.
  • Bugfixes

    • along_with: Wrong variable scope.

v1.3.1

  • Bugfixes
    • in_polyline: Wrong parameter name.
    • in_shape: Missing dependency.
    • along_with: Avoid warning when using 2D points.

v1.3

v1.2

v1.1.1

  • Bugfixes

    • m_rotation returns an identity matrix if a is 0.
    • The path_pts parameter of path_extrude accepts two or three points.
    • The points parameter of along_with accepts two or three points.
  • Others

    • OpenSCAD has built-in matrix multiplication so m_multiply is not necessary.

v1.1

v1.0.1

  • Fixed path_extrude crossing problem. See issue 3.
  • Fixed along_with crossing problems (similar to path_extrude.)

v1.0

  • First release.