wireviz / WireViz

Easily document cables and wiring harnesses.
GNU General Public License v3.0
4.22k stars 219 forks source link

[query] CHASSIS GROUND (MAIN) #397

Closed akikinho closed 1 day ago

akikinho commented 1 week ago

Hello, Is there a way to show the chassis ground (main) in Wireviz ? Can it be shown using splice?

Thank you and Best Regards,

martinrieder commented 1 week ago

Try creating a connector with style: simple and type: GROUND attributes. It is a bit counter-intuitive that type describes the label that is displayed. Effectively, this kind of connector is also what can be used as a splice.

kvid commented 1 week ago

Try creating a connector with style: simple and type: GROUND attributes.

That will work, and a "Connector, GROUND" entry will be added to the BOM unless you also add connector attribute ignore_in_bom: true.

It is a bit counter-intuitive that type describes the label that is displayed. Effectively, this kind of connector is also what can be used as a splice.

The type describes the type of connector (not label) and is also used in the BOM entry. The name of a simple connector is hidden by default unless you also add connector attribute show_name: true.

It's also possible not providing a type, but with an empty type, the connector node becomes very tiny unless also adding the name or e.g. an image like this: chassis-ground-smaller drawio

martinrieder commented 1 week ago

It's also possible not providing a type, but with an empty type, the connector node becomes very tiny unless also adding the name or e.g. an image like this: chassis-ground-smaller drawio

Defining the type as Unicode Ground Symbol U+23EA might work as well. See this table for other symbols. 928px-UCB_Miscellaneous_Technical.png Source: Wikipedia

kvid commented 1 week ago

Chassis ground is not necessarily the same as earth ground (U+23DA), and I didn't find the chassis ground symbol as a unicode character.

akikinho commented 1 day ago

Thank you @kvid @martinrieder !