← Changelog

Polygonjs 2.0.59

SDF deformers, screw threads, GPU meshing

·built with Jai 0.2.029

  • Breaking geo/SDFRound is now geo/SDFOffset, and code/SDFRound is code/SDFOffset. I had chosen the previous name poorly, this one fits what the node does.
  • New geo/SDFTwist turns a Field about an axis, geo/SDFBend wraps it around one, and geo/SDFPolarRepeat copies it around one. It’s very useful to bend text on a cylinder for instance: sdf-bend-text-on-cylinder, to build a twisted pillar, or a gear.
  • New geo/SDFThread is a polynode (a node made of node), showing a receipe to make a thread. sdf-thread-bolt-and-nut.
  • New The code/SDF* set now mirrors geo/SDF* one for one, with code/SDFTube, SDFHexPrism, SDFTriPrism, SDFSolidAngle, SDFElongate, SDFImprint, SDFSeam, SDFExtrude and SDFRevolve added. Anything you can build with the geo/SDF* nodes you can now build inside a geo/SDFBuilder.
  • New geo/SDFBuilder can now modify an input field, not just generate one. sdf-builder-rock.
  • New geo/SDFCreate can save the generated grid to disk and reload it. This is useful when building it from a high resolution geometry takes time: sdf-grid-cache.
  • New geo/SDFCreate accepts curves. sdf-curve-tube.
  • New geo/CurveProperties allows you to open or close an input curve.
  • New geo/M2DStroke gives an open curve a width, so a polyline becomes a 2D region the rest of the M2D family can extrude, offset or triangulate.
  • Improved geo/SDFTriangulate can sample the field on the graphics card.
  • Improved geo/SDFRevolve gains helical and pitch, so the revolve climbs as it turns instead of closing on itself. That is what geo/SDFThread is built on.
  • Improved geo/Line takes an input and joins its points into a polyline, one per object, in the order they arrive and with nothing else done to them. A 2D input gives a 2D polyline. geo/Add into geo/Line is the shortest route from a few hand-placed positions to something drawable.
  • Improved geo/Curve builds a curve from positions typed into the node, with no input at all.
  • Improved Seven code/SDF* nodes gained the viewport handle their geo/SDF* twin already had: the 2D family (SDFBox2D, SDFCircle2D, SDFEllipse2D, SDFEquilateralTriangle2D, SDFHexagon2D), SDFSegment2D and SDFTransform. A field built inside a geo/SDFBuilder is now dragged the same way as one built from the geo nodes.
  • Improved The editor’s Memory panel reports what each node holds, broken down by category and sortable by column, so the node behind a large scene is findable.
  • Fixed Importing a binary STL built every triangle from the first three points, so a file came in as a single sliver and nothing else. Only the first face was ever right.
  • Fixed a crash when extracting a subnet from the network panel’s context menu. Typing into an integer parameter read the text as a float.