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

feat(vsource): Add configurable AC waveforms#191

Open
weiserhase wants to merge 1 commit intol0uisgrange:mainfrom
weiserhase:feat/ac-source-waveform
Open

feat(vsource): Add configurable AC waveforms#191
weiserhase wants to merge 1 commit intol0uisgrange:mainfrom
weiserhase:feat/ac-source-waveform

Conversation

@weiserhase
Copy link
Copy Markdown
Contributor

This PR adds waveform selection for AC sources, allowing them to render as sine, square, triangle, or sawtooth shapes instead of a fixed AC icon.

The new option is configurable through the existing source helper API, with aliases supported for common waveform names. I also updated the voltage source styling defaults and test fixtures to cover the new behavior.

Before/After Comparison
Before After
Before After
There is a issue that needs to be discussed. The sawtooth symbol is essentially an oscilloscope-style representation, depending on which IEC symbol _"reference"_ you follow.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant