Grasshopper

algorithmic modeling for Rhino

If I post a question to a problem in using visual studio C++ for Rhino here, would somebody be able to help me out? ...

Views: 1565

Replies to This Discussion

I don't want to access grasshopper functionality in c++.

I want to access rhino functionality in c++.

From here: https://wiki.mcneel.com/developer/sdksamples/faq you can read:

What development tools do I need to create plug-ins using the Rhino C++ SDK?

  • To create plug-ins for Rhino 5 64-bit, you will need Microsoft Visual C++ 2010.

Is anybody here familiar with this? ... I have a project plugin for rhino written in Microsoft Visual C++ 2010 and I need some help ...

I have five advanced tasks, that need to be done very soon, because it is a compulsory exercise from univeristy. I uploaded the tasks, that need to get done. I also have a code with some missing pieces, which I can post here ... Is anybody fit in this and is willing to help a bit? ...

Attachments:

Don't get me wrong here. This is not an ignorant question which implies that people here aren't able to help. This is a question directed to people, who are familiar with the c++ enviroment in visual studio 2010 for creating rhino plugins.

Ok, here is my first problem:

I have uploaded a header file TGFRhinoPlugin_BBox.h and a c++ file TGFRhinoPlugin_BBox.cxx which somehow define some sort of a box.

In the file TGFRhinoPlugin_BBox.cxx I am supposed to do the following job:

// ********* YOUR JOB ***

    // a ON_BrepBox shall be created and visualized in Rhino.
    // the box is defined by 8 corner points as you see in the lines above.
    // how to do that is shown also here: http://wiki.mcneel.com/developer/sdksamples/addbrepbox
    // Be aware that our corner points are given as pointers!

    // ********* YOUR JOB ***

If I copy and paste the code here: http://wiki.mcneel.com/developer/sdksamples/addbrepbox it gives me some errors ... I need some help on this ... Does this seem familiar to you? ...

Attachments:

And here is the header file "TGFRhinoPluginGlobal.h", which is also included in the header file TGFRhinoPlugin_BBox.h from the previous post.

Attachments:

Here I have uploaded the text given for working on the first task (to visualize the bbox with the corner points) and you can also see the described cmdCiEBBox.cpp file

Attachments:

In the C++ file cmdCiEBBox.cpp you can find a header file "TGFRhinoPlugin_ALLBBox.h", which I have uploaded here together with its C++ file "TGFRhinoPlugin_ALLBBox.cxx":

Attachments:

I have been reading through this:

http://developer.rhino3d.com/guides/#cpp

to find an appropriate way to solve the problem... Nothing yet!

There is also a good place here to ask question on Rhino

http://discourse.mcneel.com

Category Rhino Developper or other I don't know

Ok, thanks ... I used to ask questions on using grasshopper here in the past and I like this forum! I would be happy, if someone around here, who maybe knows my previous posts, is also good in dealing with visual studio c++ ...

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service