I’m trying to create a script that use the Roughneizer plugin, I was looking to other script to learn how to call it, Could you give me some information about the methods needed for Roughenizer?
I’m very newbie with Python, with “methods” I refer the words between underscore, I don’t know if it’s the correct term.
I printed the entire Help on class GlyphsFilterOffsetCurve, but even with the search I don’t find any matches for “offsetL” … if I just search for “offset”, I only see 4 methods (setOffsetXField_, setOffsetX_, setOffsetYField_, setOffsetY_) and the 2 matching XField attributes for those. Same in the Method Reporter … When I search for Layer, I just see 3 runFilterWithLayer… methods. But they look different.
Is there a way to see what data type can be passed into each parameter? From this thread I found the method: offsetLayer_offsetX_offsetY_makeStroke_autoStroke_position_metrics_error_shadow_capStyle_keepCompatibleOutlines_
But I’m not sure what to pass into the method parameters.
What I’m trying to do is run the offsetFilter without the corners getting chopped, as in the attached image.