I am a beginner with Python for Rhino and I would need your help with the following script.
I am trying to generate “Tooth” in-between two surfaces that I would later extrude, it would look like this in the end:
model 30.12.3dm (9.9 MB)
30.12 teeth program 2.py (6.4 KB)
In the Python script, I created two classes, one for the plates and one for the tooth in-between. I am now trying to figure out how to generate the tooth. I first intersected two surfaces/planes, to get the line in-between. Then I divided the line into multiple ones and in the function “Projectlines” I try to move those curves following a vector. But there are no concrete results and I can’t figure out where the problem is.
Also another issue: I have to select the curve in-between the two surfaces (in the function: ExtendCurveLenght) and I would like somehow to just use the curve I get from the previous operation, without having to select it. Didn’t manage either!
I would be very thankful if anyone could give me some cues and maybe solutions
Happy holidays season and happy new Year!