stl-exporter
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -53,6 +53,8 @@ // Generated by CoffeeScript 1.9.2 | ||
} | ||
if (this.options.beautify) { | ||
this.push(createBeautifiedFacetString(data)); | ||
} else { | ||
this.push(createFacetString(data)); | ||
if (data.hasOwnProperty('vertices')) { | ||
if (this.options.beautify) { | ||
this.push(createBeautifiedFacetString(data)); | ||
} else { | ||
this.push(createFacetString(data)); | ||
} | ||
} | ||
@@ -59,0 +61,0 @@ } |
@@ -78,3 +78,3 @@ // Generated by CoffeeScript 1.9.2 | ||
data = JSON.parse(data); | ||
if (data.name) { | ||
if (data.hasOwnProperty('name')) { | ||
this.name = data.name; | ||
@@ -89,3 +89,5 @@ arrayBuffer = new ArrayBuffer(this.headerLength + this.facetsCounterLength); | ||
} | ||
this.push(this._createFacetString(data)); | ||
if (data.hasOwnProperty('vertices')) { | ||
this.push(this._createFacetString(data)); | ||
} | ||
} | ||
@@ -92,0 +94,0 @@ return done(); |
{ | ||
"name": "stl-exporter", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "Convert face-vertex, or polygon meshes to ascii and binary STLs", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
81746
550