## NaNs in vertex of POLY (Startwidth-Endwidth)

Moderator: andrew

Forum rules
Always indicate Operating system, QCAD version
Attach Drawing files, Screenshots
Post one question per topic.
Krischu
Senior Member
Posts: 134
Joined: Thu Jul 04, 2019 8:11 am

### NaNs in vertex of POLY (Startwidth-Endwidth)

What does it mean when I see these NaNs (not a number) when cycling through the vertices of a polygon?
Can I neglect them?
--
Christoph

CVH
Premier Member
Posts: 1031
Joined: Wed Sep 27, 2017 4:17 pm
Location: Belgium; Antwerp

### Re: NaNs in vertex of POLY (Startwidth-Endwidth)

In relation with local width?
QCADpro 3.25.2.1 / win7pro 32 bit / 4GB / 1e generation i7 2.6Ghz / HDD GeForce GT 520

Krischu
Senior Member
Posts: 134
Joined: Thu Jul 04, 2019 8:11 am

### Re: NaNs in vertex of POLY (Startwidth-Endwidth)

CVH wrote:
Thu Sep 26, 2019 2:53 pm
In relation with local width?
What you mean?
M_Boden_1_ok.dxf
When I convert these line segments to polyline and cycle through the vertices, vertex[0] has Startwidth and Endwith 0. Vertices [1-7] all have NaN in that field.
--
Christoph

CVH
Premier Member
Posts: 1031
Joined: Wed Sep 27, 2017 4:17 pm
Location: Belgium; Antwerp

### Re: NaNs in vertex of POLY (Startwidth-Endwidth)

Poly line global/Local width is something apart from lineweight.
Normal lines, arcs don't have that.
A Poly created of pieces doesn't have a source for widths.
I presume NaN or undefined is at its place here.

In time this can become non uniform.
Combining with pieces of: arcs, lines, polys, exploded or approximated entities.

Some CAM don't like that.
Set Global Width to zero will set them all to zero.
Some CAM don't like that either.
Set it to 0.01 or 1 or what will work.

An other argument CAM may not like is Polyline Pattern.
If your CAM fails with on, like mine, set it to No.

Regards,
CVH
QCADpro 3.25.2.1 / win7pro 32 bit / 4GB / 1e generation i7 2.6Ghz / HDD GeForce GT 520

Krischu
Senior Member
Posts: 134
Joined: Thu Jul 04, 2019 8:11 am

### Re: NaNs in vertex of POLY (Startwidth-Endwidth)

Thanks. Global Width to 0 did it. At least, made the NaNs disappear. Actually they didn't bother me, was just curious.
Did not yet stumble across an incompatibility with other CAMs. Will only be interesting when it comes to importing the DXF into Blender.

I'm not yet at that point, though.
--
Christoph