mods issueshttps://gitlab.cba.mit.edu/pub/mods/-/issues2019-11-16T15:37:18Zhttps://gitlab.cba.mit.edu/pub/mods/-/issues/9Porting Trotec lasercutter Fab Module to mods2019-11-16T15:37:18ZAgnes Fury CameronPorting Trotec lasercutter Fab Module to modsPorting [Trotec fabmodule](http://fabmodules.org/outputs/mod_Trotec.js) to mods, using Epilog mod/[fabmodule](http://fabmodules.org/outputs/mod_Epilog.js) conversion as a model. A couple of questions regarding variable names:
* speed v...Porting [Trotec fabmodule](http://fabmodules.org/outputs/mod_Trotec.js) to mods, using Epilog mod/[fabmodule](http://fabmodules.org/outputs/mod_Epilog.js) conversion as a model. A couple of questions regarding variable names:
* speed vs velocity -- in the Epilog mod and fab module, speed is speed; for Trotec it's called velocity. It's also scaled by a factor, though I believe this is just to adjust to different Trotec models.
* rate vs frequency -- same issue: Epilog has a rate, Trotec has a frequency.
Are these differences intentional? At the moment the variable names in the Trotec mod correspond to the fabmodule (rather than the Epilog mod).
The new module is on the branch `trotec-port`https://gitlab.cba.mit.edu/pub/mods/-/issues/8printerserver.js for modela mdx 202019-09-18T15:58:25ZFilippos Tourlomousisprinterserver.js for modela mdx 20I have been trying to talk to modela mdx 20 and whenever I run in the js folder the following command:
node printserver.js ::ffff:127.0.0.1 1234
I get the following error:
![printeserver-error](/uploads/3913f999eb09107af0196a5ca125d4...I have been trying to talk to modela mdx 20 and whenever I run in the js folder the following command:
node printserver.js ::ffff:127.0.0.1 1234
I get the following error:
![printeserver-error](/uploads/3913f999eb09107af0196a5ca125d47a/printeserver-error.png)
THen, I try to npm install the printer package (https://www.npmjs.com/package/printer)that is missing from the node_modules and I get the following error:
![printeserver-error-2](/uploads/7bce79846490bf26e5d0e7f38d7345b6/printeserver-error-2.png)
Then I try to rebuild using the following commands:
npm install -g node-gyp
npm install printer --msvs_version=2013
and I get the same error.
Then I tried also with the node version manager (nvm) many different older node versions.
I'm running out of options due to my experience. Any ideas please?https://gitlab.cba.mit.edu/pub/mods/-/issues/6Open local program/module doesn't work on Chrome/Safari2017-11-15T19:49:13ZSean HickeyOpen local program/module doesn't work on Chrome/SafariOn Chrome and Safari browsers, the "open local program" and "open local module" options don't trigger the file input dialog. The culprit appears to be lines 74 and 132 (respectively) of mods.js which attempts to trigger the file input di...On Chrome and Safari browsers, the "open local program" and "open local module" options don't trigger the file input dialog. The culprit appears to be lines 74 and 132 (respectively) of mods.js which attempts to trigger the file input dialog using a generated click event. After [digging around on the internet a bit](https://stackoverflow.com/a/25886585), it seems likely that this is a security concern for these browsers which will only trigger a click event form an actual click from a user. I quickly tried implementing a few workarounds just to see if I could get it to work at all, but no luck. The simplest fix is probably to turn this part of the UI into an actual button that the user can click (and thus will generate a proper click event).https://gitlab.cba.mit.edu/pub/mods/-/issues/5System Features2017-11-15T20:12:47ZJake ReadSystem Features## 'system' - level features I am keen to implement
### Debug
- 'pipe inspector' - what is in this data line? when is it updating?
- UI shows some evidence that events are firing - lines 'heat up' or draw momentary event-paths...
###...## 'system' - level features I am keen to implement
### Debug
- 'pipe inspector' - what is in this data line? when is it updating?
- UI shows some evidence that events are firing - lines 'heat up' or draw momentary event-paths...
### Dataflow
- merge, split (a-la grasshopper)
- requires some thought w/r/t how data is globally handled. what can a mod expect is in any given data line? ask for all to have 'identifier' object, which contains some kind of header?
- simple maths expression evaluator? sliders?
### Layering & Abstraction
- mods-in-mods i.e. bundles...
- mods-as-function-calls within mods (woah) (if writing new mod, can call image_threshold(yourdata) / alternately with the graphic mod)
- good 'graduating' exercise, pulling users from graphic programming into 'real' programming
- requires some thought w/r/t events, etc. not-so-simply function returns.Jake ReadJake Readhttps://gitlab.cba.mit.edu/pub/mods/-/issues/4UI 'First Crack'2017-09-29T22:50:47ZJake ReadUI 'First Crack'## For a first run at the UI, things I have been considering
### Navigation
- zoom in / out
- click & drag
- event firing display? i.e. less ambiguity as to when things are 'happening'
### Prettyness
- square boxes (no 'mashed-toge...## For a first run at the UI, things I have been considering
### Navigation
- zoom in / out
- click & drag
- event firing display? i.e. less ambiguity as to when things are 'happening'
### Prettyness
- square boxes (no 'mashed-together boxes')
- collapse-able preview windows
- abstraction-at-levels (i.e. when zoomed out, less detail)Jake ReadJake Readhttps://gitlab.cba.mit.edu/pub/mods/-/issues/3plans2017-09-06T16:46:53ZNeil Gershenfeldplans* port GCC: ?
* test Epilog: Neil to find
* test Windows: Justin
* UI improvements: Jake
* cross-origin: Neil
* bug-fixes: Neil
* import 3D toolpaths from fabmodules.org: Neil
* high-speed toolpaths: Jake
* pcb.cad replacement: Neil
* po...* port GCC: ?
* test Epilog: Neil to find
* test Windows: Justin
* UI improvements: Jake
* cross-origin: Neil
* bug-fixes: Neil
* import 3D toolpaths from fabmodules.org: Neil
* high-speed toolpaths: Jake
* pcb.cad replacement: Neil
* port Trotec: ?
https://gitlab.cba.mit.edu/pub/mods/-/issues/2mill_raster_2D doesn't guarantee inside-out ordering2017-09-05T12:27:11ZSam Calischmill_raster_2D doesn't guarantee inside-out orderingThe mill_raster_2D module used to give an inside-out path order when you turn off distance sort and select the "reverse" path order. This is important for milling shapes with internal cutouts (vias, bolt holes, internal features, etc.) ...The mill_raster_2D module used to give an inside-out path order when you turn off distance sort and select the "reverse" path order. This is important for milling shapes with internal cutouts (vias, bolt holes, internal features, etc.) because if you mill the outside path first, the part is freed (or only held by a small amount of double sided tape). Mostly this is fine, but it causes any critical dimensions to be off (and can occasionally be catastrophic to the job).
Here is a file that I can't get mill_raster_2D to give an inside-out path ordering for: https://gitlab.cba.mit.edu/calischs/step/blob/72a9f3030bf49428b4fe0fcd754d39693b8782a4/nrf52-stepper/nrf52-stepper-interior.pnghttps://gitlab.cba.mit.edu/pub/mods/-/issues/1vectorize module passes undefined paths variable2017-09-05T12:28:54ZSam Calischvectorize module passes undefined paths variableTo recreate:
* Get this PCB traces file: https://calischs.pages.cba.mit.edu/nrf52/bc832-ftdi/bc832-nrf-ftdi-traces.png
* Open SRM-20 PCB server program
* Input file and select "mill traces". Change offset number to 0 to fill.
* At some...To recreate:
* Get this PCB traces file: https://calischs.pages.cba.mit.edu/nrf52/bc832-ftdi/bc832-nrf-ftdi-traces.png
* Open SRM-20 PCB server program
* Input file and select "mill traces". Change offset number to 0 to fill.
* At some point the variable "sortpath" in vectorize will become undefined and the routine will halt. We get a "cannot read length of undefined" in console.
* Unchecking "sort distance" in the vectorize module eliminates the problem.
Seems like a bug. I haven't had time to investigate more thoroughly, but I just wanted to make a note of this.