![]() For example, you could specify a limited set of functions, and internally extrude() could map. There are ways of getting around this in fairly limited cases. This would require functions be passed as parameters. Startprofile - a function defining what the base looks likeĮndprofile - a function defining what the end looks like ![]() I think a parametric representation would be easiestĮxtrude(startprofile, endprofile, height) Twist_degrees - how much to twist as you go up Percent_shrink - How much to shrink the thing as you go up Taper_extrude(basepts, height, percent_shrink, twist_degrees) What would be the ideal form of expressing this? * wedges ( yes, I know, those can normal be made by subtraction, as they are just intersecting rectangles, but what if the wedge was a unique 2D profiled polygon? ) * heels for high-heeled shoes ( typically a funny 'D' shape, and taper down to the ground ) * potplant bases (not the round ones, the square or rectangular based ones, with tapered walls ) * non-circular ducting or piping that needs to keep its profile, but shrink/grow in size ( eg square overhead airconditioning ducting ) * airfoils, wings, propellors, where the basic 2D shape is a 2D airfoil, but the extruded length can taper and/or twist. * wood-screws, and other tapered+threaded devices I see this generic method would be useful for ( here's a few examples): :-) Before you ignore this as a "feature request without patch", please consider at least pointing me in the right directio. however, I'm looking for a way to extrude arbitrary 2D shapes in a similar manner, and I can't figure it out.Īnyway, I guess I'm either after someone telling me how to do this in openscad, or if it's not possible, then this is a feature request. I know the openscad 'cylinder' object can make cones ( and truncated conical shapes ). ![]() The simplest form of this would be a cone, which is a 2D circle extruded vertically ( for a distance that is the height of the cone), and is extruded down to a 'point' that is 0% of the dimensions of the original circle. I assume there's got to be a way, but it escapes me.īy 'tapered extrusion' I mean something akin to linear_extrusion(), but in which the 2D profile gradually gets smaller as it extrudes further. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,įITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.I've been searching/googleing, and I'm unable to figure out how to do a 'tapered extrusion' in openscad. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ![]() In all copies or substantial portions of the Software. The above copyright notice and this permission notice shall be included Software is furnished to do so, subject to the following conditions: The rights to use, copy, modify, merge, publish, distribute, sublicense,Īnd/or sell copies of the Software, and to permit persons to whom the To deal in the Software without restriction, including without limitation Permission is hereby granted, free of charge, to any person obtaining aĬopy of this software and associated documentation files (the "Software"), There are other options out there, but this one is MIT licensed – so use it to your heart’s content! This basically is a cylinder that you can pick how many degrees of the circle to draw. Unfortunately, OpenScad does not have a wedge.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |