algorithmic modeling for Rhino
I'm creating a custom control which uses RhinoCommon.dll as a reference (I need those transformation matrices...).
When I put this control in a form (another vs project), it can't run cause it can't find the control's RhinoCommon.dll reference.
The project with a form also points to RhinoCommon.dll, but that doesn't help obviously.
Is that even possible what I want to achieve ?
Do I think properly that this might help ? (If so, I would actually prefer to do some dirty workaround which takes less time to code...)
Tags:
If you need to use rhino functions outside rhino, you'll need to reference the RhinoCommon standalone version - and not the one included with rhino. The rhinocommon standalone (also called the Rhino3dmIO Toolkit). The rhinocommon.dll included with Rhino actually needs rhino to run - and includes a lot more functionality. (A lot of the good parts of creating and modifying geometry are not included in the Rhino3dmIO toolkit, but transformations are).
I's a good idea to explain what you're trying a achieve - it's a little bit vague at this point.
Thanks, that explains the problem.
I'm creating a custom 3d viewport control (just parallel projection), which has to handle all the events like camera rotations, panning etc... I do it in a rather dirty way, without frustum etc. but all I really need to display are polylines and points.
I already managed to write my own transformation matrix class which handles all the affine transformations, so I don't need(?) rhinocommon anymore.
It's intesting to have a look at this method:
RhinoDoc.ActiveDoc.Views.ActiveView.ActiveViewport.GetTransform(CoordinateSystem.World,
CoordinateSystem.Screen);
It's about transforming geomtry from world space to screen space.
Also: the easiest way by far to use the rhino3dmio toolkit is to install it through the nuget package manager in visual studio (no need to compile it yourself).
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by