Comments (1)
@hassanteymoori this is just an attempt to help you a little bit with this issue.
You can always check the code in my custom 3DM Exporter for a reference.
If your obj
is just a mesh that doesn't have any children then your if (obj.children)
will always be skipped.
You should instead try to traverse the obj
and create a rhino mesh out of any mesh you encounter and then add it to the rhino document (or file).
Take your time and inspect the function parse_objects()
in my custom exporter.
from rhino-developer-samples.
Related Issues (16)
- LoadPlugIn cannot be called while a plug-in is being loaded HOT 4
- C++ export and import data HOT 2
- SampleViewportRenderer doesn't work in Rhino 6 HOT 7
- Unable to load RhinoLibrary dll while running HelloWorld sample HOT 3
- C++ Rhino.Inside Sample
- rhino.inside/dotnet/SampleRunGrasshopper is still working? HOT 2
- ResetBlock.rvb throws 'undefined variable' error HOT 1
- why not must setPath librayPath? HOT 1
- lines.py demo Reading Branch error HOT 1
- FileObjWriteOptions property setting seems not working HOT 3
- How to add command for SampleMeshExport HOT 2
- rhino.inside/dotnet/SampleUnitTests does not work HOT 3
- RhinoApp.RunScript() return false with Rhino.Inside .Net HOT 1
- Unable to use delete and enter keys
- error, 3dm file was created by Rhino 8. This model cannot be read by Rhino 7. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rhino-developer-samples.