Skip to content

How to use Emacs-SCAD in org-babel mode? #4

@philipsd6

Description

@philipsd6

I can't figure out why the Org Babel method isn't working for me. I've got an org document containing:

* Testing SCAD
#+name: cube
#+begin_src scad :results file :file-ext scad
cube([8,8,8]);
#+end_src

If I execute that block with C-c C-c I see Code block evaluation complete. in the minibuffer and I get:

#+RESULTS: cube
[[file:cube.scad]]

But the cube.scad buffer is empty. If I tangle the whole file with C-c C-v C-t I see Tangled 0 code blocks from testing.org.

Additionally, since a Scad code block requires :file header argument it's unclear how I can iteratively build up a SCAD file. I'm used to doing literate coding with org-babel, where I expect to have commentary about what I'm doing as I create each part going into the design. Each block would either overwrite the file or be a separate file, right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions