Skip to content

Releases: nicklockwood/ShapeScript

1.8.6

26 Jul 07:46
Compare
Choose a tag to compare
  • Bumped Euclid to version 0.7.8
  • Bumped SVGPath to version 1.1.5

1.8.5

24 Apr 21:37
Compare
Choose a tag to compare
  • The calculation of exactBounds is now cancellable
  • Fixed issue where .bounds member didn't work on text path output
  • Partial scene progress is now rendered after an error to facilitate debugging
  • Scalar SCNMaterial properties like roughness are now imported correctly
  • Mouse or tap selection now works through invisible objects
  • Optional function arguments can now be omitted
  • Added fileURL property to Program

1.8.4

18 Feb 19:07
Compare
Choose a tag to compare
  • Added in operator for testing if a value lies within a tuple or range
  • Negative subscript indices can now be used to access elements at the end of a list
  • Improved error messages for member access and subscripting
  • Fixed bug with subscripting parenthesized values
  • Fixed a bug with casting single-element tuples
  • Made SVGPath functions public
  • Bumped Euclid to version 0.7.7

1.8.3

03 Feb 10:39
Compare
Choose a tag to compare
  • Fixed file access bug for iCloud hosted files
  • Fixed issue where initial seed for random sequence wasn't truncated to correct range
  • Updated iOS TextView with some bug fixes
  • Bumped Euclid to version 0.7.6
  • Bumped LRUCache to version 1.0.7

1.8.2

20 Jan 18:17
Compare
Choose a tag to compare
  • Fixed alpha blending bugs in rendered images
  • Uniform vertex colors are now converted to a material
  • Improved error messaging for file access errors
  • Increased stack limit to prevent overflow for trivial recursion
  • Fixed double application of local transform to imported shapes
  • Fixed double application of local transform in functions
  • Bumped Euclid to version 0.7.4
  • Bumped LRUCache to version 1.0.5

1.8.1

31 Dec 23:11
Compare
Choose a tag to compare
  • Improved color replacement for imported shapes
  • STL import now supports facet colors
  • Linux CLI now supports binary STL export
  • Improved reporting of system errors
  • Added camera.antialiased property
  • Bumped Euclid to version 0.7.3
  • Bumped SVGPath to version 1.1.4
  • Added visionOS support

1.8.0

25 Nov 09:02
Compare
Choose a tag to compare
  • Added switch/case statements
  • Added subscripting support for objects and tuples
  • Added object constructor command
  • Objects can now be cast to/from memberwise types
  • Added light.shadow property
  • The opacity property can now be set to a texture
  • Textures now use nearest-neighbor filtering for upscaling instead of linear
  • Added normals command for setting surface normals with a texture
  • Added roughness and metallicity properties for physically based rendering (PBR)
  • Added material command for setting all material properties at once
  • Combined Material.color and texture properties into single property internally
  • The Material.isOpaque property is now correctly computed when using a texture
  • Added text.string, font, color and linespacing members
  • You can now use import statements in expressions
  • Object values are now correctly unwrapped
  • Removed some deprecated methods

1.7.1

25 Oct 11:35
Compare
Choose a tag to compare
  • Fixed spotlight debug shape orientation
  • Added Geometry.withoutLights() method
  • Added Geometry.withoutGroupTransform() method
  • Deprecated Geometry.with(name:) method
  • Added point.isCurved and polygon.center member properties
  • Added object type logging and made logging less error-prone
  • Added documentation for lights limit introduced in 1.7.0

1.7.0

15 Oct 08:08
Compare
Choose a tag to compare
  • Fixed ambiguity when calling functions with parenthesized arguments
  • Added error message when using more than 8 lights in a scene
  • Bumped Euclid to version 0.7.1

1.6.14

23 Sep 12:25
Compare
Choose a tag to compare
  • Bumped Euclid to version 0.6.18 (fixes crash when building with Xcode 15)