# Anyone have python equivalent code to the opennurbs example\_read example code

**URL:** <https://discourse.mcneel.com/t/anyone-have-python-equivalent-code-to-the-opennurbs-example-read-example-code/96452>\
**Category:** rhino3dm\
**Created:** [February 13, 2020, 8:56pm UTC](https://discourse.mcneel.com/t/anyone-have-python-equivalent-code-to-the-opennurbs-example-read-example-code/96452 "2020-02-13T20:56:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shadybob56](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/shadybob56/32/199851_2.png) [@shadybob56](https://discourse.mcneel.com/u/shadybob56)\
**Post date:** [February 13, 2020, 8:56pm UTC](https://discourse.mcneel.com/t/anyone-have-python-equivalent-code-to-the-opennurbs-example-read-example-code/96452/1 "2020-02-13T20:56:15Z")

</div>

I’m not a well versed C++ developer at this time, I have compiled opennurbs and the examples successfully. Then I found rhino3dm python, and thought I would give that a try. But what I would really like to see is a translation of the opennurbs example programs into rhino3dm python code. Is this something that might happen eventually? Most of the other examples I have found for rhino3dm are kind of geared to other software packages that I am also not familiar with. The opennurbs examples are pretty much standalone and self contained.

---

<div class="post-metadata">

**Author:** ![will](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/will/32/479454_2.png) [@will](https://discourse.mcneel.com/u/will)\
**Post date:** [May 20, 2020, 1:28pm UTC](https://discourse.mcneel.com/t/anyone-have-python-equivalent-code-to-the-opennurbs-example-read-example-code/96452/2 "2020-05-20T13:28:37Z")

</div>

Hey, sorry for the late response. Did you find these samples?

> **[mcneel/rhino3dm](https://github.com/mcneel/rhino3dm/tree/master/docs/python/samples)**
>
> Libraries based on OpenNURBS with a RhinoCommon style - mcneel/rhino3dm

These samples are pretty basic. In particular, I recommend looking at these two…

- getmeshes.py – reading a .3dm file and inspecting the contents
- spherelines.py – generating geometry and writing it to a .3dm file
