Loading

Vector library for OpenScad

by obijuan, published

Vector library for OpenScad by obijuan Sep 8, 2012

Contents

Liked By

View All

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag.

Print Thing Tag

Thing Statistics

7499Views 1158Downloads Found in Robotics

Summary

This is a Vector library for drawing vectors in Openscad. It is extremely useful for designing robots and viewing their kinematics. In addition, it gives a lot of help when designing parts by means of displaying auxiliary vectors and frames of reference.

Another very useful operator is "orientate()" which make the child to point in the direction given by a vector.

The vector library is part of the tools I am developing for making it easier the use of Openscad. These tools are called obiscad. They are located in this repo:

https://github.com/Obijuan/obiscad/

More information (in spanish) in this page:

http://www.iearobotics.com/wiki/index.php?title=Obiscad

Instructions

  • Uncompress the .zip file
  • Open the examples given in openscad

Drawing a vector is as easy as writting:

use < obiscad/vector.scad >
vector([10,10,10]);

If you want to make a part to have the orientation given by a vector, just use the orientate() operator:

orientate(v=[1,1,1], roll=0)
cube ([20,20,20]),center=true) // Change it by the oject you want to change orientation

There are more instructions in the library comments and examples.

More from Robotics

view more

All Apps

Upgrade this Thing with Thingiverse Apps

Tools and Utilities

Repair, slice, or enhance this Thing


Auto-magically prepare your 3D models for 3D printing. A cloud based 3D models Preparing and Healing solution for 3D Printing, MakePrintable provides features for model repairing, wall thickness...

App Info Launch App
Top