@piks09 wrote:
Hey everyone! I’m been trying to figure out how to do this using grasshopper for a 3D spherical object but unable to make it work. Does anyone know how to do this?
Posts: 5
Participants: 4
@piks09 wrote:
Hey everyone! I’m been trying to figure out how to do this using grasshopper for a 3D spherical object but unable to make it work. Does anyone know how to do this?
Posts: 5
Participants: 4
@lars.wettestad wrote:
Hi,
I am very new to Grasshopper and struggling with this issue: How do I connect two or more sliders (md or otherwise) to the uv point on evaluate surface.
I have been searching a lot on the nett as well, but I do not master the right terminology it seems.
Any help appreciated.
Best
Lars
Posts: 5
Participants: 3
@catcharunjames wrote:
I have tried to make pattern with curve attractor, but I am facing some issues on the surface edge area, Getting some bits of the surface . How to get rid of this issue, please find the image for more clarification of the same.
1.stp (6.1 KB)
Question_2.gh (26.8 KB)
Posts: 1
Participants: 1
@izumi_aiko wrote:
So Basically I am trying Parametric Design with Rhino. Problem is after experimenting it and baking it, I am unable to get Thickness from it.
I tried using ExtrudeSrf command on Rhino to create the thickness but there is crazy amount of “vectors” from it and it just doesnt extrude (after waiting like 10mins). And I also realise this method will not make it into a solid. It will just be a Hollow thickness if you know what I mean?So how do I add thickness to it? In BOTH Rhino and Grasshopper. Thank u guys in advance
Posts: 4
Participants: 4
@sobon_konrad wrote:
Is there a way to filter a list of document objects by whether they are on/off? So
doc.Objects()
returns a list ofIGH_DocumentObject
and since this is an interface, we don’t have access toHidden
property. I would hate to try and cast all of these interfaces into concrete types. Any easier way that I can get at theHidden
property?Ps. I know I can use Reflection like so:
(bool) x.GetType().GetProperty("Hidden")?.GetValue(x, null)
but it somehow feels dirty.Cheers!
-K
Posts: 3
Participants: 2
@bodinnar wrote:
I have been trying to colour a simple mesh from multiple points and I feel I I’ve just been going in circles.
I take the vertices from A and find the closest point B. I want to colour these points with the colours C and interpolate the rest to give a nice contoured mesh as the end product.Any help would be greatly appreciated.
Cheers
MESH COLOUR.gh (19.2 KB)
Posts: 1
Participants: 1
@cshea wrote:
Hi
I shattered some curves - most of the curves shattered into 4 segments but some into 5 segments.
How can I find number of items per branch so that I can select the branches with 5 segment curves? I want to join a couple of them to end up with 4 curve segments too.
Many thanks.
Posts: 4
Participants: 3
@matthewaustin233 wrote:
Hey guys,
Trying to get a component to update it’s nickname when an option is selected - as with the example below. I’m wondering what do I need to code to update the checkbox in the menu?
I’m assuming i’m missing something - cause i felt like it was working in an earlier iteration of the code.
using System; using Grasshopper.Kernel; namespace my_gha { public class my_component : GH_Component { public my_component() : base("MY Component", "mc", "Stuff", "User", "Forum Question") { } public override Guid ComponentGuid { get { return new Guid("12ac74ea-cf57-4796-a702-38aa7e6e9048"); } } protected override void RegisterInputParams(GH_InputParamManager parameter_manager) { } protected override void RegisterOutputParams(GH_OutputParamManager parameter_manager) { } protected override void AppendAdditionalComponentMenuItems(System.Windows.Forms.ToolStripDropDown menu) { System.Windows.Forms.ToolStripMenuItem menu_item_a = GH_DocumentObject.Menu_AppendItem(menu, "A", menu_a_clicked); menu_item_a.ToolTipText = "Info about A."; System.Windows.Forms.ToolStripMenuItem menu_item_b = GH_DocumentObject.Menu_AppendItem(menu, "B", menu_b_clicked); menu_item_b.ToolTipText = "Info about B."; System.Windows.Forms.ToolStripMenuItem menu_item_c = GH_DocumentObject.Menu_AppendItem(menu, "C", menu_c_clicked); menu_item_c.ToolTipText = "Info about C."; } private void menu_a_clicked(object sender, EventArgs e) { RecordUndoEvent("A"); this.NickName = "A"; ExpireSolution(true); } private void menu_b_clicked(object sender, EventArgs e) { RecordUndoEvent("B"); this.NickName = "B"; ExpireSolution(true); } private void menu_c_clicked(object sender, EventArgs e) { RecordUndoEvent("C"); this.NickName = "C"; ExpireSolution(true); } protected override void SolveInstance(IGH_DataAccess data_access) { } } }
Posts: 2
Participants: 2
@hazmat wrote:
Hello,
I am struggling to model a surface that has a form like this:
Any tips would be great!
Thanks very much
Posts: 2
Participants: 2
@zohaibneduet wrote:
Hi all,
I am trying to change the color of the slider in Human UI from Blue to Grey, but I found that by using “Adjust Element Appearance” the text color and background color can be changed.But, I want to change the color of the slider’s bar from Blue to Grey, Any ideas?
Thank you!
SliderColorChange.gh (28.9 KB)
Posts: 4
Participants: 2
@chris.prinsen2 wrote:
This question relates to rhino because I would like to accomplish this task within the application. Although I’m assuming your suggestions will lead me elsewhere…I figured this is a great place to start.
I want to import a model of a gothic church into rhino. And then import a kitbash of let’s say for example projector parts…Then I want to write a code to recognize shapes within the gothic church model (triangles, squares, circles).
Then I want to write a code to replace those shapes with items from the kit ash. I prefer the items that are selected for the corresponding shape to hopefully resemble those shapes in form…How the items are selected doesn’t matter to me at this point in time, I’ll leave that to you.
I’m led here because of the crow component, and I’m guessing neural networking / AI capabilities are needed for the recognition and output.
Sorry for the novel. If it’s confusing please allow me to elaborate.
Thank you In advance!
Here are images that have inspired me to this idea…
Images: Mark gage foster and Matias del campo
Posts: 4
Participants: 4
@zfq947254420 wrote:
How does grasshopper make such a wave of waves, just like this picture?
Posts: 5
Participants: 5
@zfq947254420 wrote:
How does the grasshopper array copy out different objects and put out a shape, just like a picture, I think it can’t be solved for a long time.
Posts: 3
Participants: 3
@gjtjdrms15 wrote:
Im trying to select curves based on their z values, but after sort is done, it doesn’t allow me to select curves on same z values. It is keep selecting one curve from each z value.
Please help me!
Posts: 2
Participants: 2
@maje90 wrote:
Replace_items_bug.gh (8.0 KB)Hi all!
The “trick” of using -1 index to point at last item of a list… it doesn’t work with Replace items component.
Is this a bug?
Am I doing something wrong?
Posts: 1
Participants: 1
@javier.vinuales.nava wrote:
Hi everyone,
I am trying to solve an equation iteratively in Grasshopper.
The process would be the following:
- having an initial guess (first iteration) or input value
- calculating output value
- if output is equal to the input by a defined tolerance end process, if not repeat process with output value till convergence is achieved
How would you approach this? I tried to define a C# script but cannot think if anything without recursion…
I also heard of Hoopsnake, would it work for this? (if there is a solution within Grasshopper native components or easy scripting would be better)
Thanks,
Javier
Posts: 5
Participants: 2
@lars.renklint wrote:
Trying to send a dxf-file from ShapeDiver.
Have succesfully done that before.
Now all I get is “Processing, please wait”.Any advice on how to search for the error?
The grasshopper definition is supersimple, just an internalized brep and a couple of curves
Even if I wait several minutes nothing seems to happen in ShapeDiver:
Posts: 2
Participants: 2
@wu841224 wrote:
Excuse me. I use timer componet to make a loop. I want to know how could I reset timer component to make sure every time interval is what I set.
Posts: 1
Participants: 1
@seghierkhaled wrote:
Hello, i use GhPython to change Perspective Wallpaper but always have an error
I use the same code from help
Posts: 1
Participants: 1
@Nathan_Dube wrote:
signet-V3.gh (45.6 KB)Hello All,
I’m relatively new to Grasshopper. As away of getting up to speed I’ve been going through some of the exersices I use in a Rhino class I teach. Most of it is making sense and coming together, however, I’m struggling with creating a Network Surface from a series of curves for this signet ring. I’ve attempted a couple of versions and things have got closer and cleaner but I’m still getting a null return from the Network Surface command and not sure why. Is Network Surface the best command to use or should I be using something else? Any help or suggestions would be great and helpful.Thanks in advance.
I’ve attached my code as well as the desired result.
Posts: 4
Participants: 2