Add node on all corresponding masters

Hi, Im currently working on large family with 12 masters. Is it possible to add node on all masters at once, without need to go thru all masters and add points manually?

thnx

We are working on this.

3 Likes

If that workaround works for you, you can use functions like Reconnect Nodes or Open Corner with the Opt key held down.

This little script splits selected segments in all masters in half. We use when we have a lot of Masters

#MenuTitle: SelectedSplit Segment in all Masters
# by Mist Zetafonts
__doc__="""
Split Selected Segment in all Masters
"""
MacroTab.title = "Split Selected Segment in all Masters"

def SplitSelSegmentsMaster(layer, nodelist):
	if(not nodelist): return False
	for P in layer.paths:
		for N in P.nodes[::-1]:
			for nodeId in nodelist:
				if N.index==nodeId:
					print("Layer: ", layer.layerId, " Node:",nodeId)
					if(not P.insertNodeWithPathTime_(N.index+0.5)):
						return False

def SplitAllMasterSelSegments():
	F = Glyphs.font
	F.disableUpdateInterface()

	glyph = Layer.parent
	Count = len(F.masters) 
	
	#FIND SEGMENT TO SPLIT in current layer
	nodelist = []
	for P in Layer.paths:
		# backward nodes
		for N in P.nodes[::-1]:
			if N.selected and N.prevNode.selected and  N.type != OFFCURVE:
				nodelist.append(N.index)
	
	#SPLIT NODE FOR EVERY MASTER
	for master in F.masters:
		SplitSelSegmentsMaster(glyph.layers[master.id],nodelist)
		
	F.enableUpdateInterface()
	return True
	
SplitAllMasterSelSegments()
2 Likes

this one is nice! thank you