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.
How can I create a Sine Function using the Parametric Curve Feature Script?
elizabeth_giovanardi
Member Posts: 21 EDU
I am a CAD teacher using Onshape and doing a cross-curricular project with a math class. We are hoping to use your Parametric Curve feature script to create lines following equations in a sketch. We got your feature script to work for just y = x^2, but we want to do a sine function as well and cannot get that to work. I assume it is simply a problem in the specific writing/text set-up of the function. I shared the Onshape doc where we are working on this. I appreciate any help you can provide.
Many thanks,
Betsy Giovanardi
https://cad.onshape.com/documents/c459443aa4672ed472c51f09/w/23cbb31990b5dd90bb82156a/e/c292d368e2c95295a7c3b243?renderMode=0&uiState=628bab3d8fe81703a2596633
Many thanks,
Betsy Giovanardi
https://cad.onshape.com/documents/c459443aa4672ed472c51f09/w/23cbb31990b5dd90bb82156a/e/c292d368e2c95295a7c3b243?renderMode=0&uiState=628bab3d8fe81703a2596633
Tagged:
0
Answers
For examples, you can look at the Parametric Curve source document (right-click the feature > Open linked document).