Spaces in sheet name

Hi all,

I am recreating in KiCad an existing schematic available only as an image. I am also using hierarchical sheets to simplify the original “all in one sheet” design.

Is it legal—or wise—to have spaces in the Sheet name?
For example, I am using “Joystick Ports” as sheet name and joystick.sch as file name.

Thanks.

Sheet name is just a comment really. I usually have spaces in mine.
File names should not have spaces for portability across operating systems, I use underscore to avoid this

Hi David,
Thanks for replying.

I asked because I remembered that the Sheet Name was somehow involved in the creation of net names and I wasn’t sure whether spaces could affect other tools consuming the netlist.

I have re-read the Eeschema manual and it seems I was wrong. It’s the Sheet Number that is used to generate net names.

Anyway, I’ll see what happens once I finish my design and run DRC :grin:

KiCad internal tools will handle spaces at places where KiCad allows you to include them. You will most likely never run into problems even if used in a file name. However, if you use external tools like for example a BOM script then you could run into trouble if that script is not setup to handle spaces correctly.

That doesn’t sound correct ? All the netnames I have seen have the Sheet Name, and that may contain spaces. e.g. from currently open project

    (net (code 62) (name "/Small PCB/LCD_RW")
      (node (ref LCD1) (pin 5))
      (node (ref J10) (pin 4)))
    (net (code 63) (name "/Small PCB/LCD_EN")
      (node (ref J10) (pin 6))
      (node (ref LCD1) (pin 6)))
    (net (code 64) (name "/Small PCB/LCD_RS")
      (node (ref LCD1) (pin 4))
      (node (ref J10) (pin 8)))

So, maybe I remembered correctly.

In Simple labels it says that numbers are used but maybe for a different reason (i.e. for making local labels unique.)

@bobc what type of labels are the ones you quoted in your example?

They are local labels. I am fairly certain that part of the manual refers to an old version of KiCad, and it is no longer correct.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.