Releases: nicklockwood/ShapeScript
Releases · nicklockwood/ShapeScript
1.4.6
- Fixed
svgpath
command (broken in 1.4.5) - Fixed bug where axes were rendered in the wrong color
- Watertight status is now displayed in object info panel
- The
roundrect
command now works on Linux - Bumped LRUCache to version 1.0.3
- Bumped Euclid to version 0.5.18
1.4.5
- Added support for setting per-vertex colors in a path
- Font, text color and linespacing can now be specified per-line within a text block
- Fixed underestimated bounds calculation for extrusion along a path
- Made logic for child count calculation more consistent
- Bumped Euclid to version 0.5.17
1.4.4
- Fixed infinite recursion crash when a shape file tries to import itelf
- Improved error message when imported model file is not readable
- Fixed assertion failure when evaluating imported block due to source confusion
- Added stricter symbol checking in stdlib so, e.g. name can't be used inside a path
- Fixed bug in viewer where examples always open in orthographic mode
- Imported gifs are now counted as textures rather than models in info panel
- Model type is now displayed correctly in info panel
- Fixed some iOS compatibility issues
1.4.3
- ShapeScript will now attempt to ensure generated meshes are watertight by default
- Fixed unintended behavior change with blocks returning multiple shapes (introduced in 1.3.7)
- Fixed precondition failure when calling a block from inside a
path
command - Camera nodes are no longer included in object count in model info
- Handle repeated parameter lists without command tokens in
svgpath
- Added additional
svgpath
error handling - Bumped Euclid to version 0.5.15
1.4.2
- The
svgpath
command now supports arc instructions ('A' and 'a') - Fixed bug in
svgpath
affecting absolute horizontal ('H') and vertical ('V') lines - Save panel in viewer now adds
.shape
extension to file name if not present - Made online documentation link logic more robust
1.4.1
- Fixed bug where
along
property was ignored inextrude
command - Fixed wireframe rendering mode in viewer
1.4.0
- Added user-defined cameras
- Added boolean constants and operators
- Added comparison operators (greater than, equals, etc)
- Added
if
/else
statements - Added
assert
command - Improved suggestions for mistyped operators
- Replaced range expression with separate
to
andstep
operators - Failure to load an external model now displays an error instead of failing silently
- Added distinct error type for invalid text escape sequences
- Simplified identifier expression representation
- Converted
option
keyword to contextual keyword - Added
Geometry.worldTransform
property
1.3.10
- DAE files containing triangle strips or non-triangular polygons are now loaded correctly
- Fixed empty Geometry names not being set to nil
- Fixed broken footer links in help pages
- Bumped Euclid to version 0.5.14
1.3.9
- Added multiple camera options
- Added orthographic view option
- Reorganized camera menu and keyboard shortcuts
- View settings are now saved per-document instead of globally
- Fixed bug where camera would reset when toggling wireframe mode
- Documents now open in tabs automatically when tab bar is shown
1.3.8
- Added
svgpath
command for creating paths using SVG-compatible syntax - Added
bounds
member property for calculating dimensions of complex shapes - Added
wrapwidth
andlinespacing
options for text - Improved debug command behavior for children of CSG containers
- Fixed bug when setting
background
color with a single number (e.g.0
for black) - Fixed bug where only first expression argument was highlighted in a type-mismatch error