Bug 228466 - [NEW PORT] cad/k40-whisperer: GUI control software for the stock K40 laser cutter controller
Summary: [NEW PORT] cad/k40-whisperer: GUI control software for the stock K40 laser cu...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mateusz Piotrowski
URL: http://www.scorchworks.com/K40whisper...
Keywords: feature, patch
Depends on:
Blocks:
 
Reported: 2018-05-24 17:31 UTC by Mateusz Piotrowski
Modified: 2018-09-26 12:40 UTC (History)
1 user (show)

See Also:


Attachments
Patch adding a new cad/k40-whisperer port (0.19) (4.51 KB, patch)
2018-05-24 17:31 UTC, Mateusz Piotrowski
no flags Details | Diff
Patch adding a new cad/k40-whisperer port (0.19, revision: 1) (4.51 KB, patch)
2018-05-25 12:01 UTC, Mateusz Piotrowski
no flags Details | Diff
Patch adding a new cad/k40-whisperer port (0.19, revision: 2) (4.53 KB, patch)
2018-05-27 00:59 UTC, Mateusz Piotrowski
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mateusz Piotrowski freebsd_committer freebsd_triage 2018-05-24 17:31:57 UTC
Created attachment 193662 [details]
Patch adding a new cad/k40-whisperer port (0.19)

It is a software to control some models of CNC laser cutters.

QA:
 - manual testing on FreeBSD 12.0 r333659 amd64. Works as intended; I was able to control one of the supported laser cutter.
 - portlint -AC
 - poudriere testport 11.1 amd64

Doubts:
 - I am not sure about the category. K40 Whisperer is not a CAD program. From what I've heard it should be categorized as CAM. Interestingly, there are some CAM packages under cad category.
Comment 1 Mateusz Piotrowski freebsd_committer freebsd_triage 2018-05-25 12:01:48 UTC
Created attachment 193685 [details]
Patch adding a new cad/k40-whisperer port (0.19, revision: 1)

Changes to the previous patch: improve wording in pkg-message.
Comment 2 Mateusz Piotrowski freebsd_committer freebsd_triage 2018-05-27 00:59:41 UTC
Created attachment 193743 [details]
Patch adding a new cad/k40-whisperer port (0.19, revision: 2)

Changes to the previous patch:
 * Use exec(1) in the k40-whisperer starting script to spawn one process less.
Comment 3 Mateusz Piotrowski freebsd_committer freebsd_triage 2018-07-19 01:19:40 UTC
Differential revision: https://reviews.freebsd.org/D16339
Comment 4 commit-hook freebsd_committer freebsd_triage 2018-09-19 22:45:15 UTC
A commit references this bug:

Author: 0mp
Date: Wed Sep 19 22:44:38 UTC 2018
New revision: 480119
URL: https://svnweb.freebsd.org/changeset/ports/480119

Log:
  New port: cad/k40-whisperer

  GUI control software for the stock K40 laser cutter controller

  K40 Whisperer is an alternative to the Laser Draw (LaserDRW) program that
  comes with some Chinese laser cutters. It reads SVG and DXF files,
  interprets the data and sends commands to the K40 controller to move the
  laser head and control the laser accordingly. K40 Whisperer does not
  require a USB key (dongle) to function.

  Features:
  - Reads SVG files and DXF files.
  - Splits input design based on color formatting (red, blue).
  - In SVG files blue and red paths are interpreted as vectors for vector
    engraving and cutting. Everything else is transferred as a raster image.
  - In DXF files blue paths are interpreted as vector engrave (blue).
    Everything else is interpreted as vector cut (red).
  - Performs cuts on features inside of other features before cutting the
    outside features. (If you cut the outside first the part might drop out
    of the stock material.)
  - Converts gray scale images to halftone images to simulating varying
    levels of gray (i.e. engraving pictures). The Halftone option needs to be
    selected under "Raster"-"Settings" to enable halftoning.

  WWW: http://www.scorchworks.com/K40whisperer/k40whisperer.html

  PR:		228466
  Reviewed by:	mat (mentor)
  Approved by:	mat (mentor)
  Sponsored by:   Warsaw Hackerspace
  Differential Revision:	https://reviews.freebsd.org/D16339

Changes:
  head/cad/Makefile
  head/cad/k40-whisperer/
  head/cad/k40-whisperer/Makefile
  head/cad/k40-whisperer/distinfo
  head/cad/k40-whisperer/files/
  head/cad/k40-whisperer/files/k40-whisperer.in
  head/cad/k40-whisperer/files/pkg-message.in
  head/cad/k40-whisperer/pkg-descr
  head/cad/k40-whisperer/pkg-plist