Simple macro question

Hello, I would like to make a macro or shortcut that offsets a planar curve both sides 5mm and then extrudes these offset curves both sides 10mm.
Can anyone help?
How would I get the macro to use the offet curves for the extrude?

Hi @tom11
Offset 5cm Bothsides=Yes Cap=None Enter SelLast Extrude Bothsides=Yes 10cm Enter
HTH, Jakob
Edit Just added a few details - sorry :slight_smile:

Thanks, had trouble with that, but this seems to work.

_Offset 5mm Bothsides=yes pause SelLast pause ExtrudeCrv 10mm Bothsides=yes DeleteInput=No

But only works in the macro editor, not as an alias, any idea how I could make it work as an alias?

Hi @tom11
Ah, it might be pre-selecting or not? Here’s one that should work with both:
Offset Pause 5cm Bothsides=Yes Cap=None Enter SelLast Extrude Bothsides=Yes 10cm Enter
That works both as an alias and in the macro editor, I think :slight_smile:

Edit: If not, where does it fail?

Fantastic, thanks this works perfectly. One quick thing, why do you need the cap=none ?

when you simply want to offset a curve without it being closed automatically which is the case in your case or not?