Skip to content

Commit d82c078

Browse files
committed
Update for 1.2.0 release
1 parent 9deb726 commit d82c078

File tree

5 files changed

+27
-9
lines changed

5 files changed

+27
-9
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
## [1.2.0](https://github.com/nicklockwood/ShapeScript/releases/tag/1.2.0) (2021-08-15)
2+
3+
- Improved progressive rendering logic, reducing wait before seeing first results in viewer
4+
- Geometry cache is now limited to ~1GB per open document instead of being unbounded
5+
- Cached geometry is now cleared when document is closed instead of persisting for app lifetime
6+
- Invalid font names now produce an error instead of silently falling back to Helvetica
7+
- Paths are now drawn in white when background is set to a dark color or texture
8+
- Fixed an index out-of-bounds crash in the Levenshtein distance function
9+
- Bumped Euclid to 0.5.8, which includes several bug fixes
10+
- Renamed `GeometryType.none` to the more descriptive `GeometryType.group`
11+
- Made `Geometry.mesh` and `Geometry.associatedData` properties thread-safe using `NSLock`
12+
- Removed `Scene.deepCopy()` and `Geometry.deepCopy()` methods as instances are now thread-safe
13+
- Moved selection logic out of `ShapeScriptLib` and into Viewer example application
14+
- Fixed bug in Viewer where geometries would be deselected during progressive loading
15+
- Added LRUCache dependency
16+
117
## [1.1.6](https://github.com/nicklockwood/ShapeScript/releases/tag/1.1.6) (2021-08-04)
218

319
- Paths are now drawn using polygons strips, which looks sharper and renders more consistently

Help/export.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ ShapeScript can export models in STL format, used by many 3D printing applicatio
4444

4545
When exporting for 3D printing, you will usually want to avoid having internal geometry inside the outer surface of your model. A good way to do this is to use the [union](csg.md#union) command to combine all the parts of your model into a single shape, eliminating internal faces.
4646

47+
ShapeScript uses the "Y-up" convention, where the Y-axis points up and the Z-axis points out from the screen. Some popular 3D printing applications such as [Cura](https://ultimaker.com/software/ultimaker-cura) use the "Z-up" convention instead. Check the "Convert to Z-Up" option in the ShapeScript preferences to export models in this orientation.
48+
4749
## Rendering an Image
4850

4951
In addition to 3D model formats, ShapeScript can also export 2D images. The following image formats are supported:

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,19 @@ ShapeScript is packaged as a dynamic framework, which itself depends on the [Euc
3030
To install the ShapeScript framework using CocoaPods, add the following to your Podfile:
3131

3232
```ruby
33-
pod 'ShapeScript', '~> 1.1'
33+
pod 'ShapeScript', '~> 1.2'
3434
```
3535

3636
To install using Carthage, add this to your Cartfile:
3737

3838
```ogdl
39-
github "nicklockwood/ShapeScript" ~> 1.1
39+
github "nicklockwood/ShapeScript" ~> 1.2
4040
```
4141

4242
To install using Swift Package Manager, add this to the `dependencies:` section in your Package.swift file:
4343

4444
```swift
45-
.package(url: "https://github.com/nicklockwood/ShapeScript.git", .upToNextMinor(from: "1.1.0")),
45+
.package(url: "https://github.com/nicklockwood/ShapeScript.git", .upToNextMinor(from: "1.2.0")),
4646
```
4747

4848
The repository also includes the ShapeScript Viewer application, a cut-down version of the ShapeScript app available on the [Mac App Store](https://apps.apple.com/app/id1441135869). It is not currently possible to install or run this app using CocoaPods, Carthage or Swift Package Manager, however you can run it by opening the included Xcode project and selecting the `ShapeScript Viewer` scheme.

ShapeScript.podspec.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ShapeScript",
3-
"version": "1.1.6",
3+
"version": "1.2.0",
44
"license": {
55
"type": "MIT",
66
"file": "LICENSE.md"
@@ -10,7 +10,7 @@
1010
"authors": "Nick Lockwood",
1111
"source": {
1212
"git": "https://github.com/nicklockwood/ShapeScript.git",
13-
"tag": "1.1.6"
13+
"tag": "1.2.0"
1414
},
1515
"source_files": ["ShapeScript", "LRUCache/Sources"],
1616
"requires_arc": true,

ShapeScript.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@
699699
"$(inherited)",
700700
"@executable_path/../Frameworks",
701701
);
702-
MARKETING_VERSION = 1.1.6;
702+
MARKETING_VERSION = 1.2.0;
703703
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptViewer;
704704
PRODUCT_MODULE_NAME = Viewer;
705705
PRODUCT_NAME = "ShapeScript Viewer";
@@ -726,7 +726,7 @@
726726
"$(inherited)",
727727
"@executable_path/../Frameworks",
728728
);
729-
MARKETING_VERSION = 1.1.6;
729+
MARKETING_VERSION = 1.2.0;
730730
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptViewer;
731731
PRODUCT_MODULE_NAME = Viewer;
732732
PRODUCT_NAME = "ShapeScript Viewer";
@@ -878,7 +878,7 @@
878878
"@executable_path/../Frameworks",
879879
"@loader_path/Frameworks",
880880
);
881-
MARKETING_VERSION = 1.1.6;
881+
MARKETING_VERSION = 1.2.0;
882882
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptLib;
883883
PRODUCT_NAME = ShapeScript;
884884
SKIP_INSTALL = YES;
@@ -907,7 +907,7 @@
907907
"@executable_path/../Frameworks",
908908
"@loader_path/Frameworks",
909909
);
910-
MARKETING_VERSION = 1.1.6;
910+
MARKETING_VERSION = 1.2.0;
911911
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptLib;
912912
PRODUCT_NAME = ShapeScript;
913913
SKIP_INSTALL = YES;

0 commit comments

Comments
 (0)