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 [2019/07/18 08:32]
z3dev [Removed Functionality]
changes_v2 [2020/02/22 05:23] (current)
z3dev old revision restored (2020/02/21 08:18)
Line 1: Line 1:
 ====== Summary of V2 Changes ====== ====== Summary of V2 Changes ======
  
-===== Core Library ​(Previously named CSG) =====+===== Modeling Package ​(Previously named CSG) =====
  
-The core library ​has been fundamentally changed to acheive several goals.+The modeling package ​has been fundamentally changed to acheive several goals.
   * math functions have been rewritten based on the glmatrix library, which is array based data for WEBGL use   * math functions have been rewritten based on the glmatrix library, which is array based data for WEBGL use
   * geometry has been simplified to arrays of data to improve memory usage and performance   * geometry has been simplified to arrays of data to improve memory usage and performance
Line 14: Line 14:
 ==== Changes to Primitive Shapes ==== ==== Changes to Primitive Shapes ====
  
-  * square / rectangle, circle / ellipse, cube / cuboid, sphere / ellipsoid, torus +  ​* arc, line 
-  * **NEW** star primitive+  ​* square / rectangle ​/ roundedRectangle, circle / ellipse, ​star 
 +  * cube / cuboid ​/ roundedCuboid, sphere / ellipsoid, cylinder / cylinderElliptic / roundedCylinder,​ geodesicSphere,​ polyhedron, torus 
 +  * **NEW** line 2D primitive 
 +  * **NEW** star 2D primitive 
 +  * **NEW** ellipsoid 3D primitive 
 +  * **CHANGED** cylinder definition to use '​height'​
   * APIs have been standardized   * APIs have been standardized
   * all angles / rotations are now based on radians. Use degToRad() to convert easily.   * all angles / rotations are now based on radians. Use degToRad() to convert easily.
-  * major rewrites of roundedRectangle,​ roundedCube+  * major rewrites of cylinder, ​roundedRectangle,​ roundedCube
   * bug fixes   * bug fixes
  
Line 27: Line 32:
   * APIs have been standardized   * APIs have been standardized
   * all rotations are now based on radians. Use degToRad() to convert easily.   * all rotations are now based on radians. Use degToRad() to convert easily.
 +  * **ORDER MATTERS** the order of transforms is now important
   * bug fixes   * bug fixes
  
Line 42: Line 48:
   * **RENAMED** volume to measureVolume   * **RENAMED** volume to measureVolume
   * major rewrites of measureArea and measureVolume   * major rewrites of measureArea and measureVolume
-==== Changes to Hulls ==== 
  
-  * hull, hullChain 
-  * **RENAMED** chainHull to hullChain 
-  * changed hull to accept one or more geometries 
-  * **NEW** hull and hullChain now support path2 
 ==== Changes to Expansions ==== ==== Changes to Expansions ====
  
Line 53: Line 54:
  
   * expand, offset   * expand, offset
-  * **NEW** offset function for 2D paths+  * APIs have been standardized
   * **NEW** expand function for 2D paths   * **NEW** expand function for 2D paths
-  * **NEW** offset function for 2D geometries+  * **NEW** offset function for 2D paths and 2D geometries
   * bug fixes   * bug fixes
  
Line 61: Line 62:
  
   * extrudeLinear,​ extrudeRectangular,​ extrudeRotate,​ extrudeFromSlices   * extrudeLinear,​ extrudeRectangular,​ extrudeRotate,​ extrudeFromSlices
 +  * APIs have been standardized
   * **RENAMED** linear_extrude to extrudeLinear   * **RENAMED** linear_extrude to extrudeLinear
   * **RENAMED** rectangular_extrude to extrudeRectangular   * **RENAMED** rectangular_extrude to extrudeRectangular
Line 71: Line 73:
  
   * hull, hullChain   * hull, hullChain
 +  * APIs have been standardized
   * **RENAMED** chain_hull to hullChain   * **RENAMED** chain_hull to hullChain
-  * **NEW** hull function ​for 2D paths+  * **NEW** hull and hullChain ​for 2D paths 
 +  * **NEW** hull for 3D geometries 
 + 
 +==== Changes to Colors ==== 
 + 
 +  * color 
 +  * colorNameToRgb,​ hexToRgb, hslToRgb, hsvToRgb, hueToColorComponent 
 +  * rgbToHex, rgbToHsl, rgbtoHsv 
 +  * **NEW** color for 2D geometries and 2D paths 
 +  * **REMOVED** color using names, use colorNameToRgb
 ==== Removed Functionality ==== ==== Removed Functionality ====
  
Line 78: Line 90:
   * **REMOVED** OpenSCAD functions / function signitures   * **REMOVED** OpenSCAD functions / function signitures
   * **REMOVED** OpenSCAD math functions   * **REMOVED** OpenSCAD math functions
 +  * **REMOVED** old text functions
 +    * vector_char (use vectorChar)
 +    * vector_text (use vectorText)
   * **REMOVED** functionality for 3D geometries   * **REMOVED** functionality for 3D geometries
     * lieFlat     * lieFlat
Line 90: Line 105:
     * extrudeInPlane     * extrudeInPlane
  
-//NOTE: We expect ​this functionality to be supported via small user libraries.//​+//NOTE: We expect ​REMOVED ​functionality to be supported via small user libraries.//​ 
 + 
 +===== IO Packages ===== 
 + 
 +==== 3MF ==== 
 + 
 +  * **NEW** Serializer (export) 
 +    * serialization of 3D geometries to 3MF meshes 
 +==== AMF ==== 
 + 
 +  * Deserializer (import) 
 +    * bug fix for colors 
 +    * bug fix for model scales 
 + 
 +  * Serializer (export) 
 +    * bug fix for colors 
 + 
 +==== DXF ==== 
 + 
 +  * Deserializer (import) 
 +    * bug fix for lwpolylines 
 +    * bug fix for polylines 
 +    * bug fix for colors 
 +==== OBJ ==== 
 + 
 + 
 +  * Deserializer (import) 
 +    * bug fix for relative vertex references 
 +    * enhanced support for groups 
 +    * enhanced support for colors (material names) 
 +==== STL ==== 
 + 
 +  * Deserializer (import) 
 +    * enhanced translation to jscad scripts 
 +    * bug fix for colors 
 +==== SVG ==== 
 + 
 +  * Deserializer (import) 
 +    * bug fix for colors 
 +    * bug fix for quadradic bezier curves 
 +    * bug fix for closed paths 
 + 
 +  * Serializer (export) 
 +    * bug fix for colors 
 +    * bug fix for 2D geometries 
 +==== X3D ==== 
 + 
 +  * Serializer (export) 
 +    * bug fix for colors 
 + 
 +===== Command Line Application ===== 
 +tbw 
 + 
 +===== Desktop Application ===== 
 +tbw 
 + 
 +===== Web (Site) Application ===== 
 +tbw