System - tool
Fien Stappaerts
grid on material solid black background white fn mol1 group 1 box 2 2 2 translate 5 0 0 box 1 1 10 translate 5 0 0 box 1 1 1 translate 5 0 0 mol1 fn mol2 group 2 lsys FF+FFFffFFF-FFFFFFfF mol2 fn org1 mol2 mol1 mol2 org1 fn org2 mol2 mol2 org2 fn comb1 org1 translate 20 0 30 org1 translate -40 0 -40 org1 translate 20 0 30 org1 comb1 fn comb2 org2 org2 translate -30 0 0 org2 translate 40 0 40 org1 org2 org2 org2 org1 comb2 fn total translate -200 0 20 comb1 translate 40 0 -60 comb1 translate 40 0 -60 comb2 translate -180 0 -120 comb2 translate -200 0 20 comb1 translate 40 0 -60 comb1 translate 40 0 -60 comb2 comb2 total extrude 10 group 1 extrude 5 group 2
// information about instructions -------------------------------- // build instructions plane x z // plane needs two commands e.g. plane 5 10 box x y z // box needs three commands e.g. box 8 5 6 lsys Ff+- F = box 1 1 1 f = break + = rotate 90° - = rotate -90° // lsys can use as many of the 4 commands as you want e.g. lsys FFF+fFF-FFFFFFF extrude y // extrude needs one command e.g. extrude 5 -------------------------------- // move instructions translate x y z // translate needs three commands e.g. translate 10 0 5 -------------------------------- // function instructions fn randomname build instructions randomname // fn needs one name that you can choose yourself e.g. function molecule1 // you can call a function in another function // the elements you add in the function need to indent two spaces // to make it work you need to call the name of the function afterwards -------------------------------- // group instructions group # // group needs one command e.g. group 2 extrude # group # // to extrude the group you already established e.g. extrude 10 group 2 -------------------------------- // material and scene instructions camera persp/ortho // camera needs one command e.g. camera ortho grid on/off // grid needs one command e.g. grid on background any value of color // background needs one command e.g. background yellow or background #FF0000 material solid and any value of color or material wireframe or material matcap // material needs one or two commands e.g. material wireframe or material solid red or material solid #6BFF42
Save
Export SVG