cascode-labs/morpheus

Placement does not respect grid

Closed this issue · 1 comments

When placing DUT, terminals, and wires, morpheus does not place on the grid causing strange offsets and non-snapping wires.
This is a problem if edits are required as connections become confusing.

Added "gridSize" to schematic class using the, "self.ws.sch.GetEnv("schSnapSpacing")" command.
This is done in planning rather than in placement, meaning space is allocated correctly by ceiling the x,y values to grid.

66aff80