Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Step by step for Clj noobs? #13

Closed
Brick-Tamland opened this issue Apr 9, 2018 · 3 comments
Closed

Step by step for Clj noobs? #13

Brick-Tamland opened this issue Apr 9, 2018 · 3 comments

Comments

@Brick-Tamland
Copy link

Clojure noob here. Got lost somewhere along the way, wondering if someone could point me in the right direction?

Get Clojure runtime. check.
Get Leiningen. Check
Get OpenSCAD. Check.
Cloned adereth/dactyl-keyboard repo. Check.
Open things/*Scad file in OpenSCAD. Cool.

Now here is where I am lost:
Have Dactyl.clj open in Sublime3
Changed rows to 6x6
Saved.
in Terminal Cd to src/dactyl-keyboard/dactyl.clj
Lein repl.
load-file "src/dactyl-keyboard/dactyl.clj"
Get this ouput:
#object[clojure.lang.RT$3 0x6106f905 "clojure.lang.RT$3@6106f905"]
"src/dactyl_keyboard/dactyl.clj"

And no changes to things/*scad files or to OpenSCAD render?

@l4u
Copy link

l4u commented Apr 11, 2018

Edit src/dactyl_keyboard/dactyl.clj with

(def nrows 6)
(def ncols 6)

run lein repl. I did this in the root of the project.
In the REPL, run (load-file "src/dactyl_keyboard/dactyl.clj"). Note that the parentheses are required.

The output should be #'dactyl-keyboard.dactyl/-main

Open things/left.scad, and you should be able to see the new files.

@Brick-Tamland
Copy link
Author

Great googly moogly. {hand slaps forehead} @l4u Thank you!

@l4u
Copy link

l4u commented Apr 12, 2018

@Brick-Tamland I've just made a PR for improving this process.
see #15

20lives pushed a commit to 20lives/Dactyl-Manuform that referenced this issue Oct 28, 2019
Renamed a file (from `aux` to `auxf`) to work around restrictions
inherited from MS DOS into current versions of Windows. Fixes tshort#13.
pierre-vo pushed a commit to pierre-vo/Dactyl-Manuform that referenced this issue Oct 31, 2023
Fixed stacktraces when using different thumb layouts, and when disabling OLED.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants