Skip to content

Commit

Permalink
fix error with demo program
Browse files Browse the repository at this point in the history
  • Loading branch information
drunsinn committed Dec 14, 2020
1 parent 943ac49 commit 322967f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions type2nc/demo_pgm_template_conventional.H
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,14 @@ QS10 = QS10 || "%0x0645%0x0631%0x062d%0x0628%0x0627 "
QS10 = QS10 || "%0x0628%0x0627%0x0644%0x0639%0x0627%0x0644%0x0645 "
;
;
Q1600 = 0 ;surface in Z
Q1601 = - 0.5 ;depth
Q1602 = 5 ;safe height
Q1605 = 6000 ;feedrate
Q1606 = 10 ;aprox. font height
Q1607 = 5 ;angle
;
QS500= QS10 ;GRAVIERTEXT
Q513=+10 ;ZEICHENHOEHE
;Q514=+0 ;FAKTOR ABSTAND
;Q515=+0 ;SCHRIFTART
;Q516=+0 ;TEXTANORDNUNG
Q374=+2 ;DREHLAGE
;Q517=+0 ;KREISRADIUS
Q207= AUTO ;VORSCHUB FRAESEN
Q207=+1000 ;VORSCHUB FRAESEN
Q201=-0.5 ;TIEFE
Q206=+50 ;VORSCHUB TIEFENZ.
Q200=+2 ;SICHERHEITS-ABST.
Expand Down
2 changes: 1 addition & 1 deletion type2nc/type2nc.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def _get_paths_of_char(self, font_face, char):
# split the list of all the points in separate parts
# with the right amount for each contour type
for j in range(1, len(points)):
# skipp first point as it is already in the list
# skip first point as it is already in the list
segments[-1].append(points[j])
if tags[j] & (1 << 0) and j < (len(points) - 1):
segments.append([points[j], ])
Expand Down

0 comments on commit 322967f

Please sign in to comment.