Johannes Kuhnen
  • Male
  • Chemnitz
  • Germany
Share on Facebook
Share Twitter
  • Blog Posts
  • Discussions (28)
  • Events
  • Groups
  • Photos
  • Photo Albums
  • Videos

Johannes Kuhnen's Friends

  • Ioannis Zonitsas

Johannes Kuhnen's Discussions

ObjectAttributes: not all attribute changes show an effect
3 Replies

Hi, the ObjectAttribute does not work correct.I tried to change the object Name, ObjectColor, PlotWeight, LayerIndex,... but only the Name and LayerIndex changed. PlotWeight and ObjectColor have no…Continue

Tags: print, no, attributes, object

Started this discussion. Last reply by Dale Fugier Apr 29.

Close / unload / update plugin at runtime ??
1 Reply

Hello, is there an options to close or unload a loaded plugin from another plugin?The idea is to have an updater plugin which updates our own plugins by sync of the plugin folders (Client) and…Continue

Tags: update, sync, unload, load, plugin

Started this discussion. Last reply by Dale Fugier Apr 12.

Select object grips without showing them??
1 Reply

Hi, is there an optiion to select the grips/edit Point of several objects without making them visible? I want to select all grips that are in a rectangle selection and modify them.Right now i can…Continue

Started this discussion. Last reply by Dale Fugier Apr 9.

ProjectToPlane(Curve, Plane) seems to project in the wrong direction ??
3 Replies

Hi, the method to project a curve to a plane seems to project the curve to a plane with a negated Origin.Z - Value.Here is the code and an image of the result (the circle center should be at…Continue

Started this discussion. Last reply by Dale Fugier Mar 26.

 

Johannes Kuhnen's Page

Latest Activity

Dale Fugier replied to Johannes Kuhnen's discussion ObjectAttributes: not all attribute changes show an effect
"In addition to Tom's comment, it is often best to start with Rhino current default object attributes and modify the parameters you want. You can get Rhino's current default object attributes as follows: // Attributes to use for new…"
Apr 29
Johannes Kuhnen replied to Johannes Kuhnen's discussion ObjectAttributes: not all attribute changes show an effect
"Thanks, Tom! That works fine. Definitely my fault.... The attributes work fine ;) Johannes"
Apr 29
Tom Makin replied to Johannes Kuhnen's discussion ObjectAttributes: not all attribute changes show an effect
"Try setting the obAtt.ColorSource property to ColorFromObject and see what happens. Tom"
Apr 29
Johannes Kuhnen posted a discussion

ObjectAttributes: not all attribute changes show an effect

Hi, the ObjectAttribute does not work correct.I tried to change the object Name, ObjectColor, PlotWeight, LayerIndex,... but only the Name and LayerIndex changed. PlotWeight and ObjectColor have no effect. Rhino.DocObjects.ObjectAttributes obAtt = new Rhino.DocObjects.ObjectAttributes();obAtt.LayerIndex = layerBem;obAtt.Name = "TEST"; obAtt.ObjectColor = System.Drawing.Color.Blue;obAtt.PlotWeight = -1.0;Guid idDot = doc.Objects.AddTextDot(cenTextDot, obAtt);I tried with a textDot and a Brep.any…See More
Apr 29
Dale Fugier replied to Johannes Kuhnen's discussion Close / unload / update plugin at runtime ??
"Hi Johannes, Rhino plug-ins are not unloadable. This is by design. Rhino plug-ins can allocate memory that is used by Rhino. If these plug-ins were to unloaded, Rhino would crash. You might consider launching an external process, that checks for…"
Apr 12
Johannes Kuhnen posted a discussion

Close / unload / update plugin at runtime ??

Hello, is there an options to close or unload a loaded plugin from another plugin?The idea is to have an updater plugin which updates our own plugins by sync of the plugin folders (Client) and another folder on our Server (Server). To be able to overwrite the plugins with a newer version the plugins needs to be unloaded / closed. steps:1. call the updater plugin2. check the folders for updates3. Close effected plugins4. Update the plugins / Sync folders5. Load updated plugin or message "restart…See More
Apr 12
Dale Fugier replied to Johannes Kuhnen's discussion Select object grips without showing them??
"Hi Johannes, Grips are just regular Rhino objects. So as soon as you turn them on and redraw the screen, they are going to be visible.  Is there a reason you do not want to make them visible, other than aesthetics? "
Apr 9
Johannes Kuhnen posted a discussion

Select object grips without showing them??

Hi, is there an optiion to select the grips/edit Point of several objects without making them visible? I want to select all grips that are in a rectangle selection and modify them.Right now i can select all involved objects, make the grips visible, select the grips i want to modify and turn visible off... JohannesSee More
Apr 9
Alain Cormier replied to Johannes Kuhnen's discussion Disabled keyboard when opening grasshopper
"Same problem here.  Rhino 5 64-bit, Windows 8."
Apr 5
Dale Fugier replied to Johannes Kuhnen's discussion ProjectToPlane(Curve, Plane) seems to project in the wrong direction ??
"Hi Johannes, A Vector3d object is a struct, not a class. Thus, when you do this: Plane.ZAxis.Reverse(), you are actually reversing a copy of ZAxis. Better to do something like this: Vector3d ZAxis = plane.ZAxis; ZAxis.Reverse(); plane.ZAxis =…"
Mar 26
Johannes Kuhnen replied to Johannes Kuhnen's discussion ProjectToPlane(Curve, Plane) seems to project in the wrong direction ??
"Hi Dale, thanks for that. The transform method works fine.   Next one: What should the VECTOR3d.REVERSE method do? Seems to have no effect on the vector...   Code: Plane plane =…"
Mar 26
Dale Fugier replied to Johannes Kuhnen's discussion ProjectToPlane(Curve, Plane) seems to project in the wrong direction ??
"Hi Johannes, The Curve.ProjectToPlane method does not do what is advertised. I will see if I can fix this method for a future service release.  In the mean time, you can always project a curve onto a plane using the attached code. Let me…"
Mar 25
Johannes Kuhnen posted a discussion

ProjectToPlane(Curve, Plane) seems to project in the wrong direction ??

Hi, the method to project a curve to a plane seems to project the curve to a plane with a negated Origin.Z - Value.Here is the code and an image of the result (the circle center should be at 0,0,50): const Rhino.DocObjects.ObjectType filter = Rhino.DocObjects.ObjectType.Curve;            Rhino.DocObjects.ObjRef objref;            Rhino.Commands.Result rc = Rhino.Input.RhinoGet.GetOneObject("Select curve", false, filter, out objref);if (rc != Rhino.Commands.Result.Success || objref == null)…See More
Mar 25
Johannes Kuhnen posted a discussion

Open supported files with Rhino5 - Open With... ??

Hi, we are missing Rhino as a default programm to open *.pdf, *.dwg, *.dxf,....After install Rhino5 and uninstall Rhino4 there is no option to open supported file types with the context menu "open with...". Just missing in Rhino5 in that list. I still can see Rhino4.exe in the registry but not Rhino5. I want to know the background of that issue before i ask the admin to update 15 machines manually and add Rhino5.exe to the registry! Any ideas why and how to change easily?Johannes registry of a…See More
Mar 22
Jacek Godlewski replied to Johannes Kuhnen's discussion Load layer preset from file - *.lay??
"Hello,  for different tasks I have prepared EMPTY (no objects) 3dm files with layers defined inside. When needed, I just import such a file into my working model and a set of layers is added."
Mar 13
Johannes Kuhnen replied to Johannes Kuhnen's discussion Load layer preset from file - *.lay??
"Hi Pascal, the LayerStateManager is doing his job. I was looking for the options to import not only the properties for existing layers. How many companies have a defined layer systems with sub layers, colors, print details,... ? In best case…"
Mar 13

Profile Information

Company, School, or Organization
ROSSKOPF & PARTNER AG
URL - web site, blog, facebook page, or ...
http://www.rosskopf-partner.de
I am a
Commercial User
Which operating system do you prefer?
Windows
Discipline/Occupation
Architectural Design, CAM/Manufacturing, Mold Design

Comment Wall

You need to be a member of Rhino Community to add comments!

Join Rhino Community

  • No comments yet!
 
 
 

Translate

© 2013   Created by McNeel Admin.

Badges  |  Report an Issue  |  Terms of Service