Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
opLoft Tangent Constraints
ry_gb
Member, csevp, pcbaevp Posts: 43 PRO
I'm pretty new to FeatureScript, so I don't quite have all of the syntax down yet. I'm trying to play around with opLoft and am having issues setting both ends to match Tangent. Can one of you more knowledgeable folks tell me what I'm doing wrong?
The start tangent works just fine, but the end tangent fails entirely regardless of whether or not the start tangent is turned on.
Here's the link to the document:
Best Answer
-
GregBrown
Member, Onshape Employees, csevp, pcbaevp Posts: 357
On line 61 you need to have:
"profileIndex" : 2,0
Answers
Are you able to create the surface with the standard Onshape loft feature? If you can show an example of that working and your feature failing, this might be easier to solve.
Simon Gatrall | Product Development Specialist | Open For Work
On line 61 you need to have:
"profileIndex" : 2,Yeah, I can recreate it with the Onshape loft feature. I just modified the file to include a working version with the regular loft. The purple one is the intended result.
Thanks @GregBrown! That fixes it. I think I understand why now. Looks like I made a typo in the code and had it as "profileIndex": 0, but I also set it to 1 at some point as well. So as I understand it, it's because there are 3 profile curves, right?