Jessica Rosenkrantz
 jrosenk at mit.edu

 4.207
 Formal Design
 Knowledge and
 Programmed Constructs

 index

  --->01
  --->02
  --->03
  --->04

 Assignment 03:
 Smart Connection Device

+ load code
+ view code

This AutoLisp file takes an input of two lines. Type device and select two lines that you would like to build a staircase between. For parallel lines it constructs a single or double run staircase of usable dimensions. For skew lines it should generate a spiral staircase but this has only been partially implemented and does work. Lines that intersect in 3D space cannot have a staircase built between them.

coordinates of the test lines shown:
1) ( (0,0,0) (0,1,0) ) & ( (4,0,12) (4,1,12) )
2) ( (10,0,0) (10,1,0) ) & ( (10,0,27) (10,1,27) )
3) ( (20,0,0) (20,1,0) ) & ( (30,0,6) (30,1,6) )
4) ( (4,15,10) (4,16,10) ) & ( (0,15,0) (0,16,0) )