Skip to content

Instantly share code, notes, and snippets.

@tmpvar
Created August 18, 2014 01:03
Show Gist options
  • Save tmpvar/af0f5cdfbddabc7be027 to your computer and use it in GitHub Desktop.
Save tmpvar/af0f5cdfbddabc7be027 to your computer and use it in GitHub Desktop.
echo "cube 1 1 1 1 1 1" |cmd/index.js --oce=../net-oce/out/bin/net-oce
> [ { id: 1 } ]
@tmpvar
Copy link
Author

tmpvar commented Aug 18, 2014

echo "export_stl(test.stl,op_union(cube(1,1,1,10,10,10),cube(5,5,5,8,8,10))" | cmd/index.js --oce=../net-oce/out/bin/net-oce
> { seq: 1,
  id: 0,
  value:
   [ { type: 17,
       double_value: 0,
       float_value: 0,
       int32_value: 0,
       int64_value: 0,
       uint32_value: 0,
       uint64_value: 0,
       sint32_value: 0,
       sint64_value: 0,
       fixed32_value: 0,
       fixed64_value: null,
       sfixed32_value: 0,
       sfixed64_value: null,
       bool_value: false,
       string_value: 'scene has no objects',
       bytes_value: null,
       operation: null } ] } [Function]
[ undefined ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment