Decompose Smart Components

Hello, is there a script or a way to decompose ONLY smart components?

In what circumstance do you like to run the script?

Added a new script in my repository: Decompose Components by type.

5 Likes

Thank youuuu!

As a follow-up to Yoshi’s comment, is there a way to decompose only the parts of the glyph which use smart components and not the entire glyph?

For example- Glyph KhaRa is made up of two components. Component 1- KhaHalf. Component 2- Rakar Danda(smart component).

In this KhaHalf is made of two diffrent smart components, bowl and connector. Both these come into play in the glyph KhaRa.

Upon using the script “Decompose Components by type” only the RakarDanda is getting decomposed. Is there a way to decompose KhaHalf as well?

The entire file is made of multiple such components. Is there a way to decompose only the parts of the glyphs using the smart component and not the entire glyph?

KhaHalf is not a smart component as far as Glyphs is concerned; I think you only need to check regular components in my script. Can you try that?

1 Like