Author Topic: Offset with Z component plugin (Offset+Z)  (Read 4214 times)

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5232
  • Made in England
    • View Profile
Offset with Z component plugin (Offset+Z)
« on: December 24, 2017, 09:48:30 am »
In the process of playing with this idea;
I found or rediscovered that issues exist when using Edit->Offset on an entity that is not at Z=zero.
What happens is, the created offset entity always sits at zero on the Z plane regardless of where the original entity was placed.

This plugin, offset2.dll
1. is found at menu position, Edit->Offset+Z
2. e.g. if a circle is at Z = -10 then the created offset polyline will also be at Z = -10
3. entites must be flat in the Z plane, i.e. all their points must have the same Z value.
4. works with CamBam 0.9.8 and 1.0
5. works with , polyline, polyrectangle, line, arc, spline, circle

The image shows an example where the Red lines were offset by 1/4" resulting in the Cyan lines.
This is handly when using slices in the Z plane and offsets are required.
« Last Edit: December 24, 2017, 09:55:46 am by EddyCurrent »
Filmed in Supermarionation

Offline jeramenemafraise

  • Ewok
  • *
  • Posts: 8
    • View Profile
Re: Offset with Z component plugin (Offset+Z)
« Reply #1 on: December 24, 2017, 12:58:22 pm »
Super, nice job.
Merry Christmas

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7345
    • View Profile
    • Cambam V1.0 French Doc
Re: Offset with Z component plugin (Offset+Z)
« Reply #2 on: January 04, 2018, 15:46:47 pm »

I just add this plugin to the website.

Eddy, I get a crash if the value is smaller than the min value usable for the shape ; ex: a square of 40mm, if I try an offset = -20 or more the plugin crash  ;)

Undo is not working.

Happy new year !  ;D