Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

The Symbols do not scale?! #167

@l0uisgrange

Description

@l0uisgrange

Discussed in #166

Originally posted by silincone February 4, 2026
I'm trying to scale down an isource or acvsource, and this is how it looks before and after:

code for original size:

#zap.circuit({
  import zap: *
      
  isource("i1", (0, 2), (0, 4), variant: "ieee")
  acvsource("v1", (2, 2), (2, 4))
})

code I used for scaling:

#zap.circuit(length: 0.4cm, {
  import zap: *
      
  isource("i1", (0, 2), (0, 4), variant: "ieee")
  acvsource("v1", (2, 2), (2, 4))
})

You see, when I do it, the images, or whatever they are called, which are inside the symbol aren't scaling. How to fix that?

Here is what the output generated looks like:

image

Doing this does help isource, but not acvsource:

isource("i1", (0, 2), (0, 4), variant: "ieee", scale: 0.6)

Metadata

Metadata

Assignees

Labels

staleThis issue has not been updated for a long time

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions