No label defined (Q53949)

From Library of Open Source Hardware
Revision as of 20:28, 25 February 2022 by Aisberg (talk | contribs) (Reconciliation Edit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
No description defined
Language Label Description Also known as
English
No label defined
No description defined

    Statements

    0 references
    auto
    0 references
    www.thingiverse.com
    0 references
    Here's a simple molecular modeling program written in OPENscad. It's a derivative of the OPENscad program in "Protein Models". It contains two modules, "atom" and "bond". A call to atom makes a sphere and a call to bond makes a cylinder. Atom requires a radius and a set of atomic coordinates; bond requires two sets of atomic coordinates. For example to make a water molecule we could write: atom (.3, 0, 0, 0); // an Oxygen at the origin, .3 for its radius atom (.25, -.96, 0, 0); // for the first H atom, .25 for its radius atom (.25, .24, .93, 0); // for the second H atom bond (0,0,0,-.96,0,0); // for the first O-H bond bond (0,0,0,.24,.93.0); // for the second o-H bond To render it all together the above commands are included within a union statement. More details in makewater.scad. Once I had this program I began looking for coordinates of interesting molecules to print. I found a collection of fullerenes at http://www.ccl.net/cca/data/fullerenes/index.shtml Better known as "Buckyballs" you can read about the fullerenes on Wikipedia. The buckyball most discussed contains 60 carbon atoms but the coordinate collection has a range of sizes, from 20 to 540 atms.
    0 references
    https://spdx.org/licenses/CC-BY-4.0
    0 references
    1.0.0
    0 references
    pmoews
    0 references
    thingiverse.com
    0 references
    en
    0 references