2/3/2024 0 Comments Openscad linear extrudetwo above use dpf_npolygon(sqrt(2)/2,4) and dp_scale() if required.ellipse and circle is approximated with high count of n-sided polygon.all above use dpf_ellipse() to construct the polygon.dp_circle(d,n=12,a=0) must use d=diameter.Polygon Functions use Point Functions to create an array/list of 2d points to describe a polygon n amount of segments: Creating Polygons a is the additional rotate angle (default: 0).p ranges between 0…1, at any resolution.dpf_npolygon(s,p,a=0) whereas s amount of sidesĮach function returns single 2d point, whereas.dpf_circle(d,p,a=0) must use d=diameter.3: 0.0.1: Point Functions, Polygon Functions and Mesh Functions added, code not yet released.4: 0.0.2: dp_morph() as part of dm_extrude() uses dp_nearest() to find nearby point of two polygons to morph smoothly, morph examples added.3d: added dm_sphere(), dm_cylinder() and dm_cube(), and dm_translate(), dm_scale(), dm_rotate(), dm_bounds() and dm_center() as well.2d: added dp_translate(), dp_scale(), dp_rotate(), dp_bounds() and dp_center().more detailed documentation and illustrations.3d: dm_extrude_rotate(p,n=4,start=0,end=360) which allows simple dm_torus().0: 0.0.5: 3d: dm_merge() merge multiple meshes into single one.polygons must have same amount of segments to properly extrude, resolved) State: very experimental state, not yet released due several drawbacks, code released ( e.g. This is aimed to be small OpenSCAD Library which re-implements some of its basic forms in discrete manner so vertices remain accessible in order to manipulate before being transformed into actual polyhedron for CSG operations.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |