"Hi Declan,When using Rhino.Python you are targeting either the Rhino document OR the Grasshopper document. The errors you are experiencing are caused by using Rhinoscriptsyntax functions which target the Rhino document inside a Grasshopper…"
I am very new at this, so please be gentle... ;)I have created a GH definition which is basically just a series of extrusions and boolDiffs. What I'd like to do is create a button on my toolbar that prompts me to "Select First Curve," "Select Second Curve," etc. I have created the following Python script inside the Python GH component:*****import rhinoscriptsyntax as rs# Boolean Genieleft = rs.GetCurveObject("Select Left Hole")right = rs.GetCurveObject("Select Right Hole")outside =…See More
Hi all,I am trying to use GH to visualize what will happen as a rotating cutter passes through a block of material. Attached is a simple example showing what I mean. I have seen examples of taking the rotated cutter and arraying along the path, then BoolDiff, but that leaves a very choppy result.I have seen a version where the profile was lofted, which was promising, but I need to be able to move the path curve up/down in Z without altering the vertical orientation of the cutter axis.Anyone?See More
Sorry for the long delay. This definition looks great! Thank you so much! Now I only have one more little wish... ;)
I would like to be able to move the control points of the path crv up/down in Z. Currently,…"
"Ok, it looks like this is more complicated than I thought. If I use your definition, it works great, but a) it's pretty slow if I get up around 100 divisions/booleans. and b) it was failing when I had too many divisions.
I tried a…"
"1. retype 0 to 2*pi in the angle domain, or/and give a better axis.
2. No idea, but you can simulate the cut by creating a lot of copies of your router and use them to cut the shape. Notice boolean operations hate when you provide breps with planar…"
Hi all,I somehow lost a previously-functional GH definition, and now I can't remember how I made it... I need to be able to visualize how different router bit profiles look after traveling through solid material. My main questions:1: When I use RevSrf, I don't get a shaded preview for the router bit - am I doing it wrong?2: How do I tell GH to essentially do a Sweep1 using a solid Brep as the profile instead of a crv?Attached is my clumsy start. Any help is appreciated!Best,dhSee More
Hi all,I am using GH to create templates for making eyeglasses. The process uses a pantograph approach for many (30+) steps. Each stage requires us to make a template with pre-defined mounting holes. What I'd like to do is setup a GH definition for each step, so all I have to do is:1 - import the flat line art of the design.2 - "Set" the left/right eyeholes3 - "Set" the outside profileThen, GH would export (or sendToLayer) the appropriate curve & mounting hole combinations for each…See More
Hey!been here for almost two years,its great!still havent been t Kentuncky bt I'm sure its ok too...I started with Rhinoscript and Grasshopper last year and use it everyday now!Give me a shout if you need any help with it-enjoy your weekend!