I have a suggestion: shell()

classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

I have a suggestion: shell()

Peter Uithoven
Hey guys, 

I was wondering if there are any updates on a offset function? 

Thanks in advance, 
Best regards, 
Peter Uithoven 
Reply | Threaded
Open this post in threaded view
|

Re: I have a suggestion: shell()

Triffid Hunter
On Wed, Aug 1, 2012 at 7:29 PM, Peter Uithoven <[hidden email]> wrote:
> I was wondering if there are any updates on a offset function?

like minkowski?

Reply | Threaded
Open this post in threaded view
|

Re: I have a suggestion: shell()

Peter Uithoven
Hi Triffid,

It's not really the same. Sure, in drawings with all straight (90 degrees) corners I can do a minkowski and use a rectangle for an offset. 
But when I have other angles it will distort the shape and when I use a circle it will round straight corners. 
For context, I'm experimenting with OpenSCAD to create 2D designs that I can lasercut and then you want to comensate for the width of the laser beam. Just like you have to compensate for the mill width when you cnc something.  
You can view some experiments online here. As you can see the offset really complicates most of these because at the moment I manually use it to alter all the shapes separately. 

Best regards,
Peter Uithoven 

On Wed, Aug 1, 2012 at 11:48 AM, Triffid Hunter <[hidden email]> wrote:
On Wed, Aug 1, 2012 at 7:29 PM, Peter Uithoven <[hidden email]> wrote:
> I was wondering if there are any updates on a offset function?

like minkowski?
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: I have a suggestion: shell()

nophead
If the laser beam is round isn't it correct that the path will have rounded corners?

On 1 August 2012 11:47, Peter Uithoven <[hidden email]> wrote:
Hi Triffid,

It's not really the same. Sure, in drawings with all straight (90 degrees) corners I can do a minkowski and use a rectangle for an offset. 
But when I have other angles it will distort the shape and when I use a circle it will round straight corners. 
For context, I'm experimenting with OpenSCAD to create 2D designs that I can lasercut and then you want to comensate for the width of the laser beam. Just like you have to compensate for the mill width when you cnc something.  
You can view some experiments online here. As you can see the offset really complicates most of these because at the moment I manually use it to alter all the shapes separately. 

Best regards,
Peter Uithoven 

On Wed, Aug 1, 2012 at 11:48 AM, Triffid Hunter <[hidden email]> wrote:
On Wed, Aug 1, 2012 at 7:29 PM, Peter Uithoven <[hidden email]> wrote:
> I was wondering if there are any updates on a offset function?

like minkowski?
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: I have a suggestion: shell()

Triffid Hunter
In reply to this post by Peter Uithoven
On Wed, Aug 1, 2012 at 8:47 PM, Peter Uithoven <[hidden email]> wrote:
> It's not really the same. Sure, in drawings with all straight (90 degrees)
> corners I can do a minkowski and use a rectangle for an offset.
> But when I have other angles it will distort the shape and when I use a
> circle it will round straight corners.
> For context, I'm experimenting with OpenSCAD to create 2D designs that I can
> lasercut and then you want to comensate for the width of the laser beam.
> Just like you have to compensate for the mill width when you cnc something.

Ah, you're after the classical polygon offset routine. All our slicers
use one internally, perhaps leverage existing slicers to do the offset
for you?

Reply | Threaded
Open this post in threaded view
|

Re: I have a suggestion: shell()

Peter Uithoven
Hi Triffid,

I'm not sure. I made the following example to show what I mean. 
Where can find these slicers? They sound interesting. 

// rectangular offset using minkowski & square
offset(1) #mushroom();
// round offset using minkowski & circle
translate([25, 0, 0])  roundOffset(1) #mushroom();
// desired offset:
#translate([50, 0, 0])  betterMushroom(0);
translate([50, 0, 0])  betterMushroom(1);
module mushroom()
{
difference()
{
circle(r=10);
translate([-10, 0, 0])  square(size=[20, 10]);
}
square(size=[15, 10],center=true);
translate([5, 5, 0])  circle(r=5,$fn=3);
}
module offset(value) //simple offset function, only works on objects with straigt corners
{
minkowski(){
union() for (i = [0 : $children-1]) child(i);
square([value*2,value*2],center=true);
}
}
module roundOffset(value) //simple offset function, only works on objects with straigt corners
{
minkowski(){
union() for (i = [0 : $children-1]) child(i);
circle(r=value,$fn=30);
}
}
module betterMushroom(offset)
{
difference()
{
circle(r=10+offset);
translate([-10-offset, 0, 0])  square(size=[20+offset*2, 10+offset]);
}
square(size=[20+offset*2, offset*2],center=true);
square(size=[15+offset*2, 10+offset*2],center=true);
translate([5, 5, 0])  circle(r=5+offset*2,$fn=3);
}

 

On Wed, Aug 1, 2012 at 1:44 PM, Triffid Hunter <[hidden email]> wrote:
On Wed, Aug 1, 2012 at 8:47 PM, Peter Uithoven <[hidden email]> wrote:
> It's not really the same. Sure, in drawings with all straight (90 degrees)
> corners I can do a minkowski and use a rectangle for an offset.
> But when I have other angles it will distort the shape and when I use a
> circle it will round straight corners.
> For context, I'm experimenting with OpenSCAD to create 2D designs that I can
> lasercut and then you want to comensate for the width of the laser beam.
> Just like you have to compensate for the mill width when you cnc something.

Ah, you're after the classical polygon offset routine. All our slicers
use one internally, perhaps leverage existing slicers to do the offset
for you?
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


offset issue.scad (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: I have a suggestion: shell()

Peter Uithoven
In reply to this post by Triffid Hunter
Hi Nop head,

No I'm afraid not. And if the offset isn't perfect you'll probably get rounded corners. If you have material that is slightly bend the distance to the laser will change during lasercutting, so it can easilly go wrong. 

Peter

On Wed, Aug 1, 2012 at 1:44 PM, Triffid Hunter <[hidden email]> wrote:
On Wed, Aug 1, 2012 at 8:47 PM, Peter Uithoven <[hidden email]> wrote:
> It's not really the same. Sure, in drawings with all straight (90 degrees)
> corners I can do a minkowski and use a rectangle for an offset.
> But when I have other angles it will distort the shape and when I use a
> circle it will round straight corners.
> For context, I'm experimenting with OpenSCAD to create 2D designs that I can
> lasercut and then you want to comensate for the width of the laser beam.
> Just like you have to compensate for the mill width when you cnc something.

Ah, you're after the classical polygon offset routine. All our slicers
use one internally, perhaps leverage existing slicers to do the offset
for you?
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: I have a suggestion: shell()

Peter Uithoven
In reply to this post by nophead
Hi Nop head,

No I'm afraid not. And if the offset isn't perfect you'll probably get rounded corners. If you have material that is slightly bend the distance to the laser will change during lasercutting, so it can easilly go wrong. 

Peter

On Wed, Aug 1, 2012 at 1:42 PM, nop head <[hidden email]> wrote:
If the laser beam is round isn't it correct that the path will have rounded corners?


On 1 August 2012 11:47, Peter Uithoven <[hidden email]> wrote:
Hi Triffid,

It's not really the same. Sure, in drawings with all straight (90 degrees) corners I can do a minkowski and use a rectangle for an offset. 
But when I have other angles it will distort the shape and when I use a circle it will round straight corners. 
For context, I'm experimenting with OpenSCAD to create 2D designs that I can lasercut and then you want to comensate for the width of the laser beam. Just like you have to compensate for the mill width when you cnc something.  
You can view some experiments online here. As you can see the offset really complicates most of these because at the moment I manually use it to alter all the shapes separately. 

Best regards,
Peter Uithoven 

On Wed, Aug 1, 2012 at 11:48 AM, Triffid Hunter <[hidden email]> wrote:
On Wed, Aug 1, 2012 at 7:29 PM, Peter Uithoven <[hidden email]> wrote:
> I was wondering if there are any updates on a offset function?

like minkowski?
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: I have a suggestion: shell()

nophead


On 1 August 2012 14:00, Peter Uithoven <[hidden email]> wrote:
Hi Nop head,

No I'm afraid not. And if the offset isn't perfect you'll probably get rounded corners. If you have material that is slightly bend the distance to the laser will change during lasercutting, so it can easilly go wrong. 

Yes if the laser is smaller say than the offset you would get a rounded corner but you also would get an object slightly too big. The error is no worse I think in terms of deviation from the intended shape. In fact, I think the corner ends up nearer to where it should be. Since the beam is only 0.2 to 0.3mm the rounded corner would have a minute radius, being the difference between the offset and the beam width..

Peter

On Wed, Aug 1, 2012 at 1:42 PM, nop head <[hidden email]> wrote:
If the laser beam is round isn't it correct that the path will have rounded corners?


On 1 August 2012 11:47, Peter Uithoven <[hidden email]> wrote:
Hi Triffid,

It's not really the same. Sure, in drawings with all straight (90 degrees) corners I can do a minkowski and use a rectangle for an offset. 
But when I have other angles it will distort the shape and when I use a circle it will round straight corners. 
For context, I'm experimenting with OpenSCAD to create 2D designs that I can lasercut and then you want to comensate for the width of the laser beam. Just like you have to compensate for the mill width when you cnc something.  
You can view some experiments online here. As you can see the offset really complicates most of these because at the moment I manually use it to alter all the shapes separately. 

Best regards,
Peter Uithoven 

On Wed, Aug 1, 2012 at 11:48 AM, Triffid Hunter <[hidden email]> wrote:
On Wed, Aug 1, 2012 at 7:29 PM, Peter Uithoven <[hidden email]> wrote:
> I was wondering if there are any updates on a offset function?

like minkowski?
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: I have a suggestion: shell()

Jim MacArthur
In reply to this post by Peter Uithoven
Hi Peter,

At the moment I use the Clipper library
(http://www.angusj.com/delphi/clipper.php) to do offsetting - I export
CSG from OpenSCAD and mangle that with Perl into a form Math::Clipper
will understand then offset by about 0.1mm, or inset by the same
amount for interior lines, then write out as SVG which my laser
cutting company understands. There are some examples of outsetting
type on that page. I'm using jtSquare at the moment.

Jim

On 1 August 2012 11:47, Peter Uithoven <[hidden email]> wrote:

> Hi Triffid,
>
> It's not really the same. Sure, in drawings with all straight (90 degrees)
> corners I can do a minkowski and use a rectangle for an offset.
> But when I have other angles it will distort the shape and when I use a
> circle it will round straight corners.
> For context, I'm experimenting with OpenSCAD to create 2D designs that I can
> lasercut and then you want to comensate for the width of the laser beam.
> Just like you have to compensate for the mill width when you cnc something.
> You can view some experiments online here. As you can see the offset really
> complicates most of these because at the moment I manually use it to alter
> all the shapes separately.
> http://www.thingiverse.com/peteruithoven
>
> Best regards,
> Peter Uithoven
>
> On Wed, Aug 1, 2012 at 11:48 AM, Triffid Hunter <[hidden email]>
> wrote:
>>
>> On Wed, Aug 1, 2012 at 7:29 PM, Peter Uithoven <[hidden email]>
>> wrote:
>> > I was wondering if there are any updates on a offset function?
>>
>> like minkowski?
>> _______________________________________________
>> OpenSCAD mailing list
>> [hidden email]
>> http://rocklinux.net/mailman/listinfo/openscad
>> http://openscad.org - https://flattr.com/thing/121566
>
>
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: I have a suggestion: shell()

Christopher Olah
Hey all,

I hate to self-promote, but I think it's worth noting that both
shell() and the "tapered extrusions" of a previous thread
(linear_extrude(...,r=radius_of_rounding_top) ) are features in
ImplicitCAD -- https://github.com/colah/ImplicitCAD .

Here's some example's of using shell() in ImplicitCAD:
http://www.thingiverse.com/thing:18054

Chris

On Wed, Aug 1, 2012 at 11:23 AM, Jim MacArthur <[hidden email]> wrote:

> Hi Peter,
>
> At the moment I use the Clipper library
> (http://www.angusj.com/delphi/clipper.php) to do offsetting - I export
> CSG from OpenSCAD and mangle that with Perl into a form Math::Clipper
> will understand then offset by about 0.1mm, or inset by the same
> amount for interior lines, then write out as SVG which my laser
> cutting company understands. There are some examples of outsetting
> type on that page. I'm using jtSquare at the moment.
>
> Jim
>
> On 1 August 2012 11:47, Peter Uithoven <[hidden email]> wrote:
>> Hi Triffid,
>>
>> It's not really the same. Sure, in drawings with all straight (90 degrees)
>> corners I can do a minkowski and use a rectangle for an offset.
>> But when I have other angles it will distort the shape and when I use a
>> circle it will round straight corners.
>> For context, I'm experimenting with OpenSCAD to create 2D designs that I can
>> lasercut and then you want to comensate for the width of the laser beam.
>> Just like you have to compensate for the mill width when you cnc something.
>> You can view some experiments online here. As you can see the offset really
>> complicates most of these because at the moment I manually use it to alter
>> all the shapes separately.
>> http://www.thingiverse.com/peteruithoven
>>
>> Best regards,
>> Peter Uithoven
>>
>> On Wed, Aug 1, 2012 at 11:48 AM, Triffid Hunter <[hidden email]>
>> wrote:
>>>
>>> On Wed, Aug 1, 2012 at 7:29 PM, Peter Uithoven <[hidden email]>
>>> wrote:
>>> > I was wondering if there are any updates on a offset function?
>>>
>>> like minkowski?
>>> _______________________________________________
>>> OpenSCAD mailing list
>>> [hidden email]
>>> http://rocklinux.net/mailman/listinfo/openscad
>>> http://openscad.org - https://flattr.com/thing/121566
>>
>>
>>
>> _______________________________________________
>> OpenSCAD mailing list
>> [hidden email]
>> http://rocklinux.net/mailman/listinfo/openscad
>> http://openscad.org - https://flattr.com/thing/121566
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: I have a suggestion: shell()

donbright
In reply to this post by Jim MacArthur
Hi Jim,

I would be very interested in if you saw any problems/issues
converting from floating point into ClipperLib's big integers and back
to floating point again? The ability to have some form of clipperlib
inside of OpenSCAD would be useful in more than one place (dealing
with self-intersecting DXF files is the first thing that comes to
mind) but the whole question of converting everything to integers and
back again at first glance would appear to present some interesting
problems.

-DB

On Wed, Aug 1, 2012 at 10:23 AM, Jim MacArthur <[hidden email]> wrote:

> Hi Peter,
>
> At the moment I use the Clipper library
> (http://www.angusj.com/delphi/clipper.php) to do offsetting - I export
> CSG from OpenSCAD and mangle that with Perl into a form Math::Clipper
> will understand then offset by about 0.1mm, or inset by the same
> amount for interior lines, then write out as SVG which my laser
> cutting company understands. There are some examples of outsetting
> type on that page. I'm using jtSquare at the moment.
>
> Jim
>
> On 1 August 2012 11:47, Peter Uithoven <[hidden email]> wrote:
>> Hi Triffid,
>>
>> It's not really the same. Sure, in drawings with all straight (90 degrees)
>> corners I can do a minkowski and use a rectangle for an offset.
>> But when I have other angles it will distort the shape and when I use a
>> circle it will round straight corners.
>> For context, I'm experimenting with OpenSCAD to create 2D designs that I can
>> lasercut and then you want to comensate for the width of the laser beam.
>> Just like you have to compensate for the mill width when you cnc something.
>> You can view some experiments online here. As you can see the offset really
>> complicates most of these because at the moment I manually use it to alter
>> all the shapes separately.
>> http://www.thingiverse.com/peteruithoven
>>
>> Best regards,
>> Peter Uithoven
>>
>> On Wed, Aug 1, 2012 at 11:48 AM, Triffid Hunter <[hidden email]>
>> wrote:
>>>
>>> On Wed, Aug 1, 2012 at 7:29 PM, Peter Uithoven <[hidden email]>
>>> wrote:
>>> > I was wondering if there are any updates on a offset function?
>>>
>>> like minkowski?
>>> _______________________________________________
>>> OpenSCAD mailing list
>>> [hidden email]
>>> http://rocklinux.net/mailman/listinfo/openscad
>>> http://openscad.org - https://flattr.com/thing/121566
>>
>>
>>
>> _______________________________________________
>> OpenSCAD mailing list
>> [hidden email]
>> http://rocklinux.net/mailman/listinfo/openscad
>> http://openscad.org - https://flattr.com/thing/121566
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: I have a suggestion: shell()

Giles Bathgate-2
In reply to this post by Christopher Olah
ImplicitCAD is awesome. At first I thought it was just another front
end "convert haskell into openscad and render" initiative as has been
posted here before. But it turns out not only has Christopher written
a programming language based CAD program from scratch, he has also
implemented it all without the use of powerful libraries such as CGAL
or OpenCASCADE, that's quite an impressive feat, its my understanding
that CSG operations are not "simple" to work out and the code base is
really small, so something really clever is going on there. It also
has some really nice features that OpenSCAD and RapCAD cannot compete
with. Everyone should check it out.

Good work Chris, hope to see more.

Regards

Giles

On 1 August 2012 19:29, Christopher Olah <[hidden email]> wrote:

> Hey all,
>
> I hate to self-promote, but I think it's worth noting that both
> shell() and the "tapered extrusions" of a previous thread
> (linear_extrude(...,r=radius_of_rounding_top) ) are features in
> ImplicitCAD -- https://github.com/colah/ImplicitCAD .
>
> Here's some example's of using shell() in ImplicitCAD:
> http://www.thingiverse.com/thing:18054
>
> Chris
>
> On Wed, Aug 1, 2012 at 11:23 AM, Jim MacArthur <[hidden email]> wrote:
>> Hi Peter,
>>
>> At the moment I use the Clipper library
>> (http://www.angusj.com/delphi/clipper.php) to do offsetting - I export
>> CSG from OpenSCAD and mangle that with Perl into a form Math::Clipper
>> will understand then offset by about 0.1mm, or inset by the same
>> amount for interior lines, then write out as SVG which my laser
>> cutting company understands. There are some examples of outsetting
>> type on that page. I'm using jtSquare at the moment.
>>
>> Jim
>>
>> On 1 August 2012 11:47, Peter Uithoven <[hidden email]> wrote:
>>> Hi Triffid,
>>>
>>> It's not really the same. Sure, in drawings with all straight (90 degrees)
>>> corners I can do a minkowski and use a rectangle for an offset.
>>> But when I have other angles it will distort the shape and when I use a
>>> circle it will round straight corners.
>>> For context, I'm experimenting with OpenSCAD to create 2D designs that I can
>>> lasercut and then you want to comensate for the width of the laser beam.
>>> Just like you have to compensate for the mill width when you cnc something.
>>> You can view some experiments online here. As you can see the offset really
>>> complicates most of these because at the moment I manually use it to alter
>>> all the shapes separately.
>>> http://www.thingiverse.com/peteruithoven
>>>
>>> Best regards,
>>> Peter Uithoven
>>>
>>> On Wed, Aug 1, 2012 at 11:48 AM, Triffid Hunter <[hidden email]>
>>> wrote:
>>>>
>>>> On Wed, Aug 1, 2012 at 7:29 PM, Peter Uithoven <[hidden email]>
>>>> wrote:
>>>> > I was wondering if there are any updates on a offset function?
>>>>
>>>> like minkowski?
>>>> _______________________________________________
>>>> OpenSCAD mailing list
>>>> [hidden email]
>>>> http://rocklinux.net/mailman/listinfo/openscad
>>>> http://openscad.org - https://flattr.com/thing/121566
>>>
>>>
>>>
>>> _______________________________________________
>>> OpenSCAD mailing list
>>> [hidden email]
>>> http://rocklinux.net/mailman/listinfo/openscad
>>> http://openscad.org - https://flattr.com/thing/121566
>> _______________________________________________
>> OpenSCAD mailing list
>> [hidden email]
>> http://rocklinux.net/mailman/listinfo/openscad
>> http://openscad.org - https://flattr.com/thing/121566
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: I have a suggestion: shell()

Jim MacArthur
In reply to this post by donbright
No, I just scaled up by 1000. My OpenSCAD drawings are in mm, so this
is much smaller than the resolution of a laser cutter. I didn't need
to convert back to floating point; I just wrote the results out as an
SVG.

On 1 August 2012 20:56, Don Bright <[hidden email]> wrote:

> Hi Jim,
>
> I would be very interested in if you saw any problems/issues
> converting from floating point into ClipperLib's big integers and back
> to floating point again? The ability to have some form of clipperlib
> inside of OpenSCAD would be useful in more than one place (dealing
> with self-intersecting DXF files is the first thing that comes to
> mind) but the whole question of converting everything to integers and
> back again at first glance would appear to present some interesting
> problems.
>
> -DB
>
> On Wed, Aug 1, 2012 at 10:23 AM, Jim MacArthur <[hidden email]> wrote:
>> Hi Peter,
>>
>> At the moment I use the Clipper library
>> (http://www.angusj.com/delphi/clipper.php) to do offsetting - I export
>> CSG from OpenSCAD and mangle that with Perl into a form Math::Clipper
>> will understand then offset by about 0.1mm, or inset by the same
>> amount for interior lines, then write out as SVG which my laser
>> cutting company understands. There are some examples of outsetting
>> type on that page. I'm using jtSquare at the moment.
>>
>> Jim
>>
>> On 1 August 2012 11:47, Peter Uithoven <[hidden email]> wrote:
>>> Hi Triffid,
>>>
>>> It's not really the same. Sure, in drawings with all straight (90 degrees)
>>> corners I can do a minkowski and use a rectangle for an offset.
>>> But when I have other angles it will distort the shape and when I use a
>>> circle it will round straight corners.
>>> For context, I'm experimenting with OpenSCAD to create 2D designs that I can
>>> lasercut and then you want to comensate for the width of the laser beam.
>>> Just like you have to compensate for the mill width when you cnc something.
>>> You can view some experiments online here. As you can see the offset really
>>> complicates most of these because at the moment I manually use it to alter
>>> all the shapes separately.
>>> http://www.thingiverse.com/peteruithoven
>>>
>>> Best regards,
>>> Peter Uithoven
>>>
>>> On Wed, Aug 1, 2012 at 11:48 AM, Triffid Hunter <[hidden email]>
>>> wrote:
>>>>
>>>> On Wed, Aug 1, 2012 at 7:29 PM, Peter Uithoven <[hidden email]>
>>>> wrote:
>>>> > I was wondering if there are any updates on a offset function?
>>>>
>>>> like minkowski?
>>>> _______________________________________________
>>>> OpenSCAD mailing list
>>>> [hidden email]
>>>> http://rocklinux.net/mailman/listinfo/openscad
>>>> http://openscad.org - https://flattr.com/thing/121566
>>>
>>>
>>>
>>> _______________________________________________
>>> OpenSCAD mailing list
>>> [hidden email]
>>> http://rocklinux.net/mailman/listinfo/openscad
>>> http://openscad.org - https://flattr.com/thing/121566
>> _______________________________________________
>> OpenSCAD mailing list
>> [hidden email]
>> http://rocklinux.net/mailman/listinfo/openscad
>> http://openscad.org - https://flattr.com/thing/121566
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566