User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
changes_v2 [2020/06/01 00:40]
z3dev [3MF]
changes_v2 [2020/06/17 07:30] (current)
z3dev [Desktop Application]
Line 13: Line 13:
  
 ==== Changes to Primitive Shapes ==== ==== Changes to Primitive Shapes ====
 +<code javascript>​
 +const { arc } = require('​@jscad/​modeling'​).primitives
 +</​code>​
  
   * arc, line   * arc, line
Line 30: Line 33:
  
 ==== Changes to Transforms ==== ==== Changes to Transforms ====
 +<code javascript>​
 +const { center } = require('​@jscad/​modeling'​).transforms
 +</​code>​
  
   * center, mirror, rotate, scale, transform, translate   * center, mirror, rotate, scale, transform, translate
Line 38: Line 44:
 <wrap em>MAJOR CHANGE: transforms are accumlated so the order of transforms is now important</​wrap>​ <wrap em>MAJOR CHANGE: transforms are accumlated so the order of transforms is now important</​wrap>​
 ==== Changes to Booleans ==== ==== Changes to Booleans ====
 +<code javascript>​
 +const { intersect } = require('​@jscad/​modeling'​).booleans
 +</​code>​
  
   * intersect, subtract, union   * intersect, subtract, union
Line 43: Line 52:
   * bug fixes   * bug fixes
 ==== Changes to Measurements ==== ==== Changes to Measurements ====
 +<code javascript>​
 +const { measureArea } = require('​@jscad/​modeling'​).measurements
 +</​code>​
  
   * measureArea,​ measureBounds,​ measureVolume   * measureArea,​ measureBounds,​ measureVolume
Line 51: Line 63:
  
 ==== Changes to Expansions ==== ==== Changes to Expansions ====
- +<code javascript>​ 
-//NOTE: Contraction is a negative (-expansion.//+const { expand } = require('​@jscad/modeling'​).expansions 
 +</code>
  
   * expand, offset   * expand, offset
Line 60: Line 73:
   * bug fixes   * bug fixes
  
 +//NOTE: Contraction is a negative (-) expansion.//​
 ==== Changes to Extrusions ==== ==== Changes to Extrusions ====
 +<code javascript>​
 +const { extrudeLinear } = require('​@jscad/​modeling'​).extrusions
 +</​code>​
  
   * extrudeLinear,​ extrudeRectangular,​ extrudeRotate,​ extrudeFromSlices   * extrudeLinear,​ extrudeRectangular,​ extrudeRotate,​ extrudeFromSlices
Line 72: Line 89:
  
 ==== Changes to Hulls ==== ==== Changes to Hulls ====
 +<code javascript>​
 +const { hull } = require('​@jscad/​modeling'​).hulls
 +</​code>​
  
   * hull, hullChain   * hull, hullChain
Line 77: Line 97:
   * **RENAMED** chain_hull to hullChain   * **RENAMED** chain_hull to hullChain
   * **NEW** hull and hullChain for 2D paths   * **NEW** hull and hullChain for 2D paths
-  * **NEW** hull for 3D geometries+  * **NEW** hull and hullChain ​for 3D geometries
  
 +==== Changes to Text ====
 +<code javascript>​
 +const { vectorChar } = require('​@jscad/​modeling'​).text
 +</​code>​
 +
 +  * vectorChar, vectorText
 ==== Changes to Colors ==== ==== Changes to Colors ====
 +<code javascript>​
 +const { colorize } = require('​@jscad/​modeling'​).colors
 +</​code>​
  
-  * color+  * colorize
   * colorNameToRgb,​ hexToRgb, hslToRgb, hsvToRgb, hueToColorComponent   * colorNameToRgb,​ hexToRgb, hslToRgb, hsvToRgb, hueToColorComponent
   * rgbToHex, rgbToHsl, rgbtoHsv   * rgbToHex, rgbToHsl, rgbtoHsv
-  * **NEW** ​color for 2D geometries and 2D paths+  * **NEW** ​colorize ​for 2D geometries and 2D paths
   * **REMOVED** color using names, use colorNameToRgb   * **REMOVED** color using names, use colorNameToRgb
  
Line 161: Line 190:
   * bug fix for converting external formats   * bug fix for converting external formats
 ===== Desktop Application ===== ===== Desktop Application =====
-tbw+ 
 +TO BE CONVERTED
  
 ===== Web (Site) Application ===== ===== Web (Site) Application =====
-tbw+ 
 +  * viewer has been split from applications 
 +    * ability to create snapshots from command line 
 +    * ability to render 2D paths, 2D geometry, 3D geometry 
 +  * support for themes 
 +  * support for multiple languages 
 +  * support for NPM style projects (ALPHA)