[OpenSCAD] Rounded Polygon

William Adams will.adams at frycomm.com
Fri May 3 12:12:32 EDT 2019


Thanks! I've got a module which I'm calling which checks for endmill shape
and either puts a ball-nose on it or not (debating on adding support for V
shapes as well).

On Fri, May 3, 2019 at 12:08 PM nop head <nop.head at gmail.com> wrote:

> I would make the shape by a cylinder and two linear extrudes stacked on
> top of each other. To round the divider I would use offset(r) offset(-2 *
> r) offset(r). That leaves the dimension the same but rounds both internal
> an external corners.
>
> On Fri, 3 May 2019 at 16:55, William Adams <will.adams at frycomm.com> wrote:
>
>> I'm hoping to eventually work up a general algorithm for subdividing an
>> arbitrary shape/area so that it can then be cut out using macros/modules
>> which I'll be defining in OpenSCAD (so as to have a 3D preview of a
>> project) and in some other programming languages as well (METAPOST seems
>> possible, Javascript/TPL (Tool Path Language) another, Python, or LiveCode
>> distant possibilities.
>>
>> Basically I want to be able to have rounded ends on the dividers in:
>>
>>
>> https://community.carbide3d.com/t/fitted-box-design-generator-underway/13437/2
>>
>> [image: cncboxfitted_3x3_round_divider.png]
>>
>> instead of the sharp points.
>>
>> William
>>
>>
>>
>> On Fri, May 3, 2019 at 11:32 AM adrianv <avm4 at cornell.edu> wrote:
>>
>>> Yes, what I meant by "teardrop" is an edge which combines 45 degrees of a
>>> circular arc with a bevel at 45 deg so that the edge can be 3d printed
>>> without support---with the bevel down there are no unsupported areas at
>>> lower than a 45 deg angle.
>>>
>>>
>>> William Adams-2 wrote
>>> > Okay. Discussion of a list of two-dimensional shapes,
>>> > mathematical/programmatic techniques for dividing shapes into regions,
>>> and
>>> > the possible shapes which one can use in such deconstruction.
>>>
>>> I really don't understand your question.  When people talk of dividing 2d
>>> shapes into regions they usually mean triangulating the shape.  But it
>>> sounds like you mean something else.  Maybe you should give a specific
>>> example?
>>>
>>>
>>>
>>>
>>> --
>>> Sent from: http://forum.openscad.org/
>>>
>>> _______________________________________________
>>> OpenSCAD mailing list
>>> Discuss at lists.openscad.org
>>> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>>>
>> _______________________________________________
>> OpenSCAD mailing list
>> Discuss at lists.openscad.org
>> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>>
> _______________________________________________
> OpenSCAD mailing list
> Discuss at lists.openscad.org
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20190503/8c811092/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cncboxfitted_3x3_round_divider.png
Type: image/png
Size: 45471 bytes
Desc: not available
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20190503/8c811092/attachment.png>


More information about the Discuss mailing list