If your interested in modeling parts for your 3d printed projects using javascript, check out the TinkerCad Shape Generator API. It’s fast and runs in your browser in using OpenGL.Īside from declaring some parameters and generating geometry, there are lots of other things a Shape Generator may do so it became necessary to encapsulate all of the responsibilities in a clean interface that caters to our object-oriented developers.
#3d font generator for 3 d printing cad code#
Navigating through the many generators, adjusting parametric sliders and view their code is inspirational and really shows this feature is excellent. You can browse through them on the generators tour page or access them directly through the inspector whilst editing a project. Math knots, parameteric wire springs, double helixes, and voronoi patterns are just some of the shape generators coming out of the community. Developers are free to use functionality provided by the Autodesk Core Library, or libraries developed by other members of the community. The end result is a water-tight shape that can interact with other shapes in boolean operations. A shape can be generated from 2D curves that are extruded, or by directly building a mesh. Shape Generators are JavaScript programs that generate 3D geometry based on a set of visual inputs provided to the user. The feature is now dubbed ‘Shape Generators’ and they’re pretty awesome. What started out as an experimental feature lead to making a powerful tool the community could share. Last year TinkerCad released Shape Scripts, a way to create 3d models by writing javascript. We’re delighted to see the TinkerCad community sharing shape generators.